videoplayback/hbvideoplaybackview/tsrc/testmpxvideoplaybackcontrolbar/stub/inc/mpxvideoplaybackdocumentloader.h
branchGCC_SURGE
changeset 48 ebbeb6bcda56
parent 27 7bf7319dbddd
parent 47 45e72b57a2fd
equal deleted inserted replaced
27:7bf7319dbddd 48:ebbeb6bcda56
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Implementation of QMPXVideoPlaybackDocumentLoader
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version:   1 %
       
    19 
       
    20 
       
    21 
       
    22 #ifndef MPXVIDEOPLAYBACKDOCUMENTHANDLER_H_
       
    23 #define MPXVIDEOPLAYBACKDOCUMENTHANDLER_H_
       
    24 
       
    25 
       
    26 #include <qobject>
       
    27 
       
    28 class QList;
       
    29 class QGraphicsWidget;
       
    30 class QMPXVideoPlaybackControlsController;
       
    31 
       
    32 class QMPXVideoPlaybackDocumentLoader : public QObject
       
    33 {
       
    34     public:
       
    35         QMPXVideoPlaybackDocumentLoader( QMPXVideoPlaybackControlsController *controller );
       
    36 
       
    37         virtual ~QMPXVideoPlaybackDocumentLoader();
       
    38 
       
    39     public:
       
    40         QGraphicsWidget* findWidget( const QString &name );
       
    41 
       
    42     private:
       
    43         QGraphicsWidget* createWidget( const QString &name );
       
    44         int exist( const QString &name );
       
    45 
       
    46     private:
       
    47         QList<QGraphicsWidget*>                 mWidgets;
       
    48         QMPXVideoPlaybackControlsController *mController;
       
    49 };
       
    50 
       
    51 #endif /*MPXVIDEOPLAYBACKDOCUMENTHANDLER_H_*/
       
    52