equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: Application UI class required by AVKON application architecture.* |
14 * Description: Application UI class required by AVKON application architecture.* |
15 */ |
15 */ |
16 |
16 |
17 |
17 |
18 // Version : %version: 11 % |
18 // Version : %version: 12 % |
19 |
19 |
20 |
20 |
21 |
21 |
22 // INCLUDE FILES |
22 // INCLUDE FILES |
23 #include <MediaSettings.rsg> |
23 #include <MediaSettings.rsg> |
299 TKeyResponse CMPSettingsAppUi::HandleKeyEventL( |
299 TKeyResponse CMPSettingsAppUi::HandleKeyEventL( |
300 const TKeyEvent& aKeyEvent, TEventCode aType) |
300 const TKeyEvent& aKeyEvent, TEventCode aType) |
301 { |
301 { |
302 MPX_DEBUG1(_L("#MS# CMPSettingsAppUi::HandleKeyEventL()")); |
302 MPX_DEBUG1(_L("#MS# CMPSettingsAppUi::HandleKeyEventL()")); |
303 // Check if the event should be handled by iTabGroup |
303 // Check if the event should be handled by iTabGroup |
304 if (aType != EEventKey || iNaviPane->Top() != iDecoratedTabGroup) |
304 if ( !iTabGroup || aType != EEventKey || iNaviPane->Top() != iDecoratedTabGroup) |
305 { |
305 { |
306 return EKeyWasNotConsumed; |
306 return EKeyWasNotConsumed; |
307 } |
307 } |
308 |
308 |
309 return iTabGroup->OfferKeyEventL(aKeyEvent, aType); |
309 return iTabGroup->OfferKeyEventL(aKeyEvent, aType); |