phonesettings/cpphonesettingsplugins/tsrc/mocks/mock_cpsettingformentryitemdata.cpp
changeset 36 2eacb6118286
parent 30 ebdbd102c78a
child 37 ba76fc04e6c2
equal deleted inserted replaced
30:ebdbd102c78a 36:2eacb6118286
     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 <cpsettingformentryitemdata.h>
       
    20 
       
    21 // ============================ MEMBER FUNCTIONS ===============================
       
    22 
       
    23 // -----------------------------------------------------------------------------
       
    24 // CpSettingFormEntryItemData::CpSettingFormEntryItemData
       
    25 // -----------------------------------------------------------------------------
       
    26 //
       
    27 CpSettingFormEntryItemData::CpSettingFormEntryItemData( 
       
    28         const HbDataFormModelItem * parent )
       
    29     //:
       
    30     //CpSettingFormItemData( /*parent*/ )
       
    31     {
       
    32     
       
    33     }
       
    34 
       
    35 
       
    36 // -----------------------------------------------------------------------------
       
    37 // CpSettingFormEntryItemData::CpSettingFormEntryItemData
       
    38 // -----------------------------------------------------------------------------
       
    39 //
       
    40 CpSettingFormEntryItemData::CpSettingFormEntryItemData( 
       
    41         CpItemDataHelper & itemDataHelper,
       
    42         const QString & text,
       
    43         const QString & description,
       
    44         const HbIcon & icon,
       
    45         const HbDataFormModelItem * parent )
       
    46     //:
       
    47     //CpSettingFormItemData( /*itemDataHelper, text, description, icon, parent*/ )
       
    48     {
       
    49     
       
    50     }
       
    51 
       
    52 
       
    53 // -----------------------------------------------------------------------------
       
    54 // CpSettingFormEntryItemData::CpSettingFormEntryItemData
       
    55 // -----------------------------------------------------------------------------
       
    56 //
       
    57 CpSettingFormEntryItemData::CpSettingFormEntryItemData( 
       
    58         HbDataForm * dataForm,
       
    59         const QString & text,
       
    60         const QString & description,
       
    61         const HbIcon & icon,
       
    62         const HbDataFormModelItem * parent )
       
    63     //:
       
    64     //CpSettingFormItemData( /*dataForm, text, description, icon, parent*/ )
       
    65     {
       
    66     
       
    67     }
       
    68 
       
    69 
       
    70 // -----------------------------------------------------------------------------
       
    71 // CpSettingFormEntryItemData::~CpSettingFormEntryItemData
       
    72 // -----------------------------------------------------------------------------
       
    73 //
       
    74 CpSettingFormEntryItemData::~CpSettingFormEntryItemData(  )
       
    75     {
       
    76     
       
    77     }
       
    78 
       
    79 
       
    80 // -----------------------------------------------------------------------------
       
    81 // CpSettingFormEntryItemData::text
       
    82 // -----------------------------------------------------------------------------
       
    83 //
       
    84 QString CpSettingFormEntryItemData::text(  ) const
       
    85     {
       
    86     SMC_MOCK_METHOD0( QString )
       
    87     }
       
    88 
       
    89 
       
    90 // -----------------------------------------------------------------------------
       
    91 // CpSettingFormEntryItemData::setText
       
    92 // -----------------------------------------------------------------------------
       
    93 //
       
    94 void CpSettingFormEntryItemData::setText( 
       
    95         const QString & text )
       
    96     {
       
    97     SMC_MOCK_METHOD1( void, const QString &, text )
       
    98     }
       
    99 
       
   100 
       
   101 // -----------------------------------------------------------------------------
       
   102 // CpSettingFormEntryItemData::description
       
   103 // -----------------------------------------------------------------------------
       
   104 //
       
   105 QString CpSettingFormEntryItemData::description(  ) const
       
   106     {
       
   107     SMC_MOCK_METHOD0( QString )
       
   108     }
       
   109 
       
   110 
       
   111 // -----------------------------------------------------------------------------
       
   112 // CpSettingFormEntryItemData::setDescription
       
   113 // -----------------------------------------------------------------------------
       
   114 //
       
   115 void CpSettingFormEntryItemData::setDescription( 
       
   116         const QString & description )
       
   117     {
       
   118     SMC_MOCK_METHOD1( void, const QString &, description )
       
   119     }
       
   120 
       
   121 
       
   122 // -----------------------------------------------------------------------------
       
   123 // CpSettingFormEntryItemData::entryItemIcon
       
   124 // -----------------------------------------------------------------------------
       
   125 //
       
   126 HbIcon CpSettingFormEntryItemData::entryItemIcon(  ) const
       
   127     {
       
   128 //    SMC_MOCK_METHOD0( HbIcon )
       
   129     }
       
   130 
       
   131 
       
   132 // -----------------------------------------------------------------------------
       
   133 // CpSettingFormEntryItemData::setEntryItemIcon
       
   134 // -----------------------------------------------------------------------------
       
   135 //
       
   136 void CpSettingFormEntryItemData::setEntryItemIcon( 
       
   137         const HbIcon & icon )
       
   138     {
       
   139 //    SMC_MOCK_METHOD1( void, const HbIcon &, icon )
       
   140     }
       
   141 
       
   142