equal
deleted
inserted
replaced
52 void CPhoneCallThemeMonitor::ConstructL() |
52 void CPhoneCallThemeMonitor::ConstructL() |
53 { |
53 { |
54 __LOGMETHODSTARTEND( EPhoneUIUtils, "CPhoneCallThemeMonitor::ConstructL ()" ); |
54 __LOGMETHODSTARTEND( EPhoneUIUtils, "CPhoneCallThemeMonitor::ConstructL ()" ); |
55 |
55 |
56 // Get all current values |
56 // Get all current values |
57 TRAP_IGNORE( ReadAllL() ); |
57 TRAP_IGNORE( ReadAllL() ); |
58 |
|
59 // <-- QT PHONE START--> |
|
60 // Start listen changes in setting and image path |
|
61 /*CPhoneCenRepProxy::Instance()->NotifyChangeL( |
|
62 KCRUidThemes, |
|
63 KThemesCallImagePath, |
|
64 this ); |
|
65 |
|
66 CPhoneCenRepProxy::Instance()->NotifyChangeL( |
|
67 KCRUidThemes, |
|
68 KThemesCallImageSetting, |
|
69 this );*/ |
|
70 // <-- QT PHONE END--> |
|
71 } |
58 } |
72 |
59 |
73 // ----------------------------------------------------------------------------- |
60 // ----------------------------------------------------------------------------- |
74 // CPhoneCallThemeMonitor::NewL |
61 // CPhoneCallThemeMonitor::NewL |
75 // Two-phased constructor. |
62 // Two-phased constructor. |
177 { |
164 { |
178 delete iCallerImageThemePath; |
165 delete iCallerImageThemePath; |
179 iCallerImageThemePath = NULL; |
166 iCallerImageThemePath = NULL; |
180 iCallerImageThemePath = HBufC::NewL( KMaxFilePathLength ); |
167 iCallerImageThemePath = HBufC::NewL( KMaxFilePathLength ); |
181 TPtr imagePtr ( iCallerImageThemePath->Des() ); |
168 TPtr imagePtr ( iCallerImageThemePath->Des() ); |
182 |
|
183 // <-- QT PHONE START--> |
|
184 // Get image file path |
|
185 /*CPhoneCenRepProxy::Instance()->GetString( |
|
186 KCRUidThemes, |
|
187 KThemesCallImagePath, |
|
188 imagePtr );*/ |
|
189 // <-- QT PHONE END--> |
|
190 |
169 |
191 __PHONELOG1( EBasic, EPhoneUIUtils, |
170 __PHONELOG1( EBasic, EPhoneUIUtils, |
192 "CPhoneCallThemeMonitor::ReadAllL -> image path = %S", &imagePtr ); |
171 "CPhoneCallThemeMonitor::ReadAllL -> image path = %S", &imagePtr ); |
193 } |
172 } |
194 else |
173 else |