18 #ifndef HSINSTALLEDAPPSSTATE_H |
18 #ifndef HSINSTALLEDAPPSSTATE_H |
19 #define HSINSTALLEDAPPSSTATE_H |
19 #define HSINSTALLEDAPPSSTATE_H |
20 |
20 |
21 #include <qstate.h> |
21 #include <qstate.h> |
22 #include <QModelIndex> |
22 #include <QModelIndex> |
|
23 #include <QPointer> |
23 |
24 |
24 #include "hsmenustates_global.h" |
25 #include "hsmenustates_global.h" |
25 #include "hsmenuservice.h" |
26 #include "hsmenuservice.h" |
|
27 #include "hsmenuview.h" |
26 |
28 |
27 HS_STATES_TEST_CLASS(MenuStatesTest) |
29 HS_STATES_TEST_CLASS(MenuStatesTest) |
28 |
30 |
29 class HbView; |
31 class HbView; |
30 class HbAction; |
32 class HbAction; |
31 class HbMenu; |
33 class HbMenu; |
32 class HbAbstractViewItem; |
34 class HbAbstractViewItem; |
33 class QPointF; |
35 class QPointF; |
34 class HsMenuView; |
36 class HsMenuViewBuilder; |
35 class HsMenuItemModel; |
37 class HsMenuItemModel; |
36 /** |
38 |
37 * @ingroup group_hsmenustateplugin |
|
38 * @brief All Applications State. |
|
39 * |
|
40 * Displays all installed packages present on the device. |
|
41 * |
|
42 * @see StateMachine |
|
43 * |
|
44 * @lib ?library |
|
45 * @since S60 ?S60_version |
|
46 */ |
|
47 class HsInstalledAppsState: public QState |
39 class HsInstalledAppsState: public QState |
48 { |
40 { |
49 Q_OBJECT |
41 Q_OBJECT |
50 |
42 |
51 HS_STATES_TEST_FRIEND_CLASS(MenuStatesTest) |
43 HS_STATES_TEST_FRIEND_CLASS(MenuStatesTest) |
52 |
44 |
53 public: |
45 public: |
54 |
46 |
55 HsInstalledAppsState(HsMenuView &menuView, QState *parent = 0); |
47 HsInstalledAppsState(HsMenuViewBuilder &menuViewBuilder, |
|
48 QState *parent = 0); |
56 |
49 |
57 ~HsInstalledAppsState(); |
50 ~HsInstalledAppsState(); |
58 |
51 |
59 private slots: |
52 private slots: |
60 |
53 |
94 /** |
88 /** |
95 * Secondary Softkey action. |
89 * Secondary Softkey action. |
96 * Backstepping functionality. |
90 * Backstepping functionality. |
97 * Own. |
91 * Own. |
98 */ |
92 */ |
99 HbAction *mSecondarySoftkeyAction; |
93 HbAction *const mSecondarySoftkeyAction; |
100 |
94 |
101 /** |
95 QModelIndex mContextModelIndex; |
102 * Old navigation icon. |
96 QPointer<HbMenu> mContextMenu; |
103 * Not own. |
|
104 */ |
|
105 HbAction *mOldNavigationAction; |
|
106 |
|
107 }; |
97 }; |
108 |
98 |
109 #endif // HSINSTALLEDAPPSSTATE_H |
99 #endif // HSINSTALLEDAPPSSTATE_H |