equal
deleted
inserted
replaced
19 #define HSALLAPPSSTATE_H |
19 #define HSALLAPPSSTATE_H |
20 |
20 |
21 #include <QState> |
21 #include <QState> |
22 #include "hsbaseviewstate.h" |
22 #include "hsbaseviewstate.h" |
23 #include "hsmenumodewrapper.h" |
23 #include "hsmenumodewrapper.h" |
|
24 |
24 |
25 |
25 |
26 |
26 HS_STATES_TEST_CLASS(MenuStatesTest) |
27 HS_STATES_TEST_CLASS(MenuStatesTest) |
27 |
28 |
28 class HbView; |
29 class HbView; |
53 void addToCollection(); |
54 void addToCollection(); |
54 void openInstalledView(); |
55 void openInstalledView(); |
55 void ascendingMenuAction(); |
56 void ascendingMenuAction(); |
56 void descendingMenuAction(); |
57 void descendingMenuAction(); |
57 void normalModeEntered(); |
58 void normalModeEntered(); |
|
59 void addModeEntered(); |
58 void stateExited(); |
60 void stateExited(); |
59 void contextMenuAction(HbAction *action); |
61 void contextMenuAction(HbAction *action); |
60 private: |
62 private: |
61 void construct(); |
63 void construct(); |
62 void setMenuOptions(); |
64 void setMenuOptions(); |
63 void addToHomeScreen(const QModelIndex &index); |
65 void addToHomeScreen(const QModelIndex &index); |
64 void setContextMenuOptions(HbAbstractViewItem *item, EntryFlags flags); |
66 void setContextMenuOptions(HbAbstractViewItem *item, EntryFlags flags); |
65 |
67 |
66 private: |
68 private: |
|
69 HsAddModeProxyModel *mAddModeProxyModel; |
67 HsSortAttribute mSortAttribute; |
70 HsSortAttribute mSortAttribute; |
68 }; |
71 }; |
69 |
72 |
70 #endif // HSALLAPPSSTATE_H |
73 #endif // HSALLAPPSSTATE_H |