videocollection/videocollectionwrapper/tsrc/testvideosortfilterproxymodel/stub/src/videolistdatamodel.cpp
changeset 35 3738fe97f027
parent 34 bbb98528c666
child 36 8aed59de29f9
--- a/videocollection/videocollectionwrapper/tsrc/testvideosortfilterproxymodel/stub/src/videolistdatamodel.cpp	Thu Apr 01 23:22:15 2010 +0300
+++ b/videocollection/videocollectionwrapper/tsrc/testvideosortfilterproxymodel/stub/src/videolistdatamodel.cpp	Thu Apr 01 23:32:44 2010 +0300
@@ -25,6 +25,7 @@
 bool VideoListDataModel::mGetMediaIdAtIndexFails = false;
 bool VideoListDataModel::mBelongsToAlbum = false;
 bool VideoListDataModel::mReturnInvalid = false;
+int VideoListDataModel::mRemoveFrAlbumReturn = -1;
 int VideoListDataModel::mLastDeletedIndexRow = -1;
 QString VideoListDataModel::mMediaFilePathReturnValue = "";
 
@@ -440,6 +441,17 @@
 }
 
 // ---------------------------------------------------------------------------
+// removeItemsFromAlbum
+// ---------------------------------------------------------------------------
+//
+int VideoListDataModel::removeItemsFromAlbum(TMPXItemId &albumId, const QList<TMPXItemId> &items)
+{
+    Q_UNUSED(albumId);
+    Q_UNUSED(items);
+    return mRemoveFrAlbumReturn;
+}
+
+// ---------------------------------------------------------------------------
 // indexOfId
 // ---------------------------------------------------------------------------
 //