phonesettings/cpphonesettingsplugins/tsrc/mocks/mock_cellulardatasettings.cpp
changeset 27 2f8f8080a020
equal deleted inserted replaced
22:6bb1b21d2484 27:2f8f8080a020
       
     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 <smcmockclassincludes.h>
       
    19 #include <cellulardatasettings.h>
       
    20 
       
    21 // ============================ MEMBER FUNCTIONS ===============================
       
    22 
       
    23 // -----------------------------------------------------------------------------
       
    24 // CellularDataSettings::CellularDataSettings
       
    25 // -----------------------------------------------------------------------------
       
    26 //
       
    27 CellularDataSettings::CellularDataSettings(  )
       
    28     //:
       
    29     //QObject( /**/ )
       
    30     {
       
    31     
       
    32     }
       
    33 
       
    34 
       
    35 // -----------------------------------------------------------------------------
       
    36 // CellularDataSettings::~CellularDataSettings
       
    37 // -----------------------------------------------------------------------------
       
    38 //
       
    39 CellularDataSettings::~CellularDataSettings(  )
       
    40     {
       
    41     
       
    42     }
       
    43 
       
    44 
       
    45 // -----------------------------------------------------------------------------
       
    46 // CellularDataSettings::dataUseHome
       
    47 // -----------------------------------------------------------------------------
       
    48 //
       
    49 int CellularDataSettings::dataUseHome(  )
       
    50     {
       
    51     SMC_MOCK_METHOD0( int )
       
    52     }
       
    53 
       
    54 
       
    55 // -----------------------------------------------------------------------------
       
    56 // CellularDataSettings::setDataUseHome
       
    57 // -----------------------------------------------------------------------------
       
    58 //
       
    59 void CellularDataSettings::setDataUseHome( 
       
    60         int value )
       
    61     {
       
    62     SMC_MOCK_METHOD1( void, int, value )
       
    63     }
       
    64 
       
    65 
       
    66 // -----------------------------------------------------------------------------
       
    67 // CellularDataSettings::dataUseRoam
       
    68 // -----------------------------------------------------------------------------
       
    69 //
       
    70 int CellularDataSettings::dataUseRoam(  )
       
    71     {
       
    72     SMC_MOCK_METHOD0( int )
       
    73     }
       
    74 
       
    75 
       
    76 // -----------------------------------------------------------------------------
       
    77 // CellularDataSettings::setDataUseRoam
       
    78 // -----------------------------------------------------------------------------
       
    79 //
       
    80 void CellularDataSettings::setDataUseRoam( 
       
    81         int value )
       
    82     {
       
    83     SMC_MOCK_METHOD1( void, int, value )
       
    84     }
       
    85 
       
    86