54 |
54 |
55 void commit(const QList<int> &appList); |
55 void commit(const QList<int> &appList); |
56 |
56 |
57 protected slots: |
57 protected slots: |
58 |
58 |
59 /** |
|
60 * Slot connected trrigger action of secondary soft key of check list box. |
|
61 * It is called when done button is selected. |
|
62 * |
|
63 * @since S60 ?S60_version. |
|
64 */ |
|
65 void selectApplicationsDone(); |
59 void selectApplicationsDone(); |
66 |
60 |
67 private: |
61 private: |
68 |
62 |
69 /** |
|
70 * Construct contrlos. |
|
71 */ |
|
72 void constructControls(); |
63 void constructControls(); |
73 |
64 |
74 /** |
|
75 * Returns pointer to tha main window. |
|
76 * |
|
77 * @since S60 ?S60_version. |
|
78 * @return Pointer to the main window. |
|
79 */ |
|
80 HbMainWindow *mainWindow() const; |
65 HbMainWindow *mainWindow() const; |
81 |
66 |
82 /** |
|
83 * Returns list with selected items ids. |
|
84 * |
|
85 * @param modelIndexList list with selected model indexes. |
|
86 * @return list with items ids. |
|
87 */ |
|
88 QList<int> getSortedItemsList(const QModelIndexList &modelIndexList); |
67 QList<int> getSortedItemsList(const QModelIndexList &modelIndexList); |
89 |
68 |
90 private: |
69 private: |
91 |
70 |
92 /** |
|
93 * View. Owned. |
|
94 */ |
|
95 HbView *mView; |
71 HbView *mView; |
96 |
72 |
97 /** |
|
98 * Previous view. Not owned. |
|
99 */ |
|
100 HbView *mPreviousView; |
73 HbView *mPreviousView; |
101 |
74 |
102 /** |
|
103 * Confirm action. Owned. |
|
104 */ |
|
105 HbAction *mActionConfirm; |
75 HbAction *mActionConfirm; |
106 |
76 |
107 /** |
|
108 * List view. Owned. |
|
109 */ |
|
110 HbListView *mListView; |
77 HbListView *mListView; |
111 |
78 |
112 /** |
|
113 * Standard Item Model for the List. |
|
114 * Own. |
|
115 */ |
|
116 HsMenuItemModel *mModel; |
79 HsMenuItemModel *mModel; |
117 |
80 |
118 /** |
|
119 * Sort order for applications. |
|
120 */ |
|
121 HsSortAttribute mSortAttribute; |
81 HsSortAttribute mSortAttribute; |
122 |
82 |
123 /** |
|
124 * List of objects loaded by document loader. Content owned. |
|
125 */ |
|
126 QObjectList mLoadedObjects; |
83 QObjectList mLoadedObjects; |
127 |
84 |
128 }; |
85 }; |
129 |
86 |
130 #endif /* APPSCHECKLIST_H */ |
87 #endif /* APPSCHECKLIST_H */ |