equal
deleted
inserted
replaced
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 //--------------------------------------------------------------------------- |