videocollection/tsrc/stubs/src/videohintwidget.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 02 Sep 2010 20:28:16 +0300
changeset 59 a76e86df7ccd
parent 52 e3cecb93e76a
permissions -rw-r--r--
Revision: 201033 Kit: 201035

/*
* Copyright (c) 2010 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 content widget implementation
*
*/

#include "videohintwidget.h"
#include "videohintwidgetdata.h"

int VideoHintWidgetData::mSettedHintLevel = -1;
bool VideoHintWidgetData::mSettedButtonShowLevel = false;

VideoHintWidget::VideoHintWidget(VideoCollectionUiLoader *uiLoader,
    QGraphicsItem *parent):
    HbWidget(parent),
    mUiLoader(uiLoader),
    mCurrentLevel(AllVideos)
{
    // NOP
}

VideoHintWidget::~VideoHintWidget()
{
    // nop
}

void VideoHintWidget::initialize()
{
    // not stubbed
    return;
}

void VideoHintWidget::setLevel(HintLevel level)
{
    VideoHintWidgetData::mSettedHintLevel = (int)level; 
}

void VideoHintWidget::setButtonShown(bool shown)
{
    VideoHintWidgetData::mSettedButtonShowLevel = shown;
}

void VideoHintWidget::orientationChangedSlot(Qt::Orientation targetOrientation)
{
    Q_UNUSED(targetOrientation);
    // not stubbed
}

void VideoHintWidget::activate()
{
    setVisible(true);
}

void VideoHintWidget::deactivate()
{
    setVisible(false);
}

void VideoHintWidget::updateUiComponents()
{
    // not stubbed
}

// end of file