15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 // INCLUDE FILES |
19 // INCLUDE FILES |
20 #include <mcauireconnectqueryobserver.h> |
20 // <-- QT PHONE START --> |
|
21 //#include <mcauireconnectqueryobserver.h> |
|
22 // <-- QT PHONE END --> |
21 #include <mpeengineinfo.h> |
23 #include <mpeengineinfo.h> |
22 |
24 |
23 #include "cphonereconnectquery.h" |
25 #include "cphonereconnectquery.h" |
24 #include "phoneconstants.h" |
26 #include "phoneconstants.h" |
25 #include "phonelogger.h" |
27 #include "phonelogger.h" |
26 #include "phonerssbase.h" |
28 #include "phonerssbase.h" |
27 #include "cphonetimer.h" |
29 #include "cphonetimer.h" |
28 #include "cphonestatehandle.h" |
30 #include "cphonestatehandle.h" |
29 #include "tphonecmdparamboolean.h" |
31 #include "tphonecmdparamboolean.h" |
30 #include "tphonecmdparaminteger.h" |
32 #include "tphonecmdparaminteger.h" |
31 #include "tphonecmdparammessageeditor.h" |
33 // <-- QT PHONE START --> |
32 #include "tphonecmdparamreconnectquery.h" |
34 //#include "tphonecmdparammessageeditor.h" |
|
35 //#include "tphonecmdparamreconnectquery.h" |
|
36 // <-- QT PHONE END --> |
33 #include "cphonemainresourceresolver.h" |
37 #include "cphonemainresourceresolver.h" |
34 |
38 |
35 // ================= MEMBER FUNCTIONS ======================= |
39 // ================= MEMBER FUNCTIONS ======================= |
36 |
40 |
37 // ----------------------------------------------------------------------------- |
41 // ----------------------------------------------------------------------------- |
105 // ----------------------------------------------------------- |
109 // ----------------------------------------------------------- |
106 // |
110 // |
107 void CPhoneReconnectQuery::HandleTimeOutL() |
111 void CPhoneReconnectQuery::HandleTimeOutL() |
108 { |
112 { |
109 __LOGMETHODSTARTEND( EPhoneControl, "CPhoneReconnectQuery::HandleTimeOutL( ) "); |
113 __LOGMETHODSTARTEND( EPhoneControl, "CPhoneReconnectQuery::HandleTimeOutL( ) "); |
110 |
114 // <-- QT PHONE START --> |
111 TPhoneCmdParamReconnectQuery reconQueryParam( *this ); |
115 /* TPhoneCmdParamReconnectQuery reconQueryParam( *this ); |
112 // Recipient number to CallUIs reconnect query in case message selected |
116 // Recipient number to CallUIs reconnect query in case message selected |
113 TPtrC phoneNumber( CPhoneStateHandle::Instance()->StateMachine()-> |
117 TPtrC phoneNumber( CPhoneStateHandle::Instance()->StateMachine()-> |
114 PhoneEngineInfo()->PhoneNumber() ); |
118 PhoneEngineInfo()->PhoneNumber() ); |
115 reconQueryParam.SetPhoneNumber( phoneNumber ); |
119 reconQueryParam.SetPhoneNumber( phoneNumber ); |
116 reconQueryParam.SetIncludeVideoOption( iIncludeVideo ); |
120 reconQueryParam.SetIncludeVideoOption( iIncludeVideo ); |
117 // Display reconnect query |
121 // Display reconnect query |
118 CPhoneStateHandle::Instance()->ViewCommandHandle()-> |
122 CPhoneStateHandle::Instance()->ViewCommandHandle()-> |
119 ExecuteCommandL( EPhoneViewShowQuery, &reconQueryParam ); |
123 ExecuteCommandL( EPhoneViewShowQuery, &reconQueryParam ); |
120 iDisplayingQuery = ETrue; |
124 iDisplayingQuery = ETrue;*/ |
|
125 // <-- QT PHONE END --> |
|
126 |
121 } |
127 } |
122 |
128 |
123 // ----------------------------------------------------------- |
129 // ----------------------------------------------------------- |
124 // CPhoneReconnectQuery::OptionSelected |
130 // CPhoneReconnectQuery::OptionSelected |
125 // ----------------------------------------------------------- |
131 // ----------------------------------------------------------- |
170 __LOGMETHODSTARTEND( EPhoneControl, "CPhoneReconnectQuery::ShowNumberEntryL( ) "); |
176 __LOGMETHODSTARTEND( EPhoneControl, "CPhoneReconnectQuery::ShowNumberEntryL( ) "); |
171 // Show number entry |
177 // Show number entry |
172 TPhoneCmdParamBoolean booleanParam; |
178 TPhoneCmdParamBoolean booleanParam; |
173 booleanParam.SetBoolean( ETrue ); |
179 booleanParam.SetBoolean( ETrue ); |
174 CPhoneStateHandle::Instance()->ViewCommandHandle()-> |
180 CPhoneStateHandle::Instance()->ViewCommandHandle()-> |
175 ExecuteCommandL( EPhoneViewSetNumberEntryVisible, &booleanParam ); |
181 ExecuteCommandL( EPhoneViewSetNumberEntryVisible, &booleanParam ); |
176 |
182 |
177 // Set Number Entry CBA |
183 // Set Number Entry CBA |
178 TPhoneCmdParamInteger integerParam; |
184 TPhoneCmdParamInteger integerParam; |
179 integerParam.SetInteger( CPhoneMainResourceResolver::Instance()-> |
185 integerParam.SetInteger( CPhoneMainResourceResolver::Instance()-> |
180 ResolveResourceID( EPhoneNumberAcqCBA ) ); |
186 ResolveResourceID( EPhoneNumberAcqCBA ) ); |