calendarui/regionalplugins/lunarchinese/src/CalenLunarChinesePlugin.cpp
changeset 64 1881ad52dc45
parent 55 2c54b51f39c4
child 70 a5ed90760192
equal deleted inserted replaced
63:a3cb48f6c889 64:1881ad52dc45
   206 //
   206 //
   207 
   207 
   208 void CCalenLunarChinesePlugin::CustomiseMenu(HbMenu* aHbMenu)
   208 void CCalenLunarChinesePlugin::CustomiseMenu(HbMenu* aHbMenu)
   209     {
   209     {
   210     OstTraceFunctionEntry0( CCALENLUNARCHINESEPLUGIN_CUSTOMISEMENU_ENTRY );
   210     OstTraceFunctionEntry0( CCALENLUNARCHINESEPLUGIN_CUSTOMISEMENU_ENTRY );
   211     HbAction* lunarAction = new HbAction("Show Lunar Data");
   211     HbAction* lunarAction = new HbAction(hbTrId("txt_calendar_opt_show_lunar_data"));
   212     QList<QAction*> actionList = aHbMenu->actions();     
   212     QList<QAction*> actionList = aHbMenu->actions();     
   213     TInt count = actionList.count() - 1;  //To show the option "show lunar data"
   213     TInt count = actionList.count() - 1;  //To show the option "show lunar data"
   214                                           //as a second last action item  for all 
   214                                           //as a second last action item  for all 
   215                                           //Menu
   215                                           //Menu
   216     if(count >= 0)
   216     if(count >= 0)