homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hsallappsstate.h
changeset 51 4785f57bf3d4
parent 46 23b5d6a29cce
child 61 2b1b11a301d2
--- 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<HbMenu> mContextMenu;
+    HsMainWindow &mMainWindow;
+    QModelIndex mContextModelIndex;
+    QPointer<HbMenu> mContextMenu;
 };
 
 #endif // HSALLAPPSSTATE_H