equal
deleted
inserted
replaced
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) |