author | zautrix <zautrix> | 2005-03-21 09:58:16 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-21 09:58:16 (UTC) |
commit | 5b9e0451514d65ab576b51e0f9d3515fa6b9e4e6 (patch) (unidiff) | |
tree | c3e1f114768876675b6ab6463083d03dff321b4e /korganizer/kdatenavigator.h | |
parent | fd372d97084c401aacb999e89f8bdd94056a3b59 (diff) | |
download | kdepimpi-5b9e0451514d65ab576b51e0f9d3515fa6b9e4e6.zip kdepimpi-5b9e0451514d65ab576b51e0f9d3515fa6b9e4e6.tar.gz kdepimpi-5b9e0451514d65ab576b51e0f9d3515fa6b9e4e6.tar.bz2 |
nf
-rw-r--r-- | korganizer/kdatenavigator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/korganizer/kdatenavigator.h b/korganizer/kdatenavigator.h index 3177687..d1f32b6 100644 --- a/korganizer/kdatenavigator.h +++ b/korganizer/kdatenavigator.h | |||
@@ -49,48 +49,49 @@ class KDateNavigator: public QFrame | |||
49 | * the passage of midnight. If rollover type is | 49 | * the passage of midnight. If rollover type is |
50 | * set to None, no signals are emitted and no | 50 | * set to None, no signals are emitted and no |
51 | * processing is done. With rollover set to | 51 | * processing is done. With rollover set to |
52 | * FollowDay, the day highlighter changes at | 52 | * FollowDay, the day highlighter changes at |
53 | * midnight and dayPassed() is emitted. | 53 | * midnight and dayPassed() is emitted. |
54 | * With FollowMonth, it has the same effect | 54 | * With FollowMonth, it has the same effect |
55 | * as FollowDay but also adjusts the month that is | 55 | * as FollowDay but also adjusts the month that is |
56 | * visible and emits monthPassed() when the month changes. | 56 | * visible and emits monthPassed() when the month changes. |
57 | */ | 57 | */ |
58 | enum RolloverType { None, FollowDay, FollowMonth } ; | 58 | enum RolloverType { None, FollowDay, FollowMonth } ; |
59 | void enableRollover( RolloverType ); | 59 | void enableRollover( RolloverType ); |
60 | 60 | ||
61 | void setShowWeekNums( bool enabled ); | 61 | void setShowWeekNums( bool enabled ); |
62 | void setCalendar( Calendar * ); | 62 | void setCalendar( Calendar * ); |
63 | void setBaseDate( const QDate & , bool doRepaint = true ); | 63 | void setBaseDate( const QDate & , bool doRepaint = true ); |
64 | KCal::DateList selectedDates() const { return mSelectedDates; } | 64 | KCal::DateList selectedDates() const { return mSelectedDates; } |
65 | NavigatorBar *navigatorBar() const { return mNavigatorBar; } | 65 | NavigatorBar *navigatorBar() const { return mNavigatorBar; } |
66 | void setMonthSignalOffset ( int off ) { mMonthSignalOffset = off;} | 66 | void setMonthSignalOffset ( int off ) { mMonthSignalOffset = off;} |
67 | QSize yourSizeHint() { return mySizeHint; } | 67 | QSize yourSizeHint() { return mySizeHint; } |
68 | QFont yourFontHint( QSize , bool * b); | 68 | QFont yourFontHint( QSize , bool * b); |
69 | bool fontChanged() {return mFontChanged; } | 69 | bool fontChanged() {return mFontChanged; } |
70 | void unsetFontChanged() { mFontChanged = false; } | 70 | void unsetFontChanged() { mFontChanged = false; } |
71 | KODayMatrix *dayMatrix() { return daymatrix ;} | 71 | KODayMatrix *dayMatrix() { return daymatrix ;} |
72 | QSize sizeHint() const; | 72 | QSize sizeHint() const; |
73 | QSize sizeHintTwoButtons() const; | ||
73 | void changeFont ( QFont fo ); | 74 | void changeFont ( QFont fo ); |
74 | public slots: | 75 | public slots: |
75 | void selectDates( const KCal::DateList & ); | 76 | void selectDates( const KCal::DateList & ); |
76 | void updateView(); | 77 | void updateView(); |
77 | void updateConfig(); | 78 | void updateConfig(); |
78 | void updateDayMatrix(); | 79 | void updateDayMatrix(); |
79 | 80 | ||
80 | signals: | 81 | signals: |
81 | void datesSelected( const KCal::DateList & ); | 82 | void datesSelected( const KCal::DateList & ); |
82 | void eventDropped( Event * ); | 83 | void eventDropped( Event * ); |
83 | void weekClicked( const QDate &); | 84 | void weekClicked( const QDate &); |
84 | 85 | ||
85 | void goPrevious(); | 86 | void goPrevious(); |
86 | void goNext(); | 87 | void goNext(); |
87 | 88 | ||
88 | void goNextMonth(); | 89 | void goNextMonth(); |
89 | void goPrevMonth(); | 90 | void goPrevMonth(); |
90 | void goNextYear(); | 91 | void goNextYear(); |
91 | void goPrevYear(); | 92 | void goPrevYear(); |
92 | void monthSelected( int ); | 93 | void monthSelected( int ); |
93 | 94 | ||
94 | // Signals emitted at midnight carrying the new date. | 95 | // Signals emitted at midnight carrying the new date. |
95 | void dayPassed( QDate ); | 96 | void dayPassed( QDate ); |
96 | void monthPassed( QDate ); | 97 | void monthPassed( QDate ); |