videocollection/videocollectionwrapper/src/videothumbnaildata.cpp
changeset 34 bbb98528c666
parent 30 4f111d64a341
child 36 8aed59de29f9
--- a/videocollection/videocollectionwrapper/src/videothumbnaildata.cpp	Thu Apr 01 23:13:36 2010 +0300
+++ b/videocollection/videocollectionwrapper/src/videothumbnaildata.cpp	Thu Apr 01 23:22:15 2010 +0300
@@ -55,15 +55,6 @@
 }
 
 // -----------------------------------------------------------------------------
-// VideoThumbnailData::startFetchingThumbnail()
-// -----------------------------------------------------------------------------
-//
-int VideoThumbnailData::startFetchingThumbnail(int mediaId, int priority)
-{
-    return d_ptr->startFetchingThumbnail(mediaId, priority);
-}
-
-// -----------------------------------------------------------------------------
 // VideoThumbnailData::removeThumbnail()
 // -----------------------------------------------------------------------------
 //
@@ -85,9 +76,9 @@
 // VideoThumbnailData::startBackgroundFetching()
 // -----------------------------------------------------------------------------
 //
-void VideoThumbnailData::startBackgroundFetching(int fetchIndex)
+void VideoThumbnailData::startBackgroundFetching(VideoSortFilterProxyModel *model, int fetchIndex)
 {
-    d_ptr->startBackgroundFetching(fetchIndex);
+    d_ptr->startBackgroundFetching(model, fetchIndex);
 }
 
 // -----------------------------------------------------------------------------
@@ -100,6 +91,15 @@
 }
 
 // -----------------------------------------------------------------------------
+// VideoThumbnailData::enableThumbnailCreation()
+// -----------------------------------------------------------------------------
+//
+void VideoThumbnailData::enableThumbnailCreation(bool enable)
+{
+    d_ptr->enableThumbnailCreation(enable);
+}
+
+// -----------------------------------------------------------------------------
 // VideoThumbnailData::freeThumbnailData()
 // -----------------------------------------------------------------------------
 //