Diffstat (limited to 'korganizer/datenavigatorcontainer.h') (more/less context) (show whitespace changes)
-rw-r--r-- | korganizer/datenavigatorcontainer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/korganizer/datenavigatorcontainer.h b/korganizer/datenavigatorcontainer.h index 9a64720..d2f397d 100644 --- a/korganizer/datenavigatorcontainer.h +++ b/korganizer/datenavigatorcontainer.h | |||
@@ -50,42 +50,48 @@ class DateNavigatorContainer: public QWidget | |||
50 | QDate lastAvailableDate() const ; | 50 | QDate lastAvailableDate() const ; |
51 | QDate firstAvailableDate() const ; | 51 | QDate firstAvailableDate() const ; |
52 | 52 | ||
53 | public slots: | 53 | public slots: |
54 | void selectDates( const KCal::DateList & ); | 54 | void selectDates( const KCal::DateList & ); |
55 | void updateView(); | 55 | void updateView(); |
56 | void updateConfig(); | 56 | void updateConfig(); |
57 | void updateDayMatrix(); | 57 | void updateDayMatrix(); |
58 | void updateDayMatrixDates(); | 58 | void updateDayMatrixDates(); |
59 | void checkUpdateDayMatrixDates(); | 59 | void checkUpdateDayMatrixDates(); |
60 | void updateToday(); | 60 | void updateToday(); |
61 | void slotMonthSelected( int month ); | 61 | void slotMonthSelected( int month ); |
62 | void slotgoNextMonth(); | ||
63 | void slotgoPrevMonth(); | ||
64 | void slotgoNextYear(); | ||
65 | void slotgoPrevYear(); | ||
62 | 66 | ||
63 | signals: | 67 | signals: |
64 | void datesSelected( const KCal::DateList & ); | 68 | void datesSelected( const KCal::DateList & ); |
65 | void incidenceDropped( Incidence *, const QDate & ); | 69 | void incidenceDropped( Incidence *, const QDate & ); |
66 | void incidenceDroppedMove( Incidence *, const QDate & ); | 70 | void incidenceDroppedMove( Incidence *, const QDate & ); |
67 | void weekClicked( const QDate &); | 71 | void weekClicked( const QDate &); |
68 | 72 | ||
69 | void goPrevious(); | 73 | void goPrevious(); |
70 | void goNext(); | 74 | void goNext(); |
71 | 75 | ||
72 | void goNextMonth(); | 76 | void goNextMonth(); |
73 | void goPrevMonth(); | 77 | void goPrevMonth(); |
74 | void goNextYear(); | 78 | void goNextYear(); |
75 | void goPrevYear(); | 79 | void goPrevYear(); |
76 | 80 | ||
77 | void monthSelected( int month ); | 81 | void monthSelected( int month ); |
78 | 82 | ||
79 | protected: | 83 | protected: |
84 | void computeMonthSelected( int month , bool forceEmit ); | ||
85 | void jumpMonth( int month ); | ||
80 | void resizeEvent( QResizeEvent * ); | 86 | void resizeEvent( QResizeEvent * ); |
81 | 87 | ||
82 | void setBaseDates(); | 88 | void setBaseDates(); |
83 | void connectNavigatorView( KDateNavigator *v ); | 89 | void connectNavigatorView( KDateNavigator *v ); |
84 | 90 | ||
85 | private: | 91 | private: |
86 | QTimer* mUpdateTimer; | 92 | QTimer* mUpdateTimer; |
87 | int mLastDisplayedDN; | 93 | int mLastDisplayedDN; |
88 | QDate mFirstSelectedDate; | 94 | QDate mFirstSelectedDate; |
89 | int mSelectedDateCount; | 95 | int mSelectedDateCount; |
90 | KDateNavigator *mNavigatorView; | 96 | KDateNavigator *mNavigatorView; |
91 | 97 | ||