equal
deleted
inserted
replaced
177 * |
177 * |
178 * @return QIcon: reference to default thumbnail data |
178 * @return QIcon: reference to default thumbnail data |
179 * |
179 * |
180 */ |
180 */ |
181 const QIcon* defaultThumbnail(TMPXItemId mediaId); |
181 const QIcon* defaultThumbnail(TMPXItemId mediaId); |
|
182 |
|
183 /** |
|
184 * Loads icon from file or resource, the icon is scaled to size of the |
|
185 * video list view thumbnail. |
|
186 * |
|
187 * @param iconName name of the file or resource. |
|
188 * |
|
189 * @return HbIcon the icon load from resource or file. |
|
190 * |
|
191 */ |
|
192 HbIcon loadIcon(QString iconName); |
182 |
193 |
183 /** |
194 /** |
184 * Starts timer that continues the background thumbnail fetching at timeout. |
195 * Starts timer that continues the background thumbnail fetching at timeout. |
185 */ |
196 */ |
186 void continueBackgroundFetch(); |
197 void continueBackgroundFetch(); |
256 * Local hash for default thumbnails. |
267 * Local hash for default thumbnails. |
257 * - key is mpx item id defining default tn type |
268 * - key is mpx item id defining default tn type |
258 * - data is the actual thumbnail data. |
269 * - data is the actual thumbnail data. |
259 */ |
270 */ |
260 QHash<TMPXItemId, HbIcon> mDefaultThumbnails; |
271 QHash<TMPXItemId, HbIcon> mDefaultThumbnails; |
261 |
|
262 /** |
|
263 * Default thumbnail for a category. |
|
264 */ |
|
265 QIcon *mDefaultTnCategory; |
|
266 |
272 |
267 /** |
273 /** |
268 * Current model, set at call to startBackgroundFetching. |
274 * Current model, set at call to startBackgroundFetching. |
269 */ |
275 */ |
270 QPointer<VideoSortFilterProxyModel> mCurrentModel; |
276 QPointer<VideoSortFilterProxyModel> mCurrentModel; |