calendarui/views/inc/calenmonthview.h
changeset 26 a949c2543c15
parent 23 fd30d51f876b
child 32 ea672fcb0ea0
equal deleted inserted replaced
23:fd30d51f876b 26:a949c2543c15
    64 	virtual ~CalenMonthView();
    64 	virtual ~CalenMonthView();
    65 	
    65 	
    66 public:  // From CCalenView
    66 public:  // From CCalenView
    67 	virtual void doPopulation();
    67 	virtual void doPopulation();
    68 	void setupView(CalenDocLoader *docLoader);
    68 	void setupView(CalenDocLoader *docLoader);
       
    69 	void doLazyLoading();
    69 	void handleGridItemActivated();
    70 	void handleGridItemActivated();
    70 	void handleGridItemLongPressed(int index, QPointF &coords);
       
    71 	void setContextForActiveDay(int index);
    71 	void setContextForActiveDay(int index);
    72 	QDateTime getCurrentDay();
    72 	QDateTime getCurrentDay();
    73 	QDateTime getActiveDay();
    73 	QDateTime getActiveDay();
    74 	int rowsInPrevMonth();
    74 	int rowsInPrevMonth();
    75 	int rowsInFutMonth();
    75 	int rowsInFutMonth();
    82 	void updateModelWithPrevMonth();
    82 	void updateModelWithPrevMonth();
    83 	void updateModelWithFutureMonth();
    83 	void updateModelWithFutureMonth();
    84 	void populatePreviewPane(QDateTime &dateTime);
    84 	void populatePreviewPane(QDateTime &dateTime);
    85 	void handlePreviewPaneGesture(bool rightGesture);
    85 	void handlePreviewPaneGesture(bool rightGesture);
    86 	QDateTime firstDayOfGrid();
    86 	QDateTime firstDayOfGrid();
       
    87 	void fetchEntriesAndUpdateModel();
    87 	
    88 	
    88 private:
    89 private:
    89 	void createGrid();
    90 	void createGrid();
    90 	void populateWithInstanceView();
    91 	void populateWithInstanceView();
    91 	void completePopulation();
    92 	void completePopulation();
    92 	void prepareForPopulation();
    93 	void prepareForPopulation();
    93 	QDateTime dateFromContext( const MCalenContext &context );
    94 	QDateTime dateFromContext( const MCalenContext &context );
    94 	void setActiveDay(QDateTime day);
    95 	void setActiveDay(QDateTime day);
    95 	void setDate();
    96 	void setDate();
    96 	void getInstanceList(QList<AgendaEntry> &list,
    97 	void getInstanceList(QList<QDate> &list,
    97 						QDateTime rangeStart, QDateTime rangeEnd);
    98                          QDateTime rangeStart, QDateTime rangeEnd);
    98 	void handleChangeOrientation();
    99 	void handleChangeOrientation();
    99 	void setDateToLabel();
   100 	void setDateToLabel();
   100 	void updateWeekNumGridModel();
   101 	void updateWeekNumGridModel();
   101 	void addWeekNumbers();
   102 	void addWeekNumbers();
   102 	void removeWeekNumbers();
   103 	void removeWeekNumbers();
   171 	HbAction *mGoToTodayAction;
   172 	HbAction *mGoToTodayAction;
   172 	CalenPluginLabel *mPrevRegionalInfo;
   173 	CalenPluginLabel *mPrevRegionalInfo;
   173 	CalenPluginLabel *mCurrRegionalInfo;
   174 	CalenPluginLabel *mCurrRegionalInfo;
   174 	CalenPluginLabel *mNextRegionalInfo;
   175 	CalenPluginLabel *mNextRegionalInfo;
   175 	HbMenu *mDeleteSubMenu;
   176 	HbMenu *mDeleteSubMenu;
       
   177 	QColor mWeekDaysColor;
   176 };
   178 };
   177 
   179 
   178 #endif //CALENMONTHVIEW_H
   180 #endif //CALENMONTHVIEW_H
   179 
   181 
   180 // End of file  --Don't remove this.
   182 // End of file  --Don't remove this.