--- a/homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hsinstalledappsstate.h Fri May 14 15:43:04 2010 +0300
+++ b/homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hsinstalledappsstate.h Thu May 27 12:46:08 2010 +0300
@@ -35,6 +35,7 @@
class QPointF;
class HsMenuViewBuilder;
class HsMenuItemModel;
+class HsMainWindow;
class HsInstalledAppsState: public QState
{
@@ -45,6 +46,7 @@
public:
HsInstalledAppsState(HsMenuViewBuilder &menuViewBuilder,
+ HsMainWindow &mainWindow,
QState *parent = 0);
~HsInstalledAppsState();
@@ -64,7 +66,7 @@
void stateExited();
- void contextMenuAction(HbAction *action);
+ void contextMenuAction(HbAction *action);
private:
@@ -91,9 +93,11 @@
* Own.
*/
HbAction *const mSecondarySoftkeyAction;
+
+ HsMainWindow &mMainWindow;
- QModelIndex mContextModelIndex;
- QPointer<HbMenu> mContextMenu;
+ QModelIndex mContextModelIndex;
+ QPointer<HbMenu> mContextMenu;
};
#endif // HSINSTALLEDAPPSSTATE_H