equal
deleted
inserted
replaced
126 * @param index of item selected |
126 * @param index of item selected |
127 */ |
127 */ |
128 void singleItemSelectedSlot(const QModelIndex &index); |
128 void singleItemSelectedSlot(const QModelIndex &index); |
129 |
129 |
130 /** |
130 /** |
131 * handles model ready signal from model. |
131 * Handles model ready signal from model. |
132 * In case dialog type is ESelectCollection and there are no data |
|
133 * in model, opens up a selection dialog for user to input new album name |
|
134 * In case type is something else than ESelectCollection, calls |
|
135 * updateCounterSlot() |
|
136 */ |
132 */ |
137 void modelReadySlot(); |
133 void modelReadySlot(); |
|
134 |
|
135 /** |
|
136 * Handles album list ready signal from model. |
|
137 */ |
|
138 void albumListReadySlot(); |
138 |
139 |
139 /** |
140 /** |
140 * Changes the counter value. Sets the checkbutton state based on selection count. |
141 * Changes the counter value. Sets the checkbutton state based on selection count. |
141 * |
142 * |
142 */ |
143 */ |
264 /** |
265 /** |
265 * Video list model |
266 * Video list model |
266 */ |
267 */ |
267 VideoSortFilterProxyModel *mModel; |
268 VideoSortFilterProxyModel *mModel; |
268 |
269 |
|
270 /** |
|
271 * Boolean to know if the model is ready or not. |
|
272 */ |
|
273 bool mModelReady; |
|
274 |
|
275 /** |
|
276 * Boolean to know if album list is ready or not. |
|
277 */ |
|
278 bool mAlbumListReady; |
|
279 |
269 /** |
280 /** |
270 * List widget to show in selection |
281 * List widget to show in selection |
271 */ |
282 */ |
272 VideoListWidget *mListWidget; |
283 VideoListWidget *mListWidget; |
273 |
284 |