telutils/dialpad/tsrc/unit/shared/mock_xqrequestinfo.cpp
branchRCL_3
changeset 20 987c9837762f
parent 19 7d48bed6ce0c
child 21 0a6dd2dc9970
equal deleted inserted replaced
19:7d48bed6ce0c 20:987c9837762f
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 #include <QDebug>
       
    18 #include <QStringList>
       
    19 #include <QSet>
       
    20 #include <smcmockclassincludes.h>
       
    21 #include "xqrequestinfo.h"
       
    22 
       
    23 // ============================ MEMBER FUNCTIONS ===============================
       
    24 
       
    25 // -----------------------------------------------------------------------------
       
    26 // XQRequestInfo::XQRequestInfo
       
    27 // -----------------------------------------------------------------------------
       
    28 //
       
    29 XQRequestInfo::XQRequestInfo(  )
       
    30     {
       
    31     
       
    32     }
       
    33 
       
    34 
       
    35 // -----------------------------------------------------------------------------
       
    36 // XQRequestInfo::~XQRequestInfo
       
    37 // -----------------------------------------------------------------------------
       
    38 //
       
    39 XQRequestInfo::~XQRequestInfo(  )
       
    40     {
       
    41     
       
    42     }
       
    43 
       
    44 
       
    45 // -----------------------------------------------------------------------------
       
    46 // XQRequestInfo::isValid
       
    47 // -----------------------------------------------------------------------------
       
    48 //
       
    49 bool XQRequestInfo::isValid(  ) const
       
    50     {
       
    51     SMC_MOCK_METHOD0( bool )
       
    52     }
       
    53 
       
    54 
       
    55 // -----------------------------------------------------------------------------
       
    56 // XQRequestInfo::setEmbedded
       
    57 // -----------------------------------------------------------------------------
       
    58 //
       
    59 void XQRequestInfo::setEmbedded( 
       
    60         bool on )
       
    61     {
       
    62     SMC_MOCK_METHOD1( void, bool, on )
       
    63     }
       
    64 
       
    65 
       
    66 // -----------------------------------------------------------------------------
       
    67 // XQRequestInfo::isEmbedded
       
    68 // -----------------------------------------------------------------------------
       
    69 //
       
    70 bool XQRequestInfo::isEmbedded(  ) const
       
    71     {
       
    72     SMC_MOCK_METHOD0( bool )
       
    73     }
       
    74 
       
    75 
       
    76 // -----------------------------------------------------------------------------
       
    77 // XQRequestInfo::setBackground
       
    78 // -----------------------------------------------------------------------------
       
    79 //
       
    80 void XQRequestInfo::setBackground( 
       
    81         bool on )
       
    82     {
       
    83     SMC_MOCK_METHOD1( void, bool, on )
       
    84     }
       
    85 
       
    86 
       
    87 // -----------------------------------------------------------------------------
       
    88 // XQRequestInfo::isBackground
       
    89 // -----------------------------------------------------------------------------
       
    90 //
       
    91 bool XQRequestInfo::isBackground(  ) const
       
    92     {
       
    93     SMC_MOCK_METHOD0( bool )
       
    94     }
       
    95 
       
    96 
       
    97 // -----------------------------------------------------------------------------
       
    98 // XQRequestInfo::isSynchronous
       
    99 // -----------------------------------------------------------------------------
       
   100 //
       
   101 bool XQRequestInfo::isSynchronous(  ) const
       
   102     {
       
   103     SMC_MOCK_METHOD0( bool )
       
   104     }
       
   105 
       
   106 
       
   107 // -----------------------------------------------------------------------------
       
   108 // XQRequestInfo::setForeground
       
   109 // -----------------------------------------------------------------------------
       
   110 //
       
   111 void XQRequestInfo::setForeground( 
       
   112         bool on )
       
   113     {
       
   114     SMC_MOCK_METHOD1( void, bool, on )
       
   115     }
       
   116 
       
   117 
       
   118 // -----------------------------------------------------------------------------
       
   119 // XQRequestInfo::isForeground
       
   120 // -----------------------------------------------------------------------------
       
   121 //
       
   122 bool XQRequestInfo::isForeground(  ) const
       
   123     {
       
   124     SMC_MOCK_METHOD0( bool )
       
   125     }
       
   126 
       
   127 
       
   128 // -----------------------------------------------------------------------------
       
   129 // XQRequestInfo::clientSecureId
       
   130 // -----------------------------------------------------------------------------
       
   131 //
       
   132 quint32 XQRequestInfo::clientSecureId(  ) const
       
   133     {
       
   134     SMC_MOCK_METHOD0( quint32 )
       
   135     }
       
   136 
       
   137 
       
   138 // -----------------------------------------------------------------------------
       
   139 // XQRequestInfo::clientVendorId
       
   140 // -----------------------------------------------------------------------------
       
   141 //
       
   142 quint32 XQRequestInfo::clientVendorId(  ) const
       
   143     {
       
   144     SMC_MOCK_METHOD0( quint32 )
       
   145     }
       
   146 
       
   147 
       
   148 // -----------------------------------------------------------------------------
       
   149 // XQRequestInfo::clientCapabilities
       
   150 // -----------------------------------------------------------------------------
       
   151 //
       
   152 QSet <int > XQRequestInfo::clientCapabilities(  ) const
       
   153     {
       
   154     SMC_MOCK_METHOD0( QSet <int > )
       
   155     }
       
   156 
       
   157 
       
   158 // -----------------------------------------------------------------------------
       
   159 // XQRequestInfo::id
       
   160 // -----------------------------------------------------------------------------
       
   161 //
       
   162 int XQRequestInfo::id(  ) const
       
   163     {
       
   164     SMC_MOCK_METHOD0( int )
       
   165     }
       
   166 
       
   167 
       
   168 // -----------------------------------------------------------------------------
       
   169 // XQRequestInfo::setInfo
       
   170 // -----------------------------------------------------------------------------
       
   171 //
       
   172 void XQRequestInfo::setInfo( 
       
   173         const QString & key,
       
   174         const QVariant & value )
       
   175     {
       
   176     SMC_MOCK_METHOD2( void, const QString &, key, 
       
   177         const QVariant &, value )
       
   178     }
       
   179 
       
   180 
       
   181 // -----------------------------------------------------------------------------
       
   182 // XQRequestInfo::info
       
   183 // -----------------------------------------------------------------------------
       
   184 //
       
   185 QVariant XQRequestInfo::info( 
       
   186         const QString & key ) const
       
   187     {
       
   188     SMC_MOCK_METHOD1( QVariant, const QString &, key )
       
   189     }
       
   190 
       
   191 
       
   192 // -----------------------------------------------------------------------------
       
   193 // XQRequestInfo::infoKeys
       
   194 // -----------------------------------------------------------------------------
       
   195 //
       
   196 QStringList XQRequestInfo::infoKeys(  ) const
       
   197     {
       
   198     SMC_MOCK_METHOD0( QStringList )
       
   199     }