homescreenapp/hsdomainmodel/src/hsscene.cpp
changeset 69 87476091b3f5
parent 63 52b0f64eeb51
equal deleted inserted replaced
67:474929a40a0f 69:87476091b3f5
   319 }
   319 }
   320 
   320 
   321 /*!
   321 /*!
   322     Return main window.
   322     Return main window.
   323 */
   323 */
   324 HbMainWindow *HsScene::mainWindow()
   324 /*HbMainWindow *HsGui::instance()
   325 {
   325 {
   326     return hbInstance->allMainWindows().first();
   326     return hbInstance->allMainWindows().first();
   327 }
   327 }
   328 
   328 */
   329 /*!
   329 /*!
   330     Return current orientation.
   330     Return current orientation.
   331 */
   331 */
   332 Qt::Orientation HsScene::orientation()
   332 /*Qt::Orientation HsGui::instance()->orientation()
   333 {
   333 {
   334     return mainWindow()->orientation();
   334     return mainWindow()->orientation();
   335 }
   335 }*/
   336 
   336 
   337 /*!
   337 /*!
   338     Listens for application background/foreground changes.
   338     Listens for application background/foreground changes.
   339 */
   339 */
   340 bool HsScene::eventFilter(QObject *watched, QEvent *event)
   340 bool HsScene::eventFilter(QObject *watched, QEvent *event)