equal
deleted
inserted
replaced
39 #include "qtphonelog.h" |
39 #include "qtphonelog.h" |
40 #include "cphoneclearblacklist.h" |
40 #include "cphoneclearblacklist.h" |
41 #include "hbinstance.h" |
41 #include "hbinstance.h" |
42 |
42 |
43 PhoneUiHouseHoldPrivate::PhoneUiHouseHoldPrivate(HbMainWindow &window) : |
43 PhoneUiHouseHoldPrivate::PhoneUiHouseHoldPrivate(HbMainWindow &window) : |
44 iAppsReady (0), iStartupSignalRecoveryId (0), iLightIdleReached (EFalse), |
44 iAppsReady (0), iStartupSignalRecoveryId (0), iLightIdleReached (EFalse), |
45 iOnScreenDialer (EFalse), iPhoneUIController (0), |
45 iPhoneUIController (0), m_window (window) |
46 m_window (window) |
|
47 { |
46 { |
48 PHONE_DEBUG("phoneui - Start phoneapp"); |
47 PHONE_DEBUG("phoneui - Start phoneapp"); |
49 |
48 |
50 TRAPD( error, ConstructL() ); |
49 TRAPD( error, ConstructL() ); |
51 qt_symbian_throwIfError(error); |
50 qt_symbian_throwIfError(error); |
330 KUidPhoneApplication.iUid ); |
329 KUidPhoneApplication.iUid ); |
331 } |
330 } |
332 |
331 |
333 // Update the Apps ready flag |
332 // Update the Apps ready flag |
334 iAppsReady += EPhoneStartedUp; |
333 iAppsReady += EPhoneStartedUp; |
335 |
|
336 if ( FeatureManager::FeatureSupported( KFeatureIdOnScreenDialer ) ) |
|
337 { |
|
338 iOnScreenDialer = ETrue; |
|
339 } |
|
340 |
334 |
341 HbMainWindow *main = hbInstance->allMainWindows().at(0); |
335 HbMainWindow *main = hbInstance->allMainWindows().at(0); |
342 RWindow *win = static_cast<RWindow *>(main->effectiveWinId()->DrawableWindow()); |
336 RWindow *win = static_cast<RWindow *>(main->effectiveWinId()->DrawableWindow()); |
343 |
337 |
344 CEikonEnv* env = CEikonEnv::Static(); |
338 CEikonEnv* env = CEikonEnv::Static(); |