phoneapp/phoneuistates/src/cphonetwosingles.cpp
changeset 21 92ab7f8d0eab
parent 0 5f000ab63145
child 22 6bb1b21d2484
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
   235                 CloseDtmfQueryL(); 
   235                 CloseDtmfQueryL(); 
   236                 }
   236                 }
   237 
   237 
   238             iViewCommandHandle->ExecuteCommandL( EPhoneViewSetHoldFlag, &holdFlag );
   238             iViewCommandHandle->ExecuteCommandL( EPhoneViewSetHoldFlag, &holdFlag );
   239 
   239 
   240     	    SetTouchPaneButtons( EPhoneIncallButtons );         
   240             SetTouchPaneButtons( EPhoneIncallButtons );         
   241             // Go to single state
   241             // Go to single state
   242             // CBA updates in above if-else conditions
   242             // CBA updates in above if-else conditions
   243             iStateMachine->ChangeState( EPhoneStateSingle ); 
   243             iStateMachine->ChangeState( EPhoneStateSingle ); 
   244             }
   244             }
   245             
   245             
   294     // Show bubble
   294     // Show bubble
   295     TPhoneCmdParamCallHeaderData callHeaderParam;
   295     TPhoneCmdParamCallHeaderData callHeaderParam;
   296     callHeaderParam.SetCallState( EPEStateConnected );
   296     callHeaderParam.SetCallState( EPEStateConnected );
   297     iViewCommandHandle->ExecuteCommandL( EPhoneViewUpdateBubble, aCallId, 
   297     iViewCommandHandle->ExecuteCommandL( EPhoneViewUpdateBubble, aCallId, 
   298         &callHeaderParam );
   298         &callHeaderParam );
       
   299     
       
   300     // <-- QT PHONE START --> 
       
   301     SetTouchPaneButtons( EPhoneIncallButtons );
       
   302     // <-- QT PHONE END -->
   299     }
   303     }
   300     
   304     
   301 // -----------------------------------------------------------
   305 // -----------------------------------------------------------
   302 // CPhoneTwoSingles::HandleHeldL
   306 // CPhoneTwoSingles::HandleHeldL
   303 // -----------------------------------------------------------
   307 // -----------------------------------------------------------
   320         CCoeEnv::Static() );        
   324         CCoeEnv::Static() );        
   321     callHeaderParam.SetLabelText( labelText );
   325     callHeaderParam.SetLabelText( labelText );
   322     
   326     
   323     iViewCommandHandle->ExecuteCommandL( EPhoneViewUpdateBubble, aCallId, 
   327     iViewCommandHandle->ExecuteCommandL( EPhoneViewUpdateBubble, aCallId, 
   324         &callHeaderParam );
   328         &callHeaderParam );
       
   329     
       
   330     // <-- QT PHONE START --> 
       
   331     SetTouchPaneButtons( EPhoneIncallButtons );
       
   332     // <-- QT PHONE END -->
   325     }
   333     }
   326     
   334     
   327 // -----------------------------------------------------------
   335 // -----------------------------------------------------------
   328 // CPhoneTwoSingles::HandleNumberEntryClearedL()
   336 // CPhoneTwoSingles::HandleNumberEntryClearedL()
   329 // -----------------------------------------------------------
   337 // -----------------------------------------------------------
   353 
   361 
   354     StringLoader::Load( 
   362     StringLoader::Load( 
   355         conferenceText, 
   363         conferenceText, 
   356         callLabelId, 
   364         callLabelId, 
   357         CCoeEnv::Static() );
   365         CCoeEnv::Static() );
   358     callHeaderParam.SetCLIText( conferenceText, CBubbleManager::ERight );
   366 // <-- QT PHONE START --> 
       
   367     callHeaderParam.SetCLIText( conferenceText, TPhoneCmdParamCallHeaderData::ERight );
       
   368     
       
   369     callHeaderParam.SetCallState(EPEStateConnectedConference);
       
   370 // <-- QT PHONE END --> 
   359     BeginUiUpdateLC();
   371     BeginUiUpdateLC();
   360     
   372     
   361     callHeaderParam.SetCiphering(
   373     callHeaderParam.SetCiphering(
   362         iStateMachine->PhoneEngineInfo()->IsSecureCall( aCallId ) );
   374         iStateMachine->PhoneEngineInfo()->IsSecureCall( aCallId ) );
   363         
   375         
   420     SetTouchPaneButtons( EPhoneWaitingCallButtons );
   432     SetTouchPaneButtons( EPhoneWaitingCallButtons );
   421 
   433 
   422     EndUiUpdate();
   434     EndUiUpdate();
   423 
   435 
   424     // Go to incoming state
   436     // Go to incoming state
   425     UpdateCbaL( EPhoneCallHandlingCallWaitingCBA );
   437 // <-- QT PHONE START -->    
       
   438     iCbaManager->SetCbaL( EPhoneCallHandlingIncomingSoftRejectCBA );
       
   439 // <-- QT PHONE END -->    
       
   440     
   426     iStateMachine->ChangeState( EPhoneStateTwoSinglesAndWaiting );        
   441     iStateMachine->ChangeState( EPhoneStateTwoSinglesAndWaiting );        
   427     }
   442     }
   428 
   443 
   429 // -----------------------------------------------------------
   444 // -----------------------------------------------------------
   430 // CPhoneTwoSingles::DisplayIncomingCallL
   445 // CPhoneTwoSingles::DisplayIncomingCallL
   478 // -----------------------------------------------------------
   493 // -----------------------------------------------------------
   479 //
   494 //
   480 EXPORT_C void CPhoneTwoSingles::UpdateInCallCbaL()
   495 EXPORT_C void CPhoneTwoSingles::UpdateInCallCbaL()
   481     {
   496     {
   482     __LOGMETHODSTARTEND( EPhoneUIStates, "CPhoneTwoSingles::UpdateInCallCbaL() ");
   497     __LOGMETHODSTARTEND( EPhoneUIStates, "CPhoneTwoSingles::UpdateInCallCbaL() ");
   483 	UpdateCbaL( EPhoneCallHandlingNewCallSwapCBA );
   498     UpdateCbaL( EPhoneCallHandlingNewCallSwapCBA );
   484     }
   499     }
   485 
   500 
   486 // End of File
   501 // End of File