equal
deleted
inserted
replaced
334 void CPhoneTwoSinglesAndWaiting::StateTransitionToSingleAndWaitingL() |
334 void CPhoneTwoSinglesAndWaiting::StateTransitionToSingleAndWaitingL() |
335 { |
335 { |
336 __LOGMETHODSTARTEND( EPhoneUIStates, |
336 __LOGMETHODSTARTEND( EPhoneUIStates, |
337 "CPhoneTwoSinglesAndWaiting::StateTransitionToSingleAndWaitingL()"); |
337 "CPhoneTwoSinglesAndWaiting::StateTransitionToSingleAndWaitingL()"); |
338 // Go to two singles state |
338 // Go to two singles state |
339 // <-- QT PHONE START --> |
|
340 TPhoneCmdParamInteger callIdParam; |
339 TPhoneCmdParamInteger callIdParam; |
341 iViewCommandHandle->ExecuteCommandL( |
340 iViewCommandHandle->ExecuteCommandL( |
342 EPhoneViewGetExpandedBubbleCallId, &callIdParam ); |
341 EPhoneViewGetExpandedBubbleCallId, &callIdParam ); |
343 |
342 |
344 if ( callIdParam.Integer()!=iRingingCallId ) |
343 if ( callIdParam.Integer()!=iRingingCallId ) |
347 } |
346 } |
348 else |
347 else |
349 { |
348 { |
350 iCbaManager->SetCbaL( EPhoneCallHandlingCallWaitingCBA ); |
349 iCbaManager->SetCbaL( EPhoneCallHandlingCallWaitingCBA ); |
351 } |
350 } |
352 // <-- QT PHONE END --> |
|
353 |
351 |
354 // Set touch controls |
352 // Set touch controls |
355 SetTouchPaneButtonEnabled( EPhoneCallComingCmdAnswer ); |
353 SetTouchPaneButtonEnabled( EPhoneCallComingCmdAnswer ); |
356 |
354 |
357 // Check if HW Keys or Call UI should be disabled |
355 // Check if HW Keys or Call UI should be disabled |
381 |
379 |
382 StringLoader::Load( |
380 StringLoader::Load( |
383 conferenceText, |
381 conferenceText, |
384 callLabelId, |
382 callLabelId, |
385 CCoeEnv::Static() ); |
383 CCoeEnv::Static() ); |
386 // <-- QT PHONE START --> |
|
387 callHeaderParam.SetCLIText( conferenceText, TPhoneCmdParamCallHeaderData::ERight ); |
384 callHeaderParam.SetCLIText( conferenceText, TPhoneCmdParamCallHeaderData::ERight ); |
388 |
385 |
389 callHeaderParam.SetCallState(EPEStateConnectedConference); |
386 callHeaderParam.SetCallState(EPEStateConnectedConference); |
390 // <-- QT PHONE END --> |
|
391 |
387 |
392 callHeaderParam.SetCiphering( |
388 callHeaderParam.SetCiphering( |
393 iStateMachine->PhoneEngineInfo()->IsSecureCall( aCallId ) ); |
389 iStateMachine->PhoneEngineInfo()->IsSecureCall( aCallId ) ); |
394 |
390 |
395 callHeaderParam.SetCipheringIndicatorAllowed( |
391 callHeaderParam.SetCipheringIndicatorAllowed( |
396 iStateMachine->PhoneEngineInfo()->SecureSpecified() ); |
392 iStateMachine->PhoneEngineInfo()->SecureSpecified() ); |
397 |
393 |
398 // <-- QT PHONE START --> |
|
399 // Service identifier must be given so that service specific settings |
394 // Service identifier must be given so that service specific settings |
400 // can be taken into account at phoneuiview. |
395 // can be taken into account at phoneuiview. |
401 callHeaderParam.SetServiceId( |
396 callHeaderParam.SetServiceId( |
402 iStateMachine->PhoneEngineInfo()->ServiceId( aCallId ) ); |
397 iStateMachine->PhoneEngineInfo()->ServiceId( aCallId ) ); |
403 |
398 |
418 SetTouchPaneButtonEnabled( EPhoneCallComingCmdAnswer ); |
413 SetTouchPaneButtonEnabled( EPhoneCallComingCmdAnswer ); |
419 SetTouchPaneButtons( EPhoneWaitingCallButtons ); |
414 SetTouchPaneButtons( EPhoneWaitingCallButtons ); |
420 |
415 |
421 UpdateCbaL( EPhoneCallHandlingCallWaitingCBA ); |
416 UpdateCbaL( EPhoneCallHandlingCallWaitingCBA ); |
422 |
417 |
423 // <-- QT PHONE END --> |
|
424 EndUiUpdate(); |
418 EndUiUpdate(); |
425 // Go to Conference And Waiting state |
419 // Go to Conference And Waiting state |
426 // No need for CBA update |
420 // No need for CBA update |
427 iStateMachine->ChangeState( EPhoneStateConferenceAndWaiting ); |
421 iStateMachine->ChangeState( EPhoneStateConferenceAndWaiting ); |
428 } |
422 } |
434 void CPhoneTwoSinglesAndWaiting::UpdateInCallCbaL() |
428 void CPhoneTwoSinglesAndWaiting::UpdateInCallCbaL() |
435 { |
429 { |
436 __LOGMETHODSTARTEND( EPhoneUIStates, |
430 __LOGMETHODSTARTEND( EPhoneUIStates, |
437 "CPhoneTwoSinglesAndWaiting::UpdateInCallCbaL()"); |
431 "CPhoneTwoSinglesAndWaiting::UpdateInCallCbaL()"); |
438 |
432 |
439 // <-- QT PHONE START --> |
|
440 TPhoneCmdParamInteger callIdParam; |
433 TPhoneCmdParamInteger callIdParam; |
441 iViewCommandHandle->ExecuteCommandL( |
434 iViewCommandHandle->ExecuteCommandL( |
442 EPhoneViewGetExpandedBubbleCallId, &callIdParam ); |
435 EPhoneViewGetExpandedBubbleCallId, &callIdParam ); |
443 |
436 |
444 if ( callIdParam.Integer()!=iRingingCallId ) |
437 if ( callIdParam.Integer()!=iRingingCallId ) |
447 } |
440 } |
448 else |
441 else |
449 { |
442 { |
450 iCbaManager->SetCbaL( EPhoneCallHandlingIncomingSoftRejectCBA ); |
443 iCbaManager->SetCbaL( EPhoneCallHandlingIncomingSoftRejectCBA ); |
451 } |
444 } |
452 // <-- QT PHONE END --> |
|
453 } |
445 } |
454 |
446 |
455 // ----------------------------------------------------------- |
447 // ----------------------------------------------------------- |
456 // CPhoneTwoSinglesAndWaiting::HandleNumberEntryClearedL() |
448 // CPhoneTwoSinglesAndWaiting::HandleNumberEntryClearedL() |
457 // ----------------------------------------------------------- |
449 // ----------------------------------------------------------- |
461 __LOGMETHODSTARTEND( EPhoneUIStates, |
453 __LOGMETHODSTARTEND( EPhoneUIStates, |
462 "CPhoneTwoSinglesAndWaiting::HandleNumberEntryClearedL()"); |
454 "CPhoneTwoSinglesAndWaiting::HandleNumberEntryClearedL()"); |
463 UpdateCbaL( EPhoneCallHandlingCallWaitingCBA ); |
455 UpdateCbaL( EPhoneCallHandlingCallWaitingCBA ); |
464 } |
456 } |
465 |
457 |
466 // <-- QT PHONE START --> |
|
467 // ----------------------------------------------------------- |
458 // ----------------------------------------------------------- |
468 // CPhoneTwoSinglesAndWaiting::HandleCommandL |
459 // CPhoneTwoSinglesAndWaiting::HandleCommandL |
469 // ----------------------------------------------------------- |
460 // ----------------------------------------------------------- |
470 // |
461 // |
471 TBool CPhoneTwoSinglesAndWaiting::HandleCommandL( TInt aCommand ) |
462 TBool CPhoneTwoSinglesAndWaiting::HandleCommandL( TInt aCommand ) |
496 { |
487 { |
497 __LOGMETHODSTARTEND( EPhoneUIStates, "CPhoneSingleAndWaiting::UpdateUiControlsL( ) "); |
488 __LOGMETHODSTARTEND( EPhoneUIStates, "CPhoneSingleAndWaiting::UpdateUiControlsL( ) "); |
498 UpdateInCallCbaL(); |
489 UpdateInCallCbaL(); |
499 } |
490 } |
500 |
491 |
501 // <-- QT PHONE END --> |
|
502 |
|
503 |
|
504 // End of File |
492 // End of File |