equal
deleted
inserted
replaced
198 ShowSettingPageL(); |
198 ShowSettingPageL(); |
199 break; |
199 break; |
200 case EAknSoftkeyBack: |
200 case EAknSoftkeyBack: |
201 iAppUi->ActivateLocalViewL( KGSDeviceManagementPluginUid ); |
201 iAppUi->ActivateLocalViewL( KGSDeviceManagementPluginUid ); |
202 break; |
202 break; |
203 case EAknCmdHelp: |
|
204 { |
|
205 if( FeatureManager::FeatureSupported( KFeatureIdHelp ) ) |
|
206 { |
|
207 HlpLauncher::LaunchHelpApplicationL( |
|
208 iEikonEnv->WsSession(), iAppUi->AppHelpContextL() ); |
|
209 } |
|
210 break; |
|
211 } |
|
212 default: |
203 default: |
213 iAppUi->HandleCommandL( aCommand ); |
204 iAppUi->HandleCommandL( aCommand ); |
214 break; |
205 break; |
215 } |
206 } |
216 } |
207 } |
370 |
361 |
371 return icon; |
362 return icon; |
372 |
363 |
373 } |
364 } |
374 |
365 |
375 |
|
376 // ----------------------------------------------------------------------------- |
|
377 // CGSPowerSavingQueryPlugin::DynInitMenuPaneL() |
|
378 // |
|
379 // dynamically handle help item if not supported |
|
380 // ----------------------------------------------------------------------------- |
|
381 // |
|
382 void CGSPowerSavingQueryPlugin::DynInitMenuPaneL( TInt aResourceId, |
|
383 CEikMenuPane* aMenuPane ) |
|
384 { |
|
385 if( aResourceId == R_GS_MENU_ITEM_HELP ) |
|
386 { |
|
387 User::LeaveIfNull( aMenuPane ); |
|
388 |
|
389 aMenuPane->SetItemDimmed( EAknCmdHelp, |
|
390 !FeatureManager::FeatureSupported( KFeatureIdHelp ) ); |
|
391 } |
|
392 } |
|
393 // ----------------------------------------------------------------------------- |
366 // ----------------------------------------------------------------------------- |
394 // CGSPowerSavingQueryPlugin::SwitchOnOffValue() |
367 // CGSPowerSavingQueryPlugin::SwitchOnOffValue() |
395 // |
368 // |
396 // |
369 // |
397 // ----------------------------------------------------------------------------- |
370 // ----------------------------------------------------------------------------- |