diff -r 23b5d6a29cce -r 4785f57bf3d4 homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hsallappsstate.h --- a/homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hsallappsstate.h Fri May 14 15:43:04 2010 +0300 +++ b/homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hsallappsstate.h Thu May 27 12:46:08 2010 +0300 @@ -38,6 +38,7 @@ class HsMenuViewBuilder; class HsMenuItemModel; class HsMenuModeWrapper; +class HsMainWindow; class HsAllAppsState: public QState { @@ -46,6 +47,7 @@ public: HsAllAppsState(HsMenuViewBuilder &menuViewBuilder, HsMenuModeWrapper &menuMode, + HsMainWindow &mainWindow, QState *parent = 0); ~HsAllAppsState(); signals: @@ -68,8 +70,8 @@ void stateEntered(); void addModeEntered(); void normalModeEntered(); - void stateExited(); - void contextMenuAction(HbAction *action); + void stateExited(); + void contextMenuAction(HbAction *action); private: void construct(); void setMenuOptions(); @@ -81,8 +83,9 @@ HsMenuView mMenuView; HsMenuModeWrapper &mMenuMode; HsMenuItemModel *mAllAppsModel; - QModelIndex mContextModelIndex; - QPointer mContextMenu; + HsMainWindow &mMainWindow; + QModelIndex mContextModelIndex; + QPointer mContextMenu; }; #endif // HSALLAPPSSTATE_H