cmmanager/cmmgr/Framework/Src/cmpbasesettingsdlg.cpp
branchRCL_3
changeset 17 c14618f9de99
parent 1 40cb640ef159
child 24 c45d4fe2ff0a
equal deleted inserted replaced
15:4dc3bb0099b0 17:c14618f9de99
   617 // ---------------------------------------------------------------------------
   617 // ---------------------------------------------------------------------------
   618 //
   618 //
   619 EXPORT_C TKeyResponse CmPluginBaseSettingsDlg::OfferKeyEventL( const TKeyEvent& aKeyEvent, 
   619 EXPORT_C TKeyResponse CmPluginBaseSettingsDlg::OfferKeyEventL( const TKeyEvent& aKeyEvent, 
   620                                        TEventCode aType )    
   620                                        TEventCode aType )    
   621     {
   621     {
   622     return iListbox->OfferKeyEventL( aKeyEvent, aType );       
   622     TKeyResponse retVal ( EKeyWasNotConsumed );
       
   623     switch( aKeyEvent.iCode )
       
   624         {
       
   625         // Add processing for case EKeyEscape to support status pane event in IAP-related editing 
       
   626         // views (Dlg view, AdvDlg view and IPv4 and IPv6 views and so on)
       
   627         case EKeyEscape:
       
   628             TryExitL( iExitReason );
       
   629             retVal = EKeyWasConsumed;
       
   630             break;
       
   631         default:
       
   632             retVal = iListbox->OfferKeyEventL( aKeyEvent, aType ); 
       
   633             break;
       
   634         }
       
   635         
       
   636     return retVal;
   623     }
   637     }
   624 
   638 
   625 //---------------------------------------------------------------------------
   639 //---------------------------------------------------------------------------
   626 // CmPluginBaseSettingsDlg::LoadResourceL
   640 // CmPluginBaseSettingsDlg::LoadResourceL
   627 //---------------------------------------------------------------------------
   641 //---------------------------------------------------------------------------