equal
deleted
inserted
replaced
45 void CPhoneQwertyModeMonitor::ConstructL() |
45 void CPhoneQwertyModeMonitor::ConstructL() |
46 { |
46 { |
47 // Current Call state. |
47 // Current Call state. |
48 iQwertyMode = GetQwertyMode(); |
48 iQwertyMode = GetQwertyMode(); |
49 |
49 |
50 CPhonePubSubProxy::Instance()->NotifyChangeL( |
50 // <-- QT PHONE START--> |
|
51 /* CPhonePubSubProxy::Instance()->NotifyChangeL( |
51 KCRUidAvkon, |
52 KCRUidAvkon, |
52 KAknQwertyInputModeActive, |
53 KAknQwertyInputModeActive, |
53 this ); |
54 this );*/ |
|
55 |
54 |
56 |
55 iKeyboard = GetKeyboard(); |
57 iKeyboard = GetKeyboard(); |
56 |
58 |
57 #ifdef RD_INTELLIGENT_TEXT_INPUT |
59 #ifdef RD_INTELLIGENT_TEXT_INPUT |
58 CPhonePubSubProxy::Instance()->NotifyChangeL( |
60 /* CPhonePubSubProxy::Instance()->NotifyChangeL( |
59 KCRUidAvkon, |
61 KCRUidAvkon, |
60 KAknKeyBoardLayout, |
62 KAknKeyBoardLayout, |
61 this ); |
63 this );*/ |
62 #endif |
64 #endif |
|
65 // <-- QT PHONE END--> |
63 } |
66 } |
64 |
67 |
65 // ----------------------------------------------------------------------------- |
68 // ----------------------------------------------------------------------------- |
66 // CPhoneQwertyModeMonitor::NewL |
69 // CPhoneQwertyModeMonitor::NewL |
67 // ----------------------------------------------------------------------------- |
70 // ----------------------------------------------------------------------------- |
169 // ----------------------------------------------------------------------------- |
172 // ----------------------------------------------------------------------------- |
170 // |
173 // |
171 TInt CPhoneQwertyModeMonitor::GetQwertyMode() const |
174 TInt CPhoneQwertyModeMonitor::GetQwertyMode() const |
172 { |
175 { |
173 // Get call state. |
176 // Get call state. |
174 TInt qwertyMode( CPhonePubSubProxy::Instance()->Value( |
177 /*TInt qwertyMode( CPhonePubSubProxy::Instance()->Value( |
175 KCRUidAvkon, |
178 KCRUidAvkon, |
176 KAknQwertyInputModeActive ) ); |
179 KAknQwertyInputModeActive ) );*/ |
|
180 TInt qwertyMode(0); |
177 |
181 |
178 return qwertyMode; |
182 return qwertyMode; |
179 } |
183 } |
180 |
184 |
181 // ----------------------------------------------------------------------------- |
185 // ----------------------------------------------------------------------------- |
183 // ----------------------------------------------------------------------------- |
187 // ----------------------------------------------------------------------------- |
184 // |
188 // |
185 TInt CPhoneQwertyModeMonitor::GetKeyboard() const |
189 TInt CPhoneQwertyModeMonitor::GetKeyboard() const |
186 { |
190 { |
187 // Get call state. |
191 // Get call state. |
188 TInt keyboard( CPhonePubSubProxy::Instance()->Value( |
192 // <-- QT PHONE START--> |
|
193 /* TInt keyboard( CPhonePubSubProxy::Instance()->Value( |
189 KCRUidAvkon, |
194 KCRUidAvkon, |
190 KAknKeyBoardLayout ) ); |
195 KAknKeyBoardLayout ) );*/ |
|
196 TInt keyboard(0); |
|
197 // <-- QT PHONE END--> |
191 |
198 |
192 return keyboard; |
199 return keyboard; |
193 } |
200 } |
194 |
201 |
195 // End of File |
202 // End of File |