phonesettings/cpphonesettingsplugins/tsrc/mocks/mock_cpsettingformentryitemdata.cpp
changeset 45 6b911d05207e
parent 21 92ab7f8d0eab
equal deleted inserted replaced
37:ba76fc04e6c2 45:6b911d05207e
     1 /* 
     1 /*
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
    66     
    66     
    67     }
    67     }
    68 
    68 
    69 
    69 
    70 // -----------------------------------------------------------------------------
    70 // -----------------------------------------------------------------------------
       
    71 // CpSettingFormEntryItemData::CpSettingFormEntryItemData
       
    72 // -----------------------------------------------------------------------------
       
    73 //
       
    74 CpSettingFormEntryItemData::CpSettingFormEntryItemData( 
       
    75         EntryItemType type,
       
    76         CpItemDataHelper & itemDataHelper,
       
    77         const QString & text,
       
    78         const QString & description,
       
    79         const QString & iconName,
       
    80         const HbDataFormModelItem * parent )
       
    81     //:
       
    82     //CpSettingFormItemData( /*type, itemDataHelper, text, description, iconName, parent*/ )
       
    83     {
       
    84     
       
    85     }
       
    86 
       
    87 
       
    88 // -----------------------------------------------------------------------------
       
    89 // CpSettingFormEntryItemData::CpSettingFormEntryItemData
       
    90 // -----------------------------------------------------------------------------
       
    91 //
       
    92 CpSettingFormEntryItemData::CpSettingFormEntryItemData( 
       
    93         EntryItemType type,
       
    94         HbDataForm * dataForm,
       
    95         const QString & text,
       
    96         const QString & description,
       
    97         const QString & iconName,
       
    98         const HbDataFormModelItem * parent )
       
    99     //:
       
   100     //CpSettingFormItemData( /*type, dataForm, text, description, iconName, parent*/ )
       
   101     {
       
   102     
       
   103     }
       
   104 
       
   105 
       
   106 // -----------------------------------------------------------------------------
    71 // CpSettingFormEntryItemData::~CpSettingFormEntryItemData
   107 // CpSettingFormEntryItemData::~CpSettingFormEntryItemData
    72 // -----------------------------------------------------------------------------
   108 // -----------------------------------------------------------------------------
    73 //
   109 //
    74 CpSettingFormEntryItemData::~CpSettingFormEntryItemData(  )
   110 CpSettingFormEntryItemData::~CpSettingFormEntryItemData(  )
    75     {
   111     {
   118     SMC_MOCK_METHOD1( void, const QString &, description )
   154     SMC_MOCK_METHOD1( void, const QString &, description )
   119     }
   155     }
   120 
   156 
   121 
   157 
   122 // -----------------------------------------------------------------------------
   158 // -----------------------------------------------------------------------------
       
   159 // CpSettingFormEntryItemData::iconName
       
   160 // -----------------------------------------------------------------------------
       
   161 //
       
   162 QString CpSettingFormEntryItemData::iconName(  ) const
       
   163     {
       
   164     SMC_MOCK_METHOD0( QString )
       
   165     }
       
   166 
       
   167 
       
   168 // -----------------------------------------------------------------------------
       
   169 // CpSettingFormEntryItemData::setIconName
       
   170 // -----------------------------------------------------------------------------
       
   171 //
       
   172 void CpSettingFormEntryItemData::setIconName( 
       
   173         const QString & icon )
       
   174     {
       
   175     SMC_MOCK_METHOD1( void, const QString &, icon )
       
   176     }
       
   177 
       
   178 
       
   179 // -----------------------------------------------------------------------------
   123 // CpSettingFormEntryItemData::entryItemIcon
   180 // CpSettingFormEntryItemData::entryItemIcon
   124 // -----------------------------------------------------------------------------
   181 // -----------------------------------------------------------------------------
   125 //
   182 //
   126 HbIcon CpSettingFormEntryItemData::entryItemIcon(  ) const
   183 HbIcon CpSettingFormEntryItemData::entryItemIcon(  ) const
   127     {
   184     {
   128 //    SMC_MOCK_METHOD0( HbIcon )
   185     SMC_MOCK_METHOD0( HbIcon )
   129     }
   186     }
   130 
   187 
   131 
   188 
   132 // -----------------------------------------------------------------------------
   189 // -----------------------------------------------------------------------------
   133 // CpSettingFormEntryItemData::setEntryItemIcon
   190 // CpSettingFormEntryItemData::setEntryItemIcon
   134 // -----------------------------------------------------------------------------
   191 // -----------------------------------------------------------------------------
   135 //
   192 //
   136 void CpSettingFormEntryItemData::setEntryItemIcon( 
   193 void CpSettingFormEntryItemData::setEntryItemIcon( 
   137         const HbIcon & icon )
   194         const HbIcon & icon )
   138     {
   195     {
   139 //    SMC_MOCK_METHOD1( void, const HbIcon &, icon )
   196     SMC_MOCK_METHOD1( void, const HbIcon &, icon )
   140     }
   197     }
   141 
   198 
   142 
   199 
       
   200 // -----------------------------------------------------------------------------
       
   201 // CpSettingFormEntryItemData::onLaunchView
       
   202 // -----------------------------------------------------------------------------
       
   203 //
       
   204 void CpSettingFormEntryItemData::onLaunchView(  )
       
   205     {
       
   206     SMC_MOCK_METHOD0( void )
       
   207     }
       
   208 
       
   209