diff -r 45e72b57a2fd -r e3cecb93e76a videocollection/videocollectionwrapper/inc/videothumbnaildata.h --- a/videocollection/videocollectionwrapper/inc/videothumbnaildata.h Tue Jul 06 14:17:50 2010 +0300 +++ b/videocollection/videocollectionwrapper/inc/videothumbnaildata.h Wed Aug 18 09:50:14 2010 +0300 @@ -71,7 +71,7 @@ * @return bool: true if item removed correctly, false if not. * */ - bool removeThumbnail(TMPXItemId mediaId); + bool removeThumbnail(const TMPXItemId &mediaId); /** * Method returns a pointer to video's thumbnail. @@ -85,7 +85,7 @@ * @return QIcon* thumbnail pointer * */ - const QIcon* getThumbnail(TMPXItemId mediaId); + const QIcon* getThumbnail(const TMPXItemId &mediaId); /** * Starts background thumbnail fetching, the model used for the background fetching @@ -113,6 +113,13 @@ void enableThumbnailCreation(bool enable); /** + * Returns background fetching enabled status. + * + * @return bool: true if background fetching is enabled, otherwise false. + */ + bool backgroundFetchingEnabled(); + + /** * Frees allocated data for thumbnails and cancels ongoing fetches. * */ @@ -126,7 +133,7 @@ * @param mediaIds: media ids of the videos whose thumbnail is ready. * */ - void thumbnailsFetched(QList mediaIds); + void thumbnailsFetched(QList& mediaIds); private: