connectionutilities/ConnectionDialogs/cconndlg/src/IAPDialog.cpp
changeset 1 40cb640ef159
parent 0 5a93021fdf25
equal deleted inserted replaced
0:5a93021fdf25 1:40cb640ef159
   254         }
   254         }
   255 
   255 
   256     CLOG_LEAVEFN( "CIapDialog::RefreshDialogL " );  
   256     CLOG_LEAVEFN( "CIapDialog::RefreshDialogL " );  
   257     }
   257     }
   258 
   258 
       
   259 // ---------------------------------------------------------
       
   260 // CIapDialog::OfferKeyEventL
       
   261 // ---------------------------------------------------------
       
   262 //
       
   263 TKeyResponse CIapDialog::OfferKeyEventL( const TKeyEvent& aKeyEvent, 
       
   264                                          TEventCode aType)
       
   265     {
       
   266     if( aType == EEventKey && aKeyEvent.iCode == EKeyPhoneSend )
       
   267         {
       
   268         // Let's not obscure the Dialer in the background
       
   269         if ( iExpiryTimer )
       
   270             {
       
   271             iExpiryTimer->Cancel();
       
   272             iExpiryTimer->StartShort();    
       
   273             }
       
   274         }
       
   275         
       
   276     return CAknListQueryDialog::OfferKeyEventL( aKeyEvent,aType ); 
       
   277     }
       
   278 
   259 void CIapDialog::HandleTimedOut()
   279 void CIapDialog::HandleTimedOut()
   260     {
   280     {
   261     TRAP_IGNORE( TryExitL(EAknSoftkeyCancel) );
   281     TRAP_IGNORE( TryExitL(EAknSoftkeyCancel) );
   262     }
   282     }
   263 
   283