calendarui/controller/inc/calenviewmanager.h
changeset 55 2c54b51f39c4
parent 51 0b38fc5b94c6
child 57 bb2d3e476f29
equal deleted inserted replaced
51:0b38fc5b94c6 55:2c54b51f39c4
    34 class CalenAgendaView;
    34 class CalenAgendaView;
    35 class AgendaEventViewer;
    35 class AgendaEventViewer;
    36 class CalenLandscapeDayView;
    36 class CalenLandscapeDayView;
    37 class CalenSettingsView;
    37 class CalenSettingsView;
    38 class CalenDocLoader;
    38 class CalenDocLoader;
       
    39 class CalenDayView;
    39 
    40 
    40 /**
    41 /**
    41  * The action ui handles events passed from the controller and delegates
    42  * The action ui handles events passed from the controller and delegates
    42  * them to the appropriate place (i.e. the specific action ui classes).
    43  * them to the appropriate place (i.e. the specific action ui classes).
    43  */
    44  */
   115         /**
   116         /**
   116          * Loads month view frm the docml
   117          * Loads month view frm the docml
   117          */
   118          */
   118         void loadMonthView();
   119         void loadMonthView();
   119         /**
   120         /**
   120 		 * Loads day view frm the docml
   121 		 * Loads agenda view from the docml
   121 		 */
   122 		 */
   122         void loadAgendaView();
   123         void loadAgendaView();
       
   124 
       
   125         /**
       
   126          * Loads day view from the docml
       
   127          */
       
   128         void loadDayView();
       
   129                 
   123 	    /**
   130 	    /**
   124 	     * Activates the default view, as retrieved from settings.
   131 	     * Activates the default view, as retrieved from settings.
   125 	     */
   132 	     */
   126 	    void ActivateDefaultViewL( int defaultView );
   133 	    void ActivateDefaultViewL( int defaultView );
   127 	    
   134 	    
   149 		void handleEditingCompleted();
   156 		void handleEditingCompleted();
   150 		void handleDeletingStarted();
   157 		void handleDeletingStarted();
   151 		void handleDeletingCompleted();
   158 		void handleDeletingCompleted();
   152 		void handleInstanceViewCreation(int status);
   159 		void handleInstanceViewCreation(int status);
   153 		void handleEntryViewCreation(int status);
   160 		void handleEntryViewCreation(int status);
   154 		void handleDayViewReady();
       
   155 		void handleEntriesChanged(QList<ulong>);
   161 		void handleEntriesChanged(QList<ulong>);
       
   162 		void handleEntryUpdation(ulong id);
   156 		
   163 		
   157     private:  // Data        
   164     private:  // Data        
   158 
   165 
   159 		CCalenController		&mController;
   166 		CCalenController		&mController;
   160 		CalenMonthView			*mCalenMonthView;
   167 		CalenMonthView			*mCalenMonthView;
   164 		CalenSettingsView		*mSettingsView;
   171 		CalenSettingsView		*mSettingsView;
   165 		CalenDocLoader			*mAgendaViewDocLoader;
   172 		CalenDocLoader			*mAgendaViewDocLoader;
   166 		CalenDocLoader			*mMonthViewDocLoader;
   173 		CalenDocLoader			*mMonthViewDocLoader;
   167 		CalenAgendaView         *mCalenAgendaViewAlt;
   174 		CalenAgendaView         *mCalenAgendaViewAlt;
   168 		CalenDocLoader          *mAgendaViewAltDocLoader;
   175 		CalenDocLoader          *mAgendaViewAltDocLoader;
   169 		CalenNativeView			*mCalenDayView;
   176 		CalenDayView			*mCalenDayView;
   170         
   177         
   171 		int  mCurrentViewId;
   178 		int  mCurrentViewId;
   172 		int  mPreviousViewsId;
   179 		int  mPreviousViewsId;
   173 		int  mFirstView;
   180 		int  mFirstView;
   174         };
   181         };