diff -r 2e2dc3d30ca8 -r 341166945d65 homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hsallappsstate.h --- a/homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hsallappsstate.h Thu Jun 24 13:11:40 2010 +0100 +++ b/homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hsallappsstate.h Fri Jun 25 19:19:22 2010 +0300 @@ -22,10 +22,8 @@ #include #include -#include "hsmenustates_global.h" +#include "hsbaseviewstate.h" #include "hsmenumodewrapper.h" -#include "hsmenuservice.h" -#include "hsmenuview.h" HS_STATES_TEST_CLASS(MenuStatesTest) @@ -40,7 +38,7 @@ class HsMenuModeWrapper; class HsMainWindow; -class HsAllAppsState: public QState +class HsAllAppsState: public HsBaseViewState { Q_OBJECT HS_STATES_TEST_FRIEND_CLASS(MenuStatesTest) @@ -50,6 +48,7 @@ HsMainWindow &mainWindow, QState *parent = 0); ~HsAllAppsState(); + signals: void toAppLibraryState(); @@ -58,7 +57,7 @@ void collectionsSortOrder(HsSortAttribute sortAttribute); private slots: bool openTaskSwitcher(); - bool checkSoftwareUpdates(); + int checkSoftwareUpdates(); void listItemActivated(const QModelIndex &index); void addActivated(const QModelIndex &index); void listItemLongPressed(HbAbstractViewItem *item, const QPointF &coords); @@ -86,6 +85,7 @@ HsMainWindow &mMainWindow; QModelIndex mContextModelIndex; QPointer mContextMenu; + }; #endif // HSALLAPPSSTATE_H