calendarui/controller/inc/calenviewmanager.h
changeset 23 fd30d51f876b
parent 18 c198609911f9
child 26 a949c2543c15
child 45 b6db4fd4947b
equal deleted inserted replaced
18:c198609911f9 23:fd30d51f876b
    20 #define CALENVIEWMANAGER_H
    20 #define CALENVIEWMANAGER_H
    21 
    21 
    22 // INCLUDES
    22 // INCLUDES
    23 
    23 
    24 #include <vwsdef.h>
    24 #include <vwsdef.h>
       
    25 #include <QDate>
    25 
    26 
    26 #include "calennotificationhandler.h"   // MCalenNotificationHandler
    27 #include "calennotificationhandler.h"   // MCalenNotificationHandler
    27 #include "hb_calencommands.hrh"
    28 #include "hb_calencommands.hrh"
    28 #include "calencommandhandler.h"
    29 #include "calencommandhandler.h"
    29 
    30 
    82 		/**
    83 		/**
    83 		 * Constructs and activates the requested view
    84 		 * Constructs and activates the requested view
    84 		 */
    85 		 */
    85 		void constructAndActivateView(int view);
    86 		void constructAndActivateView(int view);
    86 		/**
    87 		/**
    87 		 * Constructs the other views apart frm firstview and adds 
       
    88 		 * them to main window
       
    89 		 */
       
    90 		void constructOtherViews();
       
    91 		/**
       
    92 		 * Returns the first view
    88 		 * Returns the first view
    93 		 */
    89 		 */
    94 		int getFirstView();
    90 		int getFirstView();
    95 		
    91 		
    96 		void showNextDay();
    92 		void showNextDay();
   134 		 * @brief Constructs the auxilliary view used
   130 		 * @brief Constructs the auxilliary view used
   135 		 * to provide illusion of swiping to next or prev
   131 		 * to provide illusion of swiping to next or prev
   136 		 * day
   132 		 * day
   137 		 */
   133 		 */
   138 		void loadAlternateDayView();
   134 		void loadAlternateDayView();
       
   135 		
       
   136 	public slots:
       
   137 		void constructOtherViews();
   139         
   138         
   140     private slots:
   139     private slots:
   141     
   140 		void handleViewingCompleted(const QDate date);
   142 		void handleViewingCompleted(bool status);
       
   143 		void handleEditingStarted();
   141 		void handleEditingStarted();
   144 		void handleEditingCompleted();
   142 		void handleEditingCompleted();
   145 		void handleDeletingStarted();
   143 		void handleDeletingStarted();
   146 		void handleDeletingCompleted();
   144 		void handleDeletingCompleted();
   147 		
   145