tsrc/mocks/orbit/mock_hbaction.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 04 Oct 2010 00:16:48 +0300
changeset 77 2be0b271d017
child 78 baacf668fe89
permissions -rw-r--r--
Revision: 201037 Kit: 201039

/* 
* 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::NavigationAction 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)
    {
    
    }