calendarui/views/inc/calenmonthview.h
changeset 49 5de72ea7a065
parent 32 ea672fcb0ea0
child 50 579cc610882e
equal deleted inserted replaced
37:360d55486d7f 49:5de72ea7a065
    45 class CalenThickLinesDrawer;
    45 class CalenThickLinesDrawer;
    46 class CalenMonthGrid;
    46 class CalenMonthGrid;
    47 class CalenPluginLabel;
    47 class CalenPluginLabel;
    48 
    48 
    49 // Constants
    49 // Constants
    50 const int KCalenDaysInWeek = 7;
       
    51 const int KNumOfVisibleRows = 6;
    50 const int KNumOfVisibleRows = 6;
    52 
    51 
    53 #ifdef  CALENVIEWS_DLL
    52 #ifdef  CALENVIEWS_DLL
    54 #define CALENMONTHVIEW_EXPORT Q_DECL_EXPORT
    53 #define CALENMONTHVIEW_EXPORT Q_DECL_EXPORT
    55 #else
    54 #else
   104 	void removeWeekNumbers();
   103 	void removeWeekNumbers();
   105 	void addBackgroundFrame();
   104 	void addBackgroundFrame();
   106 	void refreshViewOnGoToDate();
   105 	void refreshViewOnGoToDate();
   107 	void showHideRegionalInformation();
   106 	void showHideRegionalInformation();
   108 	void onContextChanged();
   107 	void onContextChanged();
       
   108 	void updateDayLabel();
   109 	
   109 	
   110 private slots:
   110 private slots:
   111 	void createEditor();
   111 	void createEditor();
   112 	void goToToday();
   112 	void goToToday();
   113 	void updateMonthDataArrayWithActiveDates();
   113 	void updateMonthDataArrayWithActiveDates();
   174 	CalenPluginLabel *mPrevRegionalInfo;
   174 	CalenPluginLabel *mPrevRegionalInfo;
   175 	CalenPluginLabel *mCurrRegionalInfo;
   175 	CalenPluginLabel *mCurrRegionalInfo;
   176 	CalenPluginLabel *mNextRegionalInfo;
   176 	CalenPluginLabel *mNextRegionalInfo;
   177 	HbMenu *mDeleteSubMenu;
   177 	HbMenu *mDeleteSubMenu;
   178 	QColor mWeekDaysColor;
   178 	QColor mWeekDaysColor;
       
   179 	bool   mIsAboutToQuitEventConnected; // bool to check if month view is registered to get aboutToQuit signals
   179 };
   180 };
   180 
   181 
   181 #endif //CALENMONTHVIEW_H
   182 #endif //CALENMONTHVIEW_H
   182 
   183 
   183 // End of file  --Don't remove this.
   184 // End of file  --Don't remove this.