phoneapp/phoneuistates/src/cphoneconferenceandwaitingandcallsetup.cpp
branchRCL_3
changeset 58 40a3f856b14d
parent 25 91c2fb4b78df
child 61 41a7f70b3818
equal deleted inserted replaced
57:94dc1107e8b2 58:40a3f856b14d
   383 //
   383 //
   384 void CPhoneConferenceAndWaitingAndCallSetup::HandleConferenceIdleL()
   384 void CPhoneConferenceAndWaitingAndCallSetup::HandleConferenceIdleL()
   385     {
   385     {
   386     __LOGMETHODSTARTEND( EPhoneUIStates, 
   386     __LOGMETHODSTARTEND( EPhoneUIStates, 
   387         "CPhoneConferenceAndWaitingAndCallSetup::HandleConferenceIdleL");
   387         "CPhoneConferenceAndWaitingAndCallSetup::HandleConferenceIdleL");
   388 
       
   389     BeginUiUpdateLC();
   388     BeginUiUpdateLC();
   390         
   389     
   391     iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveConferenceBubble );
   390     iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveConferenceBubble );
   392         
       
   393     // Close menu bar, if it is displayed
       
   394     iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose );
   391     iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose );
   395 
   392 
   396     if ( IsNumberEntryUsedL() )
   393     if ( IsNumberEntryUsedL() )
   397         {
   394         {
   398         // Show the number entry if it exists
   395         // Show the number entry if it exists
   426         else
   423         else
   427             {
   424             {
   428             // Reset Hold flag to view
   425             // Reset Hold flag to view
   429             TPhoneCmdParamBoolean holdFlag;
   426             TPhoneCmdParamBoolean holdFlag;
   430             holdFlag.SetBoolean( EFalse );
   427             holdFlag.SetBoolean( EFalse );
   431             iViewCommandHandle->ExecuteCommandL( EPhoneViewSetHoldFlag, &holdFlag );       
   428             iViewCommandHandle->ExecuteCommandL( EPhoneViewSetHoldFlag, &holdFlag );
   432 
       
   433             // Go to Call Setup And Waiting state
       
   434             SetTouchPaneButtons( EPhoneCallSetupButtons ); 
   429             SetTouchPaneButtons( EPhoneCallSetupButtons ); 
   435 
       
   436             SetToolbarDimming( ETrue );
   430             SetToolbarDimming( ETrue );
   437 
       
   438             // No need update cbas            
       
   439             iStateMachine->ChangeState( EPhoneStateCallSetupAndWaiting );
   431             iStateMachine->ChangeState( EPhoneStateCallSetupAndWaiting );
   440             }
   432             }
   441         }
   433         }
   442     EndUiUpdate();            
   434     EndUiUpdate();
   443     }
   435     }
   444 
   436 
   445 // -----------------------------------------------------------
   437 // -----------------------------------------------------------
   446 // CPhoneConferenceAndWaitingAndCallSetup::HandleIdleL
   438 // CPhoneConferenceAndWaitingAndCallSetup::HandleIdleL
   447 // -----------------------------------------------------------
   439 // -----------------------------------------------------------
   515                 // Go to Conference And Call Setup state
   507                 // Go to Conference And Call Setup state
   516                 SetTouchPaneButtons( EPhoneCallSetupButtons );
   508                 SetTouchPaneButtons( EPhoneCallSetupButtons );
   517                 UpdateCbaL( EPhoneCallHandlingInCallCBA );                  
   509                 UpdateCbaL( EPhoneCallHandlingInCallCBA );                  
   518                 iStateMachine->ChangeState( EPhoneStateConferenceAndCallSetup );
   510                 iStateMachine->ChangeState( EPhoneStateConferenceAndCallSetup );
   519                 }
   511                 }
   520             EndUiUpdate();            
   512             EndUiUpdate();
   521             }
   513             }
   522         }
   514         }
   523     }
   515     }
   524     
   516     
   525 // End of File
   517 // End of File