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