homescreenapp/stateplugins/hsapplibrarystateplugin/tsrc/t_installedappsstate/src/t_installedappsstate.cpp
equal
deleted
inserted
replaced
299 #ifdef UT_MEMORY_CHECK |
299 #ifdef UT_MEMORY_CHECK |
300 __UHEAP_MARK; |
300 __UHEAP_MARK; |
301 #endif//UT_MEMORY_CHECK |
301 #endif//UT_MEMORY_CHECK |
302 #endif//Q_OS_SYMBIAN |
302 #endif//Q_OS_SYMBIAN |
303 { |
303 { |
304 //QScopedPointer<HbMainWindow> window(new HbMainWindow); |
304 QScopedPointer<HbMainWindow> window(new HbMainWindow); |
305 //HsScene::setInstance( new HsScene(window.data()) ); |
305 HsScene::setInstance( new HsScene(window.data()) ); |
306 |
306 |
307 HsMenuViewBuilder builder; |
307 HsMenuViewBuilder builder; |
308 HsMainWindowMock mainWindow; |
308 HsMainWindow mainWindow; |
309 |
309 |
310 QScopedPointer<QState> parent(new QState); |
310 QScopedPointer<QState> parent(new QState); |
311 |
311 |
312 HsInstalledAppsState *installedAppsState = |
312 HsInstalledAppsState *installedAppsState = |
313 new HsInstalledAppsState(builder, mainWindow, parent.data()); |
313 new HsInstalledAppsState(builder, mainWindow, parent.data()); |