--- a/telutils/dialpad/tsrc/unit/shared/mock_xqaiwrequest.cpp Tue Aug 31 15:45:17 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,318 +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 <qglobal.h>
-#include <smcmockclassincludes.h>
-#include "xqaiwrequest.h"
-
-// ============================ MEMBER FUNCTIONS ===============================
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::XQAiwRequest
-// -----------------------------------------------------------------------------
-//
-XQAiwRequest::XQAiwRequest(
- const XQAiwInterfaceDescriptor & descriptor,
- const QString & operation,
- bool embedded )
- :
- QObject()
- {
-
- }
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::XQAiwRequest
-// -----------------------------------------------------------------------------
-//
-XQAiwRequest::XQAiwRequest(
- const QUrl & uri,
- const XQAiwInterfaceDescriptor & descriptor,
- const QString & operation )
- :
- QObject( )
- {
-
- }
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::XQAiwRequest
-// -----------------------------------------------------------------------------
-//
-XQAiwRequest::XQAiwRequest(
- const QFile & file,
- const XQAiwInterfaceDescriptor & descriptor,
- const QString & operation )
- :
- QObject()
- {
-
- }
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::XQAiwRequest
-// -----------------------------------------------------------------------------
-//
-XQAiwRequest::XQAiwRequest(
- const XQSharableFile & file,
- const XQAiwInterfaceDescriptor & descriptor,
- const QString & operation )
- :
- QObject()
- {
-
- }
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::~XQAiwRequest
-// -----------------------------------------------------------------------------
-//
-XQAiwRequest::~XQAiwRequest( )
- {
-
- }
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::createAction
-// -----------------------------------------------------------------------------
-//
-QAction * XQAiwRequest::createAction( )
- {
- SMC_MOCK_METHOD0( QAction * )
- }
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::setArguments
-// -----------------------------------------------------------------------------
-//
-void XQAiwRequest::setArguments(
- const QList<QVariant> & arguments )
- {
- SMC_MOCK_METHOD1( void, const QList<QVariant> &, arguments )
- }
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::lastError
-// -----------------------------------------------------------------------------
-//
-int XQAiwRequest::lastError( ) const
- {
- SMC_MOCK_METHOD0( int )
- }
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::lastErrorMessage
-// -----------------------------------------------------------------------------
-//
-const QString & XQAiwRequest::lastErrorMessage( ) const
- {
- SMC_MOCK_METHOD0( const QString & )
- }
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::descriptor
-// -----------------------------------------------------------------------------
-//
-const XQAiwInterfaceDescriptor & XQAiwRequest::descriptor( ) const
- {
- SMC_MOCK_METHOD0( const XQAiwInterfaceDescriptor & )
- }
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::send
-// -----------------------------------------------------------------------------
-//
-bool XQAiwRequest::send( )
- {
- SMC_MOCK_METHOD0( bool )
- }
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::send
-// -----------------------------------------------------------------------------
-//
-bool XQAiwRequest::send(
- QVariant & returnValue )
- {
- SMC_MOCK_METHOD1( bool, QVariant &, returnValue )
- }
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::setEmbedded
-// -----------------------------------------------------------------------------
-//
-void XQAiwRequest::setEmbedded(
- bool embedded )
- {
- SMC_MOCK_METHOD1( void, bool, embedded )
- }
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::isEmbedded
-// -----------------------------------------------------------------------------
-//
-bool XQAiwRequest::isEmbedded( ) const
- {
- SMC_MOCK_METHOD0( bool )
- }
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::setOperation
-// -----------------------------------------------------------------------------
-//
-void XQAiwRequest::setOperation(
- const QString & operation )
- {
- SMC_MOCK_METHOD1( void, const QString &, operation )
- }
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::operation
-// -----------------------------------------------------------------------------
-//
-const QString & XQAiwRequest::operation( ) const
- {
- SMC_MOCK_METHOD0( const QString & )
- }
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::setSynchronous
-// -----------------------------------------------------------------------------
-//
-void XQAiwRequest::setSynchronous(
- bool synchronous )
- {
- SMC_MOCK_METHOD1( void, bool, synchronous )
- }
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::isSynchronous
-// -----------------------------------------------------------------------------
-//
-bool XQAiwRequest::isSynchronous( ) const
- {
- SMC_MOCK_METHOD0( bool )
- }
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::setBackground
-// -----------------------------------------------------------------------------
-//
-void XQAiwRequest::setBackground(
- bool background )
- {
- SMC_MOCK_METHOD1( void, bool, background )
- }
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::isBackground
-// -----------------------------------------------------------------------------
-//
-bool XQAiwRequest::isBackground( ) const
- {
- SMC_MOCK_METHOD0( bool )
- }
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::setInfo
-// -----------------------------------------------------------------------------
-//
-void XQAiwRequest::setInfo(
- const XQRequestInfo & requestInfo )
- {
- SMC_MOCK_METHOD1( void, const XQRequestInfo &, requestInfo )
- }
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::info
-// -----------------------------------------------------------------------------
-//
-XQRequestInfo XQAiwRequest::info( ) const
- {
- SMC_MOCK_METHOD0( XQRequestInfo )
- }
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::results
-// -----------------------------------------------------------------------------
-//
-const QVariant & XQAiwRequest::results( ) const
- {
- SMC_MOCK_METHOD0( const QVariant & )
- }
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::sendExecute
-// -----------------------------------------------------------------------------
-//
-bool XQAiwRequest::sendExecute( )
- {
- SMC_MOCK_METHOD0( bool )
- }
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::handleAsyncResponse
-// -----------------------------------------------------------------------------
-//
-void XQAiwRequest::handleAsyncResponse(const QVariant& value)
-{
- Q_UNUSED(value);
-}
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::sendFromAction
-// -----------------------------------------------------------------------------
-//
-void XQAiwRequest::sendFromAction(bool checked)
-{
- Q_UNUSED(checked);
-}
-
-
-// -----------------------------------------------------------------------------
-// XQAiwRequest::handleAsyncError
-// -----------------------------------------------------------------------------
-//
-void XQAiwRequest::handleAsyncError(int err)
-{
- Q_UNUSED(err);
-}