equal
deleted
inserted
replaced
20 #define HBVIEW_H |
20 #define HBVIEW_H |
21 |
21 |
22 #include <QGraphicsWidget> |
22 #include <QGraphicsWidget> |
23 #include "hbinstance.h" |
23 #include "hbinstance.h" |
24 #include "hbtoolbar.h" |
24 #include "hbtoolbar.h" |
|
25 #include "hbeffect.h" |
25 |
26 |
26 class HbView : public QGraphicsWidget |
27 class HbView : public QGraphicsWidget |
27 { |
28 { |
28 Q_OBJECT |
29 Q_OBJECT |
29 |
30 |
30 |
31 |
31 public: |
32 public: |
32 |
33 |
33 HbView(QGraphicsItem *parent = 0) : QGraphicsWidget(parent), mToolBar(0) |
34 HbView(QGraphicsItem *parent = 0) : QGraphicsWidget(parent), mToolBar(0), mNavigationAction(0) |
34 { |
35 { |
35 Q_UNUSED(parent); |
36 Q_UNUSED(parent); |
36 } |
37 } |
37 |
38 |
38 virtual ~HbView(){} |
39 virtual ~HbView(){} |
61 Q_UNUSED(visible); |
62 Q_UNUSED(visible); |
62 } |
63 } |
63 |
64 |
64 void setNavigationAction(HbAction *action) |
65 void setNavigationAction(HbAction *action) |
65 { |
66 { |
66 Q_UNUSED(action); |
67 mNavigationAction = action; |
67 } |
68 } |
|
69 |
|
70 |
|
71 HbAction *mNavigationAction; |
68 |
72 |
69 mutable HbToolBar* mToolBar; |
73 mutable HbToolBar* mToolBar; |
70 }; |
74 }; |
71 |
75 |
72 #endif // HBVIEW_H |
76 #endif // HBVIEW_H |