--- a/telutils/keysequencerecognitionservice/tsrc/shared/mock_hbdevicemessagebox.cpp Tue Aug 31 15:45:17 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,252 +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 <hbdevicemessagebox.h>
-#include <hbaction.h>
-
-// ============================ MEMBER FUNCTIONS ===============================
-
-// -----------------------------------------------------------------------------
-// HbDeviceMessageBox::HbDeviceMessageBox
-// -----------------------------------------------------------------------------
-//
-HbDeviceMessageBox::HbDeviceMessageBox(
- const QString & text,
- HbMessageBox::MessageBoxType type,
- QObject * parent )
- :
- QObject(parent)
- {
- Q_UNUSED(text)
- Q_UNUSED(type)
- }
-
-
-// -----------------------------------------------------------------------------
-// HbDeviceMessageBox::~HbDeviceMessageBox
-// -----------------------------------------------------------------------------
-//
-HbDeviceMessageBox::~HbDeviceMessageBox( )
- {
-
- }
-
-
-// -----------------------------------------------------------------------------
-// HbDeviceMessageBox::question
-// -----------------------------------------------------------------------------
-//
-bool HbDeviceMessageBox::question(
- const QString & text,
- const QString & primaryButtonText,
- const QString & secondaryButtonText )
- {
- SMC_MOCK_METHOD3( bool, const QString &, text,
- const QString &, primaryButtonText,
- const QString &, secondaryButtonText )
- }
-
-
-// -----------------------------------------------------------------------------
-// HbDeviceMessageBox::information
-// -----------------------------------------------------------------------------
-//
-void HbDeviceMessageBox::information(
- const QString & text )
- {
- SMC_MOCK_METHOD1( void, const QString &, text )
- }
-
-
-// -----------------------------------------------------------------------------
-// HbDeviceMessageBox::warning
-// -----------------------------------------------------------------------------
-//
-void HbDeviceMessageBox::warning(
- const QString & text )
- {
- SMC_MOCK_METHOD1( void, const QString &, text )
- }
-
-
-// -----------------------------------------------------------------------------
-// HbDeviceMessageBox::show
-// -----------------------------------------------------------------------------
-//
-void HbDeviceMessageBox::show( )
- {
- SMC_MOCK_METHOD0( void )
- }
-
-
-// -----------------------------------------------------------------------------
-// HbDeviceMessageBox::close
-// -----------------------------------------------------------------------------
-//
-void HbDeviceMessageBox::close( )
- {
- SMC_MOCK_METHOD0( void )
- }
-
-
-// -----------------------------------------------------------------------------
-// HbDeviceMessageBox::exec
-// -----------------------------------------------------------------------------
-//
-const QAction * HbDeviceMessageBox::exec( )
- {
- SMC_MOCK_METHOD0( QAction * )
- }
-
-
-// -----------------------------------------------------------------------------
-// HbDeviceMessageBox::setText
-// -----------------------------------------------------------------------------
-//
-void HbDeviceMessageBox::setText(
- const QString & text )
- {
- SMC_MOCK_METHOD1( void, const QString &, text )
- }
-
-
-// -----------------------------------------------------------------------------
-// HbDeviceMessageBox::text
-// -----------------------------------------------------------------------------
-//
-QString HbDeviceMessageBox::text( ) const
- {
- SMC_MOCK_METHOD0( QString )
- }
-
-
-// -----------------------------------------------------------------------------
-// HbDeviceMessageBox::setIconName
-// -----------------------------------------------------------------------------
-//
-void HbDeviceMessageBox::setIconName(
- const QString & iconName )
- {
- SMC_MOCK_METHOD1( void, const QString &, iconName )
- }
-
-
-// -----------------------------------------------------------------------------
-// HbDeviceMessageBox::setIconVisible
-// -----------------------------------------------------------------------------
-//
-void HbDeviceMessageBox::setIconVisible( bool visible )
- {
- SMC_MOCK_METHOD1( void, bool, visible )
- }
-
-
-// -----------------------------------------------------------------------------
-// HbDeviceMessageBox::iconVisible
-// -----------------------------------------------------------------------------
-//
-bool HbDeviceMessageBox::iconVisible( ) const
- {
- SMC_MOCK_METHOD0( bool )
- }
-
-
-// -----------------------------------------------------------------------------
-// HbDeviceMessageBox::setAnimationDefinition
-// -----------------------------------------------------------------------------
-//
-void HbDeviceMessageBox::setAnimationDefinition(
- QString & animationDefinition )
- {
- SMC_MOCK_METHOD1( void, QString &, animationDefinition )
- }
-
-
-// -----------------------------------------------------------------------------
-// HbDeviceMessageBox::animationDefinition
-// -----------------------------------------------------------------------------
-//
-QString HbDeviceMessageBox::animationDefinition( ) const
- {
- SMC_MOCK_METHOD0( QString )
- }
-
-
-// -----------------------------------------------------------------------------
-// HbDeviceMessageBox::setTimeout
-// -----------------------------------------------------------------------------
-//
-void HbDeviceMessageBox::setTimeout(
- int timeout )
- {
- SMC_MOCK_METHOD1( void, int, timeout )
- }
-
-
-// -----------------------------------------------------------------------------
-// HbDeviceMessageBox::setTimeout
-// -----------------------------------------------------------------------------
-//
-void HbDeviceMessageBox::setTimeout(
- HbPopup::DefaultTimeout timeout )
- {
- SMC_MOCK_METHOD1( void, HbPopup::DefaultTimeout, timeout )
- }
-
-
-// -----------------------------------------------------------------------------
-// HbDeviceMessageBox::timeout
-// -----------------------------------------------------------------------------
-//
-int HbDeviceMessageBox::timeout( ) const
- {
- SMC_MOCK_METHOD0( int )
- }
-
-
-// -----------------------------------------------------------------------------
-// HbDeviceMessageBox::setDismissPolicy
-// -----------------------------------------------------------------------------
-//
-void HbDeviceMessageBox::setDismissPolicy(
- HbPopup::DismissPolicy dismissPolicy )
- {
- SMC_MOCK_METHOD1( void, HbPopup::DismissPolicy, dismissPolicy )
- }
-
-
-// -----------------------------------------------------------------------------
-// HbDeviceMessageBox::dismissPolicy
-// -----------------------------------------------------------------------------
-//
-HbPopup::DismissPolicy HbDeviceMessageBox::dismissPolicy( ) const
- {
- SMC_MOCK_METHOD0( HbPopup::DismissPolicy )
- }
-
-
-// -----------------------------------------------------------------------------
-// HbDeviceMessageBox::aboutToClose
-// -----------------------------------------------------------------------------
-//
-void HbDeviceMessageBox::aboutToClose( )
- {
- SMC_MOCK_METHOD0( void )
- }
-
-