mediasettings/videosettingsplugin/tsrc/testaccesspointentry/stub/src/cpsettingformentryitemdata.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 23 Jun 2010 18:14:16 +0300
changeset 46 adbe7d5ba2f5
child 67 72c709219fcd
permissions -rw-r--r--
Revision: 201023 Kit: 2010125

/*
* 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:   CpSettingFormEntryItemData stub
* 
*/

// INCLUDE FILES
#include "cpsettingformentryitemdata.h"

// ---------------------------------------------------------------------------
// CpSettingFormEntryItemData
// ---------------------------------------------------------------------------
//
CpSettingFormEntryItemData::CpSettingFormEntryItemData(
    EntryItemType type,
    CpItemDataHelper &itemDataHelper,
    const QString &text,
    const QString &description,
    const QString &iconName,
    const HbDataFormModelItem *parent) :
    mText(text),
    mDescription(description)
{
    Q_UNUSED(type);
    Q_UNUSED(itemDataHelper);
    Q_UNUSED(iconName);
    Q_UNUSED(parent);
}

// ---------------------------------------------------------------------------
// CpSettingFormEntryItemData
// ---------------------------------------------------------------------------
//
CpSettingFormEntryItemData::~CpSettingFormEntryItemData()
{
}

// ---------------------------------------------------------------------------
// text
// ---------------------------------------------------------------------------
//
QString CpSettingFormEntryItemData::text() const
{
    return mText;
}

// ---------------------------------------------------------------------------
// setText
// ---------------------------------------------------------------------------
//
void CpSettingFormEntryItemData::setText(const QString &text)
{
    mText = text;
}

// ---------------------------------------------------------------------------
// description
// ---------------------------------------------------------------------------
//
QString CpSettingFormEntryItemData::description() const
{
    return mDescription;
}

// ---------------------------------------------------------------------------
// setDescription
// ---------------------------------------------------------------------------
//
void CpSettingFormEntryItemData::setDescription(const QString &description)
{
    mDescription = description;
}

// ---------------------------------------------------------------------------
// callCreateSettingView
// ---------------------------------------------------------------------------
//
CpBaseSettingView* CpSettingFormEntryItemData::callCreateSettingView() const
{
    return createSettingView();
}