calendarui/controller/src/calenactionui.cpp
changeset 45 b6db4fd4947b
parent 18 c198609911f9
child 51 0b38fc5b94c6
child 58 ef813d54df51
equal deleted inserted replaced
23:fd30d51f876b 45:b6db4fd4947b
   140     TRACE_ENTRY_POINT;
   140     TRACE_ENTRY_POINT;
   141     TBool continueCommand(EFalse);
   141     TBool continueCommand(EFalse);
   142     
   142     
   143     if(aCommand.Command()==ECalenShowSettings)
   143     if(aCommand.Command()==ECalenShowSettings)
   144         {  
   144         {  
   145         launchSettingsView();
   145         iController.ViewManager().launchSettingsView();
   146         }
   146         }
   147     
   147     
   148     TRACE_EXIT_POINT;
   148     TRACE_EXIT_POINT;
   149     return continueCommand;    }
   149     return continueCommand; 
   150 
       
   151 // ----------------------------------------------------------------------------
       
   152 // CCalenActionUi::launchSettingsView
       
   153 // Launches settings view
       
   154 // (other items were commented in a header).
       
   155 // ----------------------------------------------------------------------------
       
   156 //
       
   157 void CCalenActionUi::launchSettingsView()
       
   158     {
       
   159     CalenSettingsView* settingsView = iController.ViewManager().settingsView();
       
   160     settingsView->initializeForm();
       
   161     iController.Services().MainWindow().setCurrentView(settingsView);
       
   162     }
   150     }
   163 
   151 
   164 // End of file
   152 // End of file