--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/videocollection/tsrc/stubs/src/videolistview.cpp Fri Apr 16 14:59:52 2010 +0300
@@ -0,0 +1,272 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Videolist view class source code
+*
+*/
+
+#include "videolistview.h"
+#include "videocollectionviewutils.h"
+#include "videocollectionwrapper.h"
+
+#include "videolistviewdata.h"
+
+int VideoListViewData::mActivateViewCount = 0;
+int VideoListViewData::mBackCount = 0;
+int VideoListViewData::mDeactivateViewCount = 0;
+int VideoListViewData::mInitializeViewCount = 0;
+
+VideoListView::VideoListView(VideoCollectionUiLoader *uiLoader, QGraphicsItem *parent) :
+HbView(parent),
+mUiUtils(VideoCollectionViewUtils::instance()),
+mWrapper(VideoCollectionWrapper::instance()),
+mUiLoader(uiLoader),
+mIsService(false),
+mModelReady(false),
+mVideoServices(0),
+mCurrentList(0),
+mToolbarViewsActionGroup(0),
+mToolbarCollectionActionGroup(0)
+{
+ // not stubbed
+}
+
+VideoListView::~VideoListView()
+{
+ // disconnect signals
+ disconnect();
+}
+
+int VideoListView::initializeView()
+{
+ // not stubbed
+ VideoListViewData::mInitializeViewCount++;
+ return 0;
+}
+
+void VideoListView::titleReadySlot(const QString& title)
+{
+ Q_UNUSED(title);
+ // not stubbed
+}
+
+int VideoListView::activateView()
+{
+ VideoListViewData::mActivateViewCount++;
+ return 0;
+}
+
+void VideoListView::modelReadySlot()
+{
+ // not stubbed
+}
+
+void VideoListView::layoutChangedSlot()
+{
+ // not stubbed
+}
+
+void VideoListView::deactivateView()
+{
+ VideoListViewData::mDeactivateViewCount++;
+}
+
+void VideoListView::back()
+{
+ VideoListViewData::mBackCount++;
+}
+
+void VideoListView::cleanup()
+{
+ // not stubbed
+}
+
+int VideoListView::createToolbar()
+{
+ // not stubbed
+ return 0;
+}
+
+HbAction* VideoListView::createAction(QString icon,
+ QActionGroup* actionGroup,
+ const char *slot)
+{
+ Q_UNUSED(icon);
+ Q_UNUSED(actionGroup);
+ Q_UNUSED(slot);
+ // not stubbed
+ return 0;
+}
+
+void VideoListView::showHint(bool show)
+{
+ Q_UNUSED(show);
+ // not stubbed
+}
+
+void VideoListView::setHintLevel(VideoHintWidget::HintLevel level)
+{
+ Q_UNUSED(level);
+ // not stubbed
+}
+
+void VideoListView::updateSubLabel()
+{
+ // not stubbed
+}
+
+void VideoListView::showAction(bool show, const QString &name)
+{
+ Q_UNUSED(show);
+ Q_UNUSED(name);
+ // 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
+}
+
+void VideoListView::openCollectionViewSlot()
+{
+ // not stubbed
+}
+
+void VideoListView::openNewAlbumSlot(const QModelIndex &parent,
+ int start,
+ int end)
+{
+ Q_UNUSED(parent);
+ Q_UNUSED(start);
+ Q_UNUSED(end);
+ // not stubbed
+}
+
+void VideoListView::openServicesViewSlot()
+{
+ // not stubbed
+}
+
+void VideoListView::startSorting()
+{
+ // not stubbed
+}
+
+void VideoListView::aboutToChangeOrientationSlot()
+{
+ // not stubbed
+}
+
+void VideoListView::orientationChangedSlot(Qt::Orientation orientation)
+{
+ Q_UNUSED(orientation);
+ // not stubbed
+}
+
+void VideoListView::deleteItemsSlot()
+{
+ // not stubbed
+}
+
+void VideoListView::createCollectionSlot()
+{
+ // not stubbed
+}
+
+void VideoListView::addVideosToCollectionSlot()
+{
+ // not stubbed
+}
+
+void VideoListView::removeVideosFromCollectionSlot()
+{
+ // not stubbed
+}
+
+void VideoListView::aboutToShowMainMenuSlot()
+{
+ // not stubbed
+}
+
+void VideoListView::handleAsyncStatusSlot(int statusCode, QVariant &additional)
+{
+ Q_UNUSED(statusCode);
+ Q_UNUSED(additional);
+ // not stubbed
+}
+
+void VideoListView::collectionOpenedSlot(bool collectionOpened,
+ const QString& collection,
+ const QModelIndex &index)
+{
+ Q_UNUSED(collectionOpened);
+ Q_UNUSED(collection);
+ Q_UNUSED(index);
+ // 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);
+ Q_UNUSED(name);
+ // not stubbed
+}
+
+
+void VideoListView::finishCollectionOpenedSlot(const HbEffect::EffectStatus &status)
+{
+ Q_UNUSED(status);
+}
+
+void VideoListView::finishCollectionClosedSlot(const HbEffect::EffectStatus &status)
+{
+ Q_UNUSED(status);
+}
+
+void VideoListView::doSorting(int value)
+{
+ Q_UNUSED(value);
+}
+
+void VideoListView::doDelayedsSlot()
+{
+ // not stubbed
+}
+
+void VideoListView::debugNotImplementedYet()
+{
+ // not stubbed
+}
+
+// end of file