videocollection/tsrc/stubs/src/videolistview.cpp
changeset 36 8aed59de29f9
parent 35 3738fe97f027
child 37 4eb2df7f7cbe
--- a/videocollection/tsrc/stubs/src/videolistview.cpp	Thu Apr 01 23:32:44 2010 +0300
+++ b/videocollection/tsrc/stubs/src/videolistview.cpp	Fri Apr 16 18:13:14 2010 +0300
@@ -25,6 +25,7 @@
 int VideoListViewData::mBackCount = 0;
 int VideoListViewData::mDeactivateViewCount = 0;
 int VideoListViewData::mInitializeViewCount = 0;
+TMPXItemId VideoListViewData::mActivatedItemId = TMPXItemId::InvalidId();
 
 VideoListView::VideoListView(VideoCollectionUiLoader *uiLoader, QGraphicsItem *parent) :
 HbView(parent),
@@ -60,8 +61,11 @@
     // not stubbed
 }
 
-int VideoListView::activateView()
+int VideoListView::activateView(const TMPXItemId &itemId)
 {
+    Q_UNUSED(itemId);
+    
+    VideoListViewData::mActivatedItemId = itemId;
     VideoListViewData::mActivateViewCount++;
     return 0;
 }
@@ -132,20 +136,6 @@
     // not stubbed
 }
 
-bool VideoListView::isActionChecked(const QString &name)
-{
-    Q_UNUSED(name);
-    // not stubbed
-    return true;
-}
-
-void VideoListView::setActionChecked(bool setChecked, const QString &name)
-{
-    Q_UNUSED(setChecked);
-    Q_UNUSED(name);
-    // not stubbed
-}
-
 void VideoListView::openAllVideosViewSlot()
 {
     // not stubbed
@@ -212,6 +202,11 @@
     // not stubbed
 }
 
+void VideoListView::prepareBrowseServiceMenu()
+{
+    // not stubbed
+}
+
 void VideoListView::handleAsyncStatusSlot(int statusCode, QVariant &additional)
 {
     Q_UNUSED(statusCode);
@@ -229,13 +224,6 @@
     // not stubbed
 }
 
-void VideoListView::widgetReadySlot(QGraphicsWidget *widget, const QString &name)
-{
-    Q_UNUSED(widget);
-    Q_UNUSED(name);
-    // not stubbed
-}
-
 void VideoListView::objectReadySlot(QObject *object, const QString &name)
 {
     Q_UNUSED(object);