phoneplugins/infowidgetplugin/tsrc/mocks/mock_infowidgetlayoutmanager.cpp
changeset 46 bc5a64e5bc3c
parent 45 6b911d05207e
child 50 377c906a8701
equal deleted inserted replaced
45:6b911d05207e 46:bc5a64e5bc3c
   241 
   241 
   242 // -----------------------------------------------------------------------------
   242 // -----------------------------------------------------------------------------
   243 // InfoWidgetLayoutManager::layoutRowHeight
   243 // InfoWidgetLayoutManager::layoutRowHeight
   244 // -----------------------------------------------------------------------------
   244 // -----------------------------------------------------------------------------
   245 //
   245 //
   246 qreal InfoWidgetLayoutManager::layoutRowHeight(  ) const
   246 qreal InfoWidgetLayoutManager::layoutRowHeight(  )
   247     {
   247     {
   248     SMC_MOCK_METHOD0( qreal )
   248     SMC_MOCK_METHOD0( qreal )
   249     }
   249     }
   250 
   250 
   251 
   251 
   254 // -----------------------------------------------------------------------------
   254 // -----------------------------------------------------------------------------
   255 //
   255 //
   256 bool InfoWidgetLayoutManager::textFitsToRect( 
   256 bool InfoWidgetLayoutManager::textFitsToRect( 
   257         QString text,
   257         QString text,
   258         QFont font,
   258         QFont font,
   259         QRectF rect )
   259         QRectF rect ) const
   260     {
   260     {
   261     SMC_MOCK_METHOD3( bool, QString, text, 
   261     SMC_MOCK_METHOD3( bool, QString, text, 
   262         QFont, font, 
   262         QFont, font, 
   263         QRectF, rect )
   263         QRectF, rect )
   264     }
   264     }
   265 
   265 
   266 
   266 
   267 // -----------------------------------------------------------------------------
   267 // -----------------------------------------------------------------------------
   268 // InfoWidgetDocumentLoader::InfoWidgetDocumentLoader
       
   269 // -----------------------------------------------------------------------------
       
   270 //
       
   271 InfoWidgetDocumentLoader::InfoWidgetDocumentLoader(  )
       
   272     //:
       
   273     //HbDocumentLoader( /**/ )
       
   274     {
       
   275     
       
   276     }
       
   277 
       
   278 
       
   279 // -----------------------------------------------------------------------------
       
   280 // InfoWidgetDocumentLoader::createObject
   268 // InfoWidgetDocumentLoader::createObject
   281 // -----------------------------------------------------------------------------
   269 // -----------------------------------------------------------------------------
   282 //
   270 //
   283 QObject * InfoWidgetDocumentLoader::createObject( 
   271 QObject * InfoWidgetDocumentLoader::createObject( 
   284         const QString & type,
   272         const QString & type,