homescreenapp/stateplugins/hsmenuworkerstateplugin/inc/hsappschecklist.h
changeset 69 87476091b3f5
parent 46 23b5d6a29cce
child 81 7dd137878ff8
--- a/homescreenapp/stateplugins/hsmenuworkerstateplugin/inc/hsappschecklist.h	Wed Jul 14 15:53:30 2010 +0300
+++ b/homescreenapp/stateplugins/hsmenuworkerstateplugin/inc/hsappschecklist.h	Fri Jul 23 13:47:57 2010 +0300
@@ -20,13 +20,12 @@
 
 #include <QModelIndexList>
 #include <hsmenuservice.h>
-#include "hbmainwindow.h"
 
 #include "hsmenustates_global.h"
 HS_STATES_TEST_CLASS(MenuStatesTest)
 
 //forward declarations
-class HbView;
+class HbDialog;
 class HbAction;
 class HbListView;
 class QStandardItemModel;
@@ -56,32 +55,28 @@
 
 protected slots:
 
-    void selectApplicationsDone();
+    void appsSelectionDialogFinished(HbAction* finishedAction);
+
+    void selectedItemsChanged();
 
 private:
 
     void constructControls();
 
-    HbMainWindow *mainWindow() const;
-
     QList<int> getSortedItemsList(const QModelIndexList &modelIndexList);
 
 private:
 
-    HbView *mView;
+    HbDialog *mAppsSelectDialog;
 
-    HbView *mPreviousView;
+    HbAction *mActionConfirm; // delete with dialog
 
-    HbAction *mActionConfirm;
+    HbListView *mListView; // delete with dialog
 
-    HbListView *mListView;
-
-    HsMenuItemModel *mModel;
+    HsMenuItemModel *mModel; // delete with dialog
 
     HsSortAttribute mSortAttribute;
 
-    QObjectList mLoadedObjects;
-
 };
 
 #endif /* APPSCHECKLIST_H */