videocollection/tsrc/stubs/src/hbstackedwidget.h
changeset 35 3738fe97f027
parent 34 bbb98528c666
equal deleted inserted replaced
34:bbb98528c666 35:3738fe97f027
    16 */
    16 */
    17 
    17 
    18 #ifndef HBSTACKEDWIDGET
    18 #ifndef HBSTACKEDWIDGET
    19 #define HBSTACKEDWIDGET
    19 #define HBSTACKEDWIDGET
    20 
    20 
       
    21 #include <qpointer.h>
    21 #include <QGraphicsWidget>
    22 #include <QGraphicsWidget>
    22 #include "hbwidget.h"
    23 #include "hbwidget.h"
    23 
    24 
    24 class HbStackedWidget : public HbWidget
    25 class HbStackedWidget : public HbWidget
    25 {
    26 {
    53     /**
    54     /**
    54      * counter to make sure alloc dealloc match
    55      * counter to make sure alloc dealloc match
    55      */
    56      */
    56     static int initializeCount;
    57     static int initializeCount;
    57     
    58     
    58     QObject *mCurrentWidget;
    59     QPointer<QObject> mCurrentWidget;
    59 
       
    60 };
    60 };
    61 
    61 
    62 #endif
    62 #endif