videocollection/videocollectionwrapper/tsrc/testvideomodel/stub/src/videolistdatamodel_p.cpp
changeset 36 8aed59de29f9
parent 35 3738fe97f027
child 38 ff53afa8ad05
--- a/videocollection/videocollectionwrapper/tsrc/testvideomodel/stub/src/videolistdatamodel_p.cpp	Thu Apr 01 23:32:44 2010 +0300
+++ b/videocollection/videocollectionwrapper/tsrc/testvideomodel/stub/src/videolistdatamodel_p.cpp	Fri Apr 16 18:13:14 2010 +0300
@@ -255,23 +255,6 @@
 }
 
 // -----------------------------------------------------------------------------
-// getMetaDataFromIndex
-// -----------------------------------------------------------------------------
-//
-QMap<QString, QVariant> VideoListDataModelPrivate::getMetaDataFromIndex(int /*index*/) const
-{
-    QMap<QString, QVariant> map;
-    
-    // no need to actually populate the map with real like data, as the datamodel
-    // is not responsible in anyway what data the actual map contains. So here we
-    // only need to make sure that the map received in test has been gotten by
-    // calling this function.
-    map["metadata"] = QString("metadata");
-    
-    return map;
-}
-
-// -----------------------------------------------------------------------------
 // getMediaIdFromIndex
 // -----------------------------------------------------------------------------
 //
@@ -489,9 +472,9 @@
 // videoDetailsCompleted
 // -----------------------------------------------------------------------------
 // 
-void VideoListDataModelPrivate::videoDetailsCompletedSlot(TMPXItemId videoId)
+void VideoListDataModelPrivate::videoDetailsCompletedSlot(CMPXMedia* media)
 {
-    Q_UNUSED(videoId);      
+    Q_UNUSED(media);      
 }
 
 // -----------------------------------------------------------------------------
@@ -506,6 +489,15 @@
 }
 
 // -----------------------------------------------------------------------------
+// itemModifiedSlot
+// -----------------------------------------------------------------------------
+// 
+void VideoListDataModelPrivate::itemModifiedSlot(const TMPXItemId &itemId)
+{
+    Q_UNUSED(itemId);
+}
+
+// -----------------------------------------------------------------------------
 // albumRemoveFailureSlot
 // -----------------------------------------------------------------------------
 //