diff -r cfea66083b62 -r baacf668fe89 tsrc/mocks/phoneuiview2/mock_phoneaction.cpp --- a/tsrc/mocks/phoneuiview2/mock_phoneaction.cpp Mon Oct 04 16:06:10 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,146 +0,0 @@ -/** 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 the License "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 "phoneaction.h" - -// ============================ MEMBER FUNCTIONS =============================== - -// ----------------------------------------------------------------------------- -// PhoneAction::PhoneAction -// ----------------------------------------------------------------------------- -// -PhoneAction::PhoneAction( ) - { - - } - - -// ----------------------------------------------------------------------------- -// PhoneAction::~PhoneAction -// ----------------------------------------------------------------------------- -// -PhoneAction::~PhoneAction( ) - { - - } - - -// ----------------------------------------------------------------------------- -// PhoneAction::setText -// ----------------------------------------------------------------------------- -// -void PhoneAction::setText( - QString text ) - { - SMC_MOCK_METHOD1( void, QString, text ) - } - - -// ----------------------------------------------------------------------------- -// PhoneAction::text -// ----------------------------------------------------------------------------- -// -QString PhoneAction::text( ) const - { - SMC_MOCK_METHOD0( QString ) - } - - -// ----------------------------------------------------------------------------- -// PhoneAction::setCommand -// ----------------------------------------------------------------------------- -// -void PhoneAction::setCommand( - int command ) - { - SMC_MOCK_METHOD1( void, int, command ) - } - - -// ----------------------------------------------------------------------------- -// PhoneAction::command -// ----------------------------------------------------------------------------- -// -int PhoneAction::command( ) const - { - SMC_MOCK_METHOD0( int ) - } - - -// ----------------------------------------------------------------------------- -// PhoneAction::icon -// ----------------------------------------------------------------------------- -// -HbIcon PhoneAction::icon( ) const - { - SMC_MOCK_METHOD0( HbIcon ) - } - - -// ----------------------------------------------------------------------------- -// PhoneAction::setIcon -// ----------------------------------------------------------------------------- -// -void PhoneAction::setIcon( - HbIcon icon ) - { - SMC_MOCK_METHOD1( void, HbIcon, icon ) - } - - -// ----------------------------------------------------------------------------- -// PhoneAction::setDisabled -// ----------------------------------------------------------------------------- -// -void PhoneAction::setDisabled( - bool disabled ) - { - SMC_MOCK_METHOD1( void, bool, disabled ) - } - - -// ----------------------------------------------------------------------------- -// PhoneAction::isDisabled -// ----------------------------------------------------------------------------- -// -bool PhoneAction::isDisabled( ) const - { - SMC_MOCK_METHOD0( bool ) - } - - -// ----------------------------------------------------------------------------- -// PhoneAction::setActionRole -// ----------------------------------------------------------------------------- -// -void PhoneAction::setActionRole( - ActionRole role ) - { - SMC_MOCK_METHOD1( void, ActionRole, role ) - } - - -// ----------------------------------------------------------------------------- -// PhoneAction::actionRole -// ----------------------------------------------------------------------------- -// -PhoneAction::ActionRole PhoneAction::actionRole( ) const - { - SMC_MOCK_METHOD0( ActionRole ) - } - -