equal
deleted
inserted
replaced
17 |
17 |
18 #ifndef HBSTACKEDWIDGET |
18 #ifndef HBSTACKEDWIDGET |
19 #define HBSTACKEDWIDGET |
19 #define HBSTACKEDWIDGET |
20 |
20 |
21 #include <QGraphicsWidget> |
21 #include <QGraphicsWidget> |
|
22 #include <qpointer.h> |
22 #include "hbwidget.h" |
23 #include "hbwidget.h" |
23 |
24 |
24 class HbStackedWidget : public HbWidget |
25 class HbStackedWidget : public HbWidget |
25 { |
26 { |
26 Q_OBJECT |
27 Q_OBJECT |
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 |
62 #endif |
63 #endif |