60 // Reset flag |
60 // Reset flag |
61 if ( iViewCommandHandle ) |
61 if ( iViewCommandHandle ) |
62 { |
62 { |
63 TPhoneCmdParamBoolean dtmfSendFlag; |
63 TPhoneCmdParamBoolean dtmfSendFlag; |
64 dtmfSendFlag.SetBoolean( EFalse ); |
64 dtmfSendFlag.SetBoolean( EFalse ); |
65 // <-- QT PHONE START --> |
|
66 iViewCommandHandle->ExecuteCommand( EPhoneViewSetDtmfOptionsFlag, |
65 iViewCommandHandle->ExecuteCommand( EPhoneViewSetDtmfOptionsFlag, |
67 &dtmfSendFlag ); |
66 &dtmfSendFlag ); |
68 // <-- QT PHONE END --> |
|
69 } |
67 } |
70 } |
68 } |
71 |
69 |
72 // ----------------------------------------------------------- |
70 // ----------------------------------------------------------- |
73 // CPhoneConferenceAndSingle::ConstructL() |
71 // CPhoneConferenceAndSingle::ConstructL() |
305 void CPhoneConferenceAndSingle::HandleConnectedConferenceL() |
303 void CPhoneConferenceAndSingle::HandleConnectedConferenceL() |
306 { |
304 { |
307 __LOGMETHODSTARTEND( EPhoneUIStates, "CPhoneConferenceAndSingle::HandleConnectedConferenceL"); |
305 __LOGMETHODSTARTEND( EPhoneUIStates, "CPhoneConferenceAndSingle::HandleConnectedConferenceL"); |
308 // Update call state |
306 // Update call state |
309 TPhoneCmdParamCallHeaderData callHeaderParam; |
307 TPhoneCmdParamCallHeaderData callHeaderParam; |
310 // <-- QT PHONE START --> |
|
311 callHeaderParam.SetCallState( EPEStateConnectedConference ); |
308 callHeaderParam.SetCallState( EPEStateConnectedConference ); |
312 // <-- QT PHONE END --> |
|
313 |
309 |
314 TBuf<KPhoneCallHeaderLabelMaxLength> conferenceText( KNullDesC ); |
310 TBuf<KPhoneCallHeaderLabelMaxLength> conferenceText( KNullDesC ); |
315 TInt callLabelId = CPhoneMainResourceResolver::Instance()-> |
311 TInt callLabelId = CPhoneMainResourceResolver::Instance()-> |
316 ResolveResourceID( EPhoneCLIConferenceCall ); |
312 ResolveResourceID( EPhoneCLIConferenceCall ); |
317 |
313 |
344 // |
340 // |
345 void CPhoneConferenceAndSingle::HandleHeldConferenceL() |
341 void CPhoneConferenceAndSingle::HandleHeldConferenceL() |
346 { |
342 { |
347 __LOGMETHODSTARTEND( EPhoneUIStates, "CPhoneConferenceAndSingle::HandleHeldConferenceL"); |
343 __LOGMETHODSTARTEND( EPhoneUIStates, "CPhoneConferenceAndSingle::HandleHeldConferenceL"); |
348 TPhoneCmdParamCallHeaderData callHeaderParam; |
344 TPhoneCmdParamCallHeaderData callHeaderParam; |
349 // <-- QT PHONE START --> |
|
350 callHeaderParam.SetCallState( EPEStateHeldConference ); |
345 callHeaderParam.SetCallState( EPEStateHeldConference ); |
351 // <-- QT PHONE END --> |
|
352 |
346 |
353 TInt callLabelId; |
347 TInt callLabelId; |
354 TBuf<KPhoneCallHeaderLabelMaxLength> labelText( KNullDesC ); |
348 TBuf<KPhoneCallHeaderLabelMaxLength> labelText( KNullDesC ); |
355 callLabelId = CPhoneMainResourceResolver::Instance()-> |
349 callLabelId = CPhoneMainResourceResolver::Instance()-> |
356 ResolveResourceID( EPhoneCallOnHold ); |
350 ResolveResourceID( EPhoneCallOnHold ); |
387 TPhoneCmdParamCallHeaderData callHeaderParam; |
381 TPhoneCmdParamCallHeaderData callHeaderParam; |
388 callHeaderParam.SetCallState( EPEStateConnected ); |
382 callHeaderParam.SetCallState( EPEStateConnected ); |
389 iViewCommandHandle->ExecuteCommandL( EPhoneViewUpdateBubble, aCallId, |
383 iViewCommandHandle->ExecuteCommandL( EPhoneViewUpdateBubble, aCallId, |
390 &callHeaderParam ); |
384 &callHeaderParam ); |
391 |
385 |
392 // <-- QT PHONE START --> |
|
393 SetTouchPaneButtons( EPhoneConferenceButtons ); |
386 SetTouchPaneButtons( EPhoneConferenceButtons ); |
394 // <-- QT PHONE END --> |
|
395 } |
387 } |
396 |
388 |
397 // ----------------------------------------------------------- |
389 // ----------------------------------------------------------- |
398 // CPhoneConferenceAndSingle::HandleHeldL |
390 // CPhoneConferenceAndSingle::HandleHeldL |
399 // ----------------------------------------------------------- |
391 // ----------------------------------------------------------- |
416 callHeaderParam.SetLabelText( labelText ); |
408 callHeaderParam.SetLabelText( labelText ); |
417 |
409 |
418 iViewCommandHandle->ExecuteCommandL( EPhoneViewUpdateBubble, aCallId, |
410 iViewCommandHandle->ExecuteCommandL( EPhoneViewUpdateBubble, aCallId, |
419 &callHeaderParam ); |
411 &callHeaderParam ); |
420 |
412 |
421 // <-- QT PHONE START --> |
|
422 SetTouchPaneButtons( EPhoneConferenceButtons ); |
413 SetTouchPaneButtons( EPhoneConferenceButtons ); |
423 // <-- QT PHONE END --> |
|
424 } |
414 } |
425 |
415 |
426 // ----------------------------------------------------------- |
416 // ----------------------------------------------------------- |
427 // CPhoneConferenceAndSingle::HandleAddedConferenceMemberL |
417 // CPhoneConferenceAndSingle::HandleAddedConferenceMemberL |
428 // ----------------------------------------------------------- |
418 // ----------------------------------------------------------- |
489 iViewCommandHandle->ExecuteCommandL( EPhoneViewCloseFSW ); |
479 iViewCommandHandle->ExecuteCommandL( EPhoneViewCloseFSW ); |
490 |
480 |
491 // Check if HW Keys or Call UI should be disabled |
481 // Check if HW Keys or Call UI should be disabled |
492 CheckDisableHWKeysAndCallUIL(); |
482 CheckDisableHWKeysAndCallUIL(); |
493 |
483 |
494 // <-- QT PHONE START --> |
|
495 // Display incoming call |
484 // Display incoming call |
496 DisplayIncomingCallL( aCallId, dialerParam ); |
485 DisplayIncomingCallL( aCallId, dialerParam ); |
497 |
486 |
498 // Set touch controls |
487 // Set touch controls |
499 SetTouchPaneButtonDisabled( EPhoneCallComingCmdAnswer ); |
488 SetTouchPaneButtonDisabled( EPhoneCallComingCmdAnswer ); |
500 SetTouchPaneButtons( EPhoneWaitingCallButtons ); |
489 SetTouchPaneButtons( EPhoneWaitingCallButtons ); |
501 // <-- QT PHONE END --> |
|
502 |
490 |
503 EndUiUpdate(); |
491 EndUiUpdate(); |
504 |
492 |
505 TPhoneCmdParamBoolean conferenceAndSingleFlag; |
493 TPhoneCmdParamBoolean conferenceAndSingleFlag; |
506 conferenceAndSingleFlag.SetBoolean( EFalse ); |
494 conferenceAndSingleFlag.SetBoolean( EFalse ); |
507 iViewCommandHandle->ExecuteCommandL( EPhoneViewSetConferenceAndSingleFlag, |
495 iViewCommandHandle->ExecuteCommandL( EPhoneViewSetConferenceAndSingleFlag, |
508 &conferenceAndSingleFlag ); |
496 &conferenceAndSingleFlag ); |
509 |
497 |
510 // Go to Conference And Single And Waiting state |
498 // Go to Conference And Single And Waiting state |
511 UpdateCbaL( EPhoneCallHandlingCallWaitingCBA ); |
499 UpdateCbaL( EPhoneCallHandlingIncomingRejectCBA ); |
512 iStateMachine->ChangeState( EPhoneStateConferenceAndSingleAndWaiting ); |
500 iStateMachine->ChangeState( EPhoneStateConferenceAndSingleAndWaiting ); |
513 } |
501 } |
514 |
502 |
515 // ----------------------------------------------------------- |
503 // ----------------------------------------------------------- |
516 // CPhoneConferenceAndSingle::HandleIdleL |
504 // CPhoneConferenceAndSingle::HandleIdleL |