mpviewplugins/mpcollectionviewplugin/tsrc/unittest_mpcollectioncontainers/stub/src/hgmediawall.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 27 May 2010 12:49:57 +0300
changeset 29 8192e5b5c935
child 47 4cc1412daed0
permissions -rw-r--r--
Revision: 201019 Kit: 2010121

/*
* 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: HgMediawall stub for testing mpcollectioncontainers
*
*/

#include "hgmediawall.h"


/*!
 Constructs the mediawall widget stub.
 */
HgWidget::HgWidget( QGraphicsItem *parent )
{
    Q_UNUSED(parent);
}

/*!
 Destructs the mediawall widget stub.
 */
HgWidget::~HgWidget()
{
}

/*!
 Stub function
 */
void HgWidget::setScrollBarPolicy( ScrollBarPolicy policy )
{
    Q_UNUSED(policy);
}

/*!
 Stub function
 */
void HgWidget::setModel( QAbstractItemModel *model )
{
    Q_UNUSED(model);
}

/*!
 Stub function
 */
void HgWidget::scrollTo( const QModelIndex &index )
{
    Q_UNUSED(index);
}

/*!
 Stub function
 */
QModelIndex HgWidget::currentIndex() const
{
    return QModelIndex();
}


//===========================================================================
//===========================================================================

/*!
 Constructs the mediawall widget stub.
 */
HgMediawall::HgMediawall( QGraphicsItem *parent )
{
    Q_UNUSED(parent);
    mReflectionEnabled = true;
}

/*!
 Destructs the mediawall widget stub.
 */
HgMediawall::~HgMediawall()
{
}

/*!
 Stub function
 */
void HgMediawall::setTitlePosition( LabelPosition position )
{
    Q_UNUSED(position);
}

/*!
 Stub function
 */
void HgMediawall::setDescriptionPosition( LabelPosition position )
{
    Q_UNUSED(position);
}

/*!
 Stub function
 */
void HgMediawall::setTitleFontSpec( const HbFontSpec &fontSpec )
{
    Q_UNUSED(fontSpec);
}

/*!
 Stub function
 */
void HgMediawall::setDescriptionFontSpec( const HbFontSpec &fontSpec )
{
    Q_UNUSED(fontSpec);
}

/*!
 Stub function
 */
void HgMediawall::enableReflections( bool enabled )
{
    mReflectionEnabled = enabled;
}

/*!
 Stub function
 */
bool HgMediawall::reflectionsEnabled() const
{
    return mReflectionEnabled;
}