phoneuis/dialer/src/cdialernumberentry.cpp
branchRCL_3
changeset 14 24062c24fe38
parent 9 8871b09be73b
child 17 38529f706030
equal deleted inserted replaced
9:8871b09be73b 14:24062c24fe38
   212 // ---------------------------------------------------------------------------
   212 // ---------------------------------------------------------------------------
   213 //
   213 //
   214 void CDialerNumberEntry::SetTextToNumberEntry( const TDesC& aDesC )
   214 void CDialerNumberEntry::SetTextToNumberEntry( const TDesC& aDesC )
   215     {
   215     {
   216     DIALER_PRINT("numberentry::SetTextToNumberEntry<");
   216     DIALER_PRINT("numberentry::SetTextToNumberEntry<");
   217         	
   217     
   218     iEditor->SetText( aDesC );   
   218     iEditor->SetText( aDesC );   
   219     
   219     
   220     if ( iEasyDialer && iOperationMode == EModeEasyDialing )
   220     if ( iEasyDialer && iOperationMode == EModeEasyDialing )
   221         {
   221         {
   222         TRAP_IGNORE( iEasyDialer->SetInputL( aDesC ) );
   222         TRAP_IGNORE( iEasyDialer->SetInputL( aDesC ) );
   281 // ----------------------------------------------------------------------------
   281 // ----------------------------------------------------------------------------
   282 //
   282 //
   283 TBool CDialerNumberEntry::HandleCommandL( TDialerCommandId aCommand)
   283 TBool CDialerNumberEntry::HandleCommandL( TDialerCommandId aCommand)
   284     {
   284     {
   285     DIALER_PRINTF("numberentry::HandleCommandL<:", aCommand); 
   285     DIALER_PRINTF("numberentry::HandleCommandL<:", aCommand); 
   286     	
   286     
   287     TBool handled( ETrue );
   287     TBool handled( ETrue );
   288     switch ( aCommand )
   288     switch ( aCommand )
   289         {
   289         {
   290         case EDialerCmdTouchInput:  // open touch input (VKB)
   290         case EDialerCmdTouchInput:  // open touch input (VKB)
   291             {
   291             {
   296             {
   296             {
   297             handled = EFalse;
   297             handled = EFalse;
   298             }
   298             }
   299             break;
   299             break;
   300         }
   300         }
   301         
   301     
   302     DIALER_PRINT("numberentry::HandleCommandL>");         
   302     DIALER_PRINT("numberentry::HandleCommandL>");         
   303     return handled;
   303     return handled;
   304     }
   304     }
   305 
   305 
   306 // ---------------------------------------------------------------------------
   306 // ---------------------------------------------------------------------------
   651 // ---------------------------------------------------------------------------
   651 // ---------------------------------------------------------------------------
   652 //
   652 //
   653 void CDialerNumberEntry::StartVirtualKeyBoard( )
   653 void CDialerNumberEntry::StartVirtualKeyBoard( )
   654     {
   654     {
   655     // To change focus to VKB, if not called VKB will not come visible
   655     // To change focus to VKB, if not called VKB will not come visible
   656     CEikonEnv::Static()->SyncNotifyFocusObserversOfChangeInFocus();
   656     iEikonEnv->SyncNotifyFocusObserversOfChangeInFocus();
   657     iEditor->OpenVKB();
   657     iEditor->OpenVKB();
   658     }
   658     }
   659   
   659   
   660 // ---------------------------------------------------------------------------
   660 // ---------------------------------------------------------------------------
   661 // CDialerNumberEntry::MopSupplyObject
   661 // CDialerNumberEntry::MopSupplyObject
   799         TRAP_IGNORE( iLabel->OverrideColorL( EColorLabelText, skinColor ) );
   799         TRAP_IGNORE( iLabel->OverrideColorL( EColorLabelText, skinColor ) );
   800         }   
   800         }   
   801     }
   801     }
   802     
   802     
   803     
   803     
       
   804 // -----------------------------------------------------------------------------
   804 // CDialerNumberEntry::MakeVisible( TBool aVisible )
   805 // CDialerNumberEntry::MakeVisible( TBool aVisible )
   805 // -----------------------------------------------------------------------------
   806 // -----------------------------------------------------------------------------
   806 //	
   807 //	
   807 void CDialerNumberEntry::MakeVisible( TBool aVisible )
   808 void CDialerNumberEntry::MakeVisible( TBool aVisible )
   808 	{
   809 	{