phoneplugins/infowidgetplugin/infowidgetprovider/tsrc/mocks/mock_infowidgetpreferences.cpp
changeset 22 6bb1b21d2484
child 27 2f8f8080a020
equal deleted inserted replaced
21:92ab7f8d0eab 22:6bb1b21d2484
       
     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 "infowidgetpreferences.h"
       
    20 
       
    21 // ============================ MEMBER FUNCTIONS ===============================
       
    22 
       
    23 // -----------------------------------------------------------------------------
       
    24 // InfoWidgetPreferences::InfoWidgetPreferences
       
    25 // -----------------------------------------------------------------------------
       
    26 //
       
    27 InfoWidgetPreferences::InfoWidgetPreferences( 
       
    28         QObject * parent ):
       
    29     QObject( parent )
       
    30     {
       
    31     
       
    32     }
       
    33 
       
    34 
       
    35 // -----------------------------------------------------------------------------
       
    36 // InfoWidgetPreferences::~InfoWidgetPreferences
       
    37 // -----------------------------------------------------------------------------
       
    38 //
       
    39 InfoWidgetPreferences::~InfoWidgetPreferences(  )
       
    40     {
       
    41     
       
    42     }
       
    43 
       
    44 
       
    45 // -----------------------------------------------------------------------------
       
    46 // InfoWidgetPreferences::loadPreferences
       
    47 // -----------------------------------------------------------------------------
       
    48 //
       
    49 void InfoWidgetPreferences::loadPreferences(  )
       
    50     {
       
    51     SMC_MOCK_METHOD0( void )
       
    52     }
       
    53 
       
    54 
       
    55 // -----------------------------------------------------------------------------
       
    56 // InfoWidgetPreferences::storePreferences
       
    57 // -----------------------------------------------------------------------------
       
    58 //
       
    59 void InfoWidgetPreferences::storePreferences(  )
       
    60     {
       
    61     SMC_MOCK_METHOD0( void )
       
    62     }
       
    63 
       
    64 
       
    65 // -----------------------------------------------------------------------------
       
    66 // InfoWidgetPreferences::preference
       
    67 // -----------------------------------------------------------------------------
       
    68 //
       
    69 QString InfoWidgetPreferences::preference( 
       
    70         Option preferenceId ) const
       
    71     {
       
    72     SMC_MOCK_METHOD1( QString, Option, preferenceId )
       
    73     }
       
    74 
       
    75 
       
    76 // -----------------------------------------------------------------------------
       
    77 // InfoWidgetPreferences::setPreference
       
    78 // -----------------------------------------------------------------------------
       
    79 //
       
    80 void InfoWidgetPreferences::setPreference( 
       
    81         Option preferenceId,
       
    82         const QString & preferenceString )
       
    83     {
       
    84     SMC_MOCK_METHOD2( void, Option, preferenceId, 
       
    85         const QString &, preferenceString )
       
    86     }
       
    87 
       
    88 
       
    89 // -----------------------------------------------------------------------------
       
    90 // InfoWidgetPreferences::visibleItemCount
       
    91 // -----------------------------------------------------------------------------
       
    92 //
       
    93 int InfoWidgetPreferences::visibleItemCount(  )
       
    94     {
       
    95     SMC_MOCK_METHOD0( int )
       
    96     }
       
    97 
       
    98