phonesettings/cpphonesettingsplugins/tsrc/mocks/mock_hbdataform.cpp
changeset 45 6b911d05207e
parent 21 92ab7f8d0eab
child 78 baacf668fe89
equal deleted inserted replaced
37:ba76fc04e6c2 45:6b911d05207e
    28 HbAbstractItemContainer* temp2(NULL);
    28 HbAbstractItemContainer* temp2(NULL);
    29 
    29 
    30 HbDataForm::HbDataForm( 
    30 HbDataForm::HbDataForm( 
    31         HbDataFormPrivate & /*dd*/,
    31         HbDataFormPrivate & /*dd*/,
    32         HbAbstractItemContainer * /*container*/,
    32         HbAbstractItemContainer * /*container*/,
    33         QGraphicsItem * parent ) : HbAbstractItemView( *temp, temp2, parent)
    33         QGraphicsItem * parent ) : HbAbstractItemView( *temp, temp2, 0, parent)
    34     {
    34     {
    35     
    35     
    36     }
    36     }
    37 
    37 
    38 
    38 
    79     {
    79     {
    80   //  SMC_MOCK_METHOD2( void, const QModelIndex &, index, 
    80   //  SMC_MOCK_METHOD2( void, const QModelIndex &, index, 
    81     //    ScrollHint, hint )
    81     //    ScrollHint, hint )
    82     }
    82     }
    83 
    83 
    84 
       
    85 // -----------------------------------------------------------------------------
       
    86 // HbDataForm::indexCount
       
    87 // -----------------------------------------------------------------------------
       
    88 //
       
    89 int HbDataForm::indexCount(  ) const
       
    90     {
       
    91     SMC_MOCK_METHOD0( int )
       
    92     }
       
    93 
       
    94 
       
    95 // -----------------------------------------------------------------------------
       
    96 // HbDataForm::nextIndex
       
    97 // -----------------------------------------------------------------------------
       
    98 //
       
    99 QModelIndex HbDataForm::nextIndex( 
       
   100         const QModelIndex & index ) const
       
   101     {
       
   102 //    SMC_MOCK_METHOD1( QModelIndex, const QModelIndex &, index )
       
   103     }
       
   104 
       
   105 
       
   106 // -----------------------------------------------------------------------------
       
   107 // HbDataForm::previousIndex
       
   108 // -----------------------------------------------------------------------------
       
   109 //
       
   110 QModelIndex HbDataForm::previousIndex( 
       
   111         const QModelIndex & index ) const
       
   112     {
       
   113 //    SMC_MOCK_METHOD1( QModelIndex, const QModelIndex &, index )
       
   114     }
       
   115 
       
   116 
       
   117 // -----------------------------------------------------------------------------
    84 // -----------------------------------------------------------------------------
   118 // HbDataForm::setExpanded
    85 // HbDataForm::setExpanded
   119 // -----------------------------------------------------------------------------
    86 // -----------------------------------------------------------------------------
   120 //
    87 //
   121 void HbDataForm::setExpanded( 
    88 void HbDataForm::setExpanded( 
   186 //
   153 //
   187 QGraphicsItem * HbDataForm::primitive( 
   154 QGraphicsItem * HbDataForm::primitive( 
   188         HbStyle::Primitive primitive ) const
   155         HbStyle::Primitive primitive ) const
   189     {
   156     {
   190  //   SMC_MOCK_METHOD1( QGraphicsItem *, HbStyle::Primitive, primitive )
   157  //   SMC_MOCK_METHOD1( QGraphicsItem *, HbStyle::Primitive, primitive )
   191     }
       
   192 
       
   193 
       
   194 // -----------------------------------------------------------------------------
       
   195 // HbDataForm::dataFormViewItem
       
   196 // -----------------------------------------------------------------------------
       
   197 //
       
   198 HbDataFormViewItem * HbDataForm::dataFormViewItem( 
       
   199         const QModelIndex & index ) const
       
   200     {
       
   201   //  SMC_MOCK_METHOD1( HbDataFormViewItem *, const QModelIndex &, index )
       
   202     }
   158     }
   203 
   159 
   204 
   160 
   205 // -----------------------------------------------------------------------------
   161 // -----------------------------------------------------------------------------
   206 // HbDataForm::setModel
   162 // HbDataForm::setModel
   269 //    SMC_MOCK_METHOD1( void, HbDataFormModelItem *, item )
   225 //    SMC_MOCK_METHOD1( void, HbDataFormModelItem *, item )
   270     }
   226     }
   271 
   227 
   272 
   228 
   273 // -----------------------------------------------------------------------------
   229 // -----------------------------------------------------------------------------
   274 // HbDataForm::loadSettings
       
   275 // -----------------------------------------------------------------------------
       
   276 //
       
   277 void HbDataForm::loadSettings(  )
       
   278     {
       
   279     SMC_MOCK_METHOD0( void )
       
   280     }
       
   281 
       
   282 
       
   283 // -----------------------------------------------------------------------------
       
   284 // HbDataForm::storeSettings
       
   285 // -----------------------------------------------------------------------------
       
   286 //
       
   287 void HbDataForm::storeSettings(  )
       
   288     {
       
   289     SMC_MOCK_METHOD0( void )
       
   290     }
       
   291 
       
   292 
       
   293 // -----------------------------------------------------------------------------
       
   294 // HbDataForm::itemShown
   230 // HbDataForm::itemShown
   295 // -----------------------------------------------------------------------------
   231 // -----------------------------------------------------------------------------
   296 //
   232 //
   297 void HbDataForm::itemShown( 
   233 void HbDataForm::itemShown( 
   298         const QModelIndex & index )
   234         const QModelIndex & index )