phonesettings/cpphonesettingsplugins/tsrc/mocks/mock_hbaction.cpp
changeset 36 2eacb6118286
parent 30 ebdbd102c78a
child 37 ba76fc04e6c2
--- a/phonesettings/cpphonesettingsplugins/tsrc/mocks/mock_hbaction.cpp	Fri May 14 15:51:57 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,169 +0,0 @@
-/* 
-* 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 <QDebug>
-#include <smcmockclassincludes.h>
-#include <hbaction.h>
-
-// ============================ MEMBER FUNCTIONS ===============================
-
-// -----------------------------------------------------------------------------
-// HbAction::HbAction
-// -----------------------------------------------------------------------------
-//
-HbAction::HbAction( 
-        const QString & text,
-        QObject * parent )
-    : QAction( parent ), d_ptr(NULL)
-    {
-    
-    }
-
-
-// -----------------------------------------------------------------------------
-// HbAction::HbAction
-// -----------------------------------------------------------------------------
-//
-HbAction::HbAction( 
-        const HbIcon & icon,
-        const QString & text,
-        QObject * parent )
-    : QAction( parent ), d_ptr(NULL)
-    {
-    
-    }
-
-
-// -----------------------------------------------------------------------------
-// HbAction::HbAction
-// -----------------------------------------------------------------------------
-//
-HbAction::HbAction( 
-        Hb::SoftKeyAction action,
-        QObject * parent )
-    : QAction( parent ), d_ptr(NULL)
-    {
-    
-    }
-
-
-// -----------------------------------------------------------------------------
-// HbAction::~HbAction
-// -----------------------------------------------------------------------------
-//
-HbAction::~HbAction(  )
-    {
-    
-    }
-
-
-// -----------------------------------------------------------------------------
-// HbAction::setIcon
-// -----------------------------------------------------------------------------
-//
-void HbAction::setIcon( 
-        const HbIcon & icon )
-    {
- //   SMC_MOCK_METHOD1( void, const HbIcon &, icon )
-    }
-
-
-// -----------------------------------------------------------------------------
-// HbAction::icon
-// -----------------------------------------------------------------------------
-//
-HbIcon HbAction::icon(  ) const
-    {
- //   SMC_MOCK_METHOD0( HbIcon )
-    }
-
-
-// -----------------------------------------------------------------------------
-// HbAction::setMenu
-// -----------------------------------------------------------------------------
-//
-void HbAction::setMenu( 
-        HbMenu * menu )
-    {
- //   SMC_MOCK_METHOD1( void, HbMenu *, menu )
-    }
-
-
-// -----------------------------------------------------------------------------
-// HbAction::menu
-// -----------------------------------------------------------------------------
-//
-HbMenu * HbAction::menu(  ) const
-    {
- //   SMC_MOCK_METHOD0( HbMenu * )
-    }
-
-
-// -----------------------------------------------------------------------------
-// HbAction::setToolBarExtension
-// -----------------------------------------------------------------------------
-//
-void HbAction::setToolBarExtension( 
-        HbToolBarExtension * extension )
-    {
-//    SMC_MOCK_METHOD1( void, HbToolBarExtension *, extension )
-    }
-
-
-// -----------------------------------------------------------------------------
-// HbAction::toolBarExtension
-// -----------------------------------------------------------------------------
-//
-HbToolBarExtension * HbAction::toolBarExtension(  ) const
-    {
-//    SMC_MOCK_METHOD0( HbToolBarExtension * )
-    }
-
-
-// -----------------------------------------------------------------------------
-// HbAction::setCommandRole
-// -----------------------------------------------------------------------------
-//
-void HbAction::setCommandRole( 
-        HbAction::CommandRole commandRole )
-    {
- //   SMC_MOCK_METHOD1( void, CommandRole, commandRole )
-    }
-
-
-// -----------------------------------------------------------------------------
-// HbAction::commandRole
-// -----------------------------------------------------------------------------
-//
-HbAction::CommandRole HbAction::commandRole(  ) const
-    {
- //   SMC_MOCK_METHOD0( CommandRole )
-    }
-
-
-// -----------------------------------------------------------------------------
-// HbAction::HbAction
-// -----------------------------------------------------------------------------
-//
-HbAction::HbAction( 
-        HbActionPrivate & dd,
-        QObject * parent )
-    : QAction( parent ), d_ptr(NULL)
-    {
-    
-    }
-
-