videoplayback/hbvideoplaybackview/tsrc/testdetailsplaybackwindow/stub/src/mpxvideoplaybackdocumentloader.cpp
changeset 20 b9e04db066d4
parent 17 69946d1824c4
equal deleted inserted replaced
17:69946d1824c4 20:b9e04db066d4
    13 *
    13 *
    14 * Description:  Implementation of QMPXVideoPlaybackDocumentLoader
    14 * Description:  Implementation of QMPXVideoPlaybackDocumentLoader
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version:  2 %
    18 // Version : %version:  4 %
    19 
    19 
    20 
    20 
    21 
    21 
    22 #include "hbpushbutton.h"
    22 #include "hbpushbutton.h"
    23 
    23 
    80 {
    80 {
    81     MPX_DEBUG(_L("QMPXVideoPlaybackDocumentLoader::createWidget( %s )"), name.data() );
    81     MPX_DEBUG(_L("QMPXVideoPlaybackDocumentLoader::createWidget( %s )"), name.data() );
    82 
    82 
    83     QGraphicsWidget *object = NULL;
    83     QGraphicsWidget *object = NULL;
    84         
    84         
    85     if ( name == "detailsViewPlayButton" || name == "detailsAttachButton" ||
    85     if ( name == "detailsViewPlayButton" || 
       
    86          name == "detailsAttachButton" ||
    86          name == "detailsShareButton" )
    87          name == "detailsShareButton" )
    87     {
    88     {
    88         object = new HbPushButton();
    89         object = new HbPushButton();
    89         object->setObjectName( name );
    90         object->setObjectName( name );
    90         mWidgets.append( object );
    91         mWidgets.append( object );