calendarui/regionalplugins/lunarchinese/src/CalenLunarChinesePlugin.cpp
changeset 68 a5a1242fd2e8
parent 58 ef813d54df51
child 77 b0711afde476
equal deleted inserted replaced
58:ef813d54df51 68:a5a1242fd2e8
   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)