diff -r 40a3f856b14d -r 41a7f70b3818 phonesettings/cpphonesettingsplugins/tsrc/mocks/mock_cpsettingformentryitemdata.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/phonesettings/cpphonesettingsplugins/tsrc/mocks/mock_cpsettingformentryitemdata.cpp Tue Aug 31 15:14:29 2010 +0300 @@ -0,0 +1,209 @@ +/* +* 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: +* +*/ +#include +#include +#include + +// ============================ MEMBER FUNCTIONS =============================== + +// ----------------------------------------------------------------------------- +// CpSettingFormEntryItemData::CpSettingFormEntryItemData +// ----------------------------------------------------------------------------- +// +CpSettingFormEntryItemData::CpSettingFormEntryItemData( + const HbDataFormModelItem * parent ) + //: + //CpSettingFormItemData( /*parent*/ ) + { + + } + + +// ----------------------------------------------------------------------------- +// CpSettingFormEntryItemData::CpSettingFormEntryItemData +// ----------------------------------------------------------------------------- +// +CpSettingFormEntryItemData::CpSettingFormEntryItemData( + CpItemDataHelper & itemDataHelper, + const QString & text, + const QString & description, + const HbIcon & icon, + const HbDataFormModelItem * parent ) + //: + //CpSettingFormItemData( /*itemDataHelper, text, description, icon, parent*/ ) + { + + } + + +// ----------------------------------------------------------------------------- +// CpSettingFormEntryItemData::CpSettingFormEntryItemData +// ----------------------------------------------------------------------------- +// +CpSettingFormEntryItemData::CpSettingFormEntryItemData( + HbDataForm * dataForm, + const QString & text, + const QString & description, + const HbIcon & icon, + const HbDataFormModelItem * parent ) + //: + //CpSettingFormItemData( /*dataForm, text, description, icon, parent*/ ) + { + + } + + +// ----------------------------------------------------------------------------- +// CpSettingFormEntryItemData::CpSettingFormEntryItemData +// ----------------------------------------------------------------------------- +// +CpSettingFormEntryItemData::CpSettingFormEntryItemData( + EntryItemType type, + CpItemDataHelper & itemDataHelper, + const QString & text, + const QString & description, + const QString & iconName, + const HbDataFormModelItem * parent ) + //: + //CpSettingFormItemData( /*type, itemDataHelper, text, description, iconName, parent*/ ) + { + + } + + +// ----------------------------------------------------------------------------- +// CpSettingFormEntryItemData::CpSettingFormEntryItemData +// ----------------------------------------------------------------------------- +// +CpSettingFormEntryItemData::CpSettingFormEntryItemData( + EntryItemType type, + HbDataForm * dataForm, + const QString & text, + const QString & description, + const QString & iconName, + const HbDataFormModelItem * parent ) + //: + //CpSettingFormItemData( /*type, dataForm, text, description, iconName, parent*/ ) + { + + } + + +// ----------------------------------------------------------------------------- +// CpSettingFormEntryItemData::~CpSettingFormEntryItemData +// ----------------------------------------------------------------------------- +// +CpSettingFormEntryItemData::~CpSettingFormEntryItemData( ) + { + + } + + +// ----------------------------------------------------------------------------- +// CpSettingFormEntryItemData::text +// ----------------------------------------------------------------------------- +// +QString CpSettingFormEntryItemData::text( ) const + { + SMC_MOCK_METHOD0( QString ) + } + + +// ----------------------------------------------------------------------------- +// CpSettingFormEntryItemData::setText +// ----------------------------------------------------------------------------- +// +void CpSettingFormEntryItemData::setText( + const QString & text ) + { + SMC_MOCK_METHOD1( void, const QString &, text ) + } + + +// ----------------------------------------------------------------------------- +// CpSettingFormEntryItemData::description +// ----------------------------------------------------------------------------- +// +QString CpSettingFormEntryItemData::description( ) const + { + SMC_MOCK_METHOD0( QString ) + } + + +// ----------------------------------------------------------------------------- +// CpSettingFormEntryItemData::setDescription +// ----------------------------------------------------------------------------- +// +void CpSettingFormEntryItemData::setDescription( + const QString & description ) + { + SMC_MOCK_METHOD1( void, const QString &, description ) + } + + +// ----------------------------------------------------------------------------- +// CpSettingFormEntryItemData::iconName +// ----------------------------------------------------------------------------- +// +QString CpSettingFormEntryItemData::iconName( ) const + { + SMC_MOCK_METHOD0( QString ) + } + + +// ----------------------------------------------------------------------------- +// CpSettingFormEntryItemData::setIconName +// ----------------------------------------------------------------------------- +// +void CpSettingFormEntryItemData::setIconName( + const QString & icon ) + { + SMC_MOCK_METHOD1( void, const QString &, icon ) + } + + +// ----------------------------------------------------------------------------- +// CpSettingFormEntryItemData::entryItemIcon +// ----------------------------------------------------------------------------- +// +HbIcon CpSettingFormEntryItemData::entryItemIcon( ) const + { + SMC_MOCK_METHOD0( HbIcon ) + } + + +// ----------------------------------------------------------------------------- +// CpSettingFormEntryItemData::setEntryItemIcon +// ----------------------------------------------------------------------------- +// +void CpSettingFormEntryItemData::setEntryItemIcon( + const HbIcon & icon ) + { + SMC_MOCK_METHOD1( void, const HbIcon &, icon ) + } + + +// ----------------------------------------------------------------------------- +// CpSettingFormEntryItemData::onLaunchView +// ----------------------------------------------------------------------------- +// +void CpSettingFormEntryItemData::onLaunchView( ) + { + SMC_MOCK_METHOD0( void ) + } + +