-rw-r--r-- | korganizer/kdatenavigator.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/korganizer/kdatenavigator.h b/korganizer/kdatenavigator.h index 77b9b7c..10bc1be 100644 --- a/korganizer/kdatenavigator.h +++ b/korganizer/kdatenavigator.h | |||
@@ -59,23 +59,24 @@ class KDateNavigator: public QFrame | |||
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%12;} | 66 | void setMonthSignalOffset ( int off ) { mMonthSignalOffset = off%12;} |
67 | QSize yourSizeHint() { return mySizeHint; } | 67 | QSize yourSizeHint()const { return mySizeHint; }; |
68 | QSize yourFullSizeHint() const { return myFullSizeHint;}; | ||
68 | QFont yourFontHint( QSize , bool * b); | 69 | QFont yourFontHint( QSize , bool * b); |
69 | bool fontChanged() {return mFontChanged; } | 70 | bool fontChanged() {return mFontChanged; } |
70 | void unsetFontChanged() { mFontChanged = false; } | 71 | void unsetFontChanged() { mFontChanged = false; } |
71 | KODayMatrix *dayMatrix() { return daymatrix ;} | 72 | KODayMatrix *dayMatrix() { return daymatrix ;} |
72 | QSize sizeHint() const; | 73 | QSize sizeHint() const; |
73 | QSize sizeHintTwoButtons() const; | 74 | QSize sizeHintTwoButtons( int butnum = 2 ) const; |
74 | void changeFont ( QFont fo ); | 75 | void changeFont ( QFont fo ); |
75 | public slots: | 76 | public slots: |
76 | void selectDates( const KCal::DateList & ); | 77 | void selectDates( const KCal::DateList & ); |
77 | void updateView(); | 78 | void updateView(); |
78 | void updateConfig(); | 79 | void updateConfig(); |
79 | void updateDayMatrix(); | 80 | void updateDayMatrix(); |
80 | 81 | ||
81 | signals: | 82 | signals: |
@@ -118,16 +119,17 @@ class KDateNavigator: public QFrame | |||
118 | void updateDates(); | 119 | void updateDates(); |
119 | 120 | ||
120 | void wheelEvent (QWheelEvent *); | 121 | void wheelEvent (QWheelEvent *); |
121 | 122 | ||
122 | bool eventFilter (QObject *,QEvent *); | 123 | bool eventFilter (QObject *,QEvent *); |
123 | 124 | ||
124 | private: | 125 | private: |
125 | QSize mySizeHint; | 126 | QSize mySizeHint; |
127 | QSize myFullSizeHint; | ||
126 | bool mFontChanged; | 128 | bool mFontChanged; |
127 | int mMonthSignalOffset; | 129 | int mMonthSignalOffset; |
128 | NavigatorBar *mNavigatorBar; | 130 | NavigatorBar *mNavigatorBar; |
129 | 131 | ||
130 | QFrame *headingSep; | 132 | QFrame *headingSep; |
131 | QFrame *weeknumSep; | 133 | QFrame *weeknumSep; |
132 | QLabel *headings[7]; | 134 | QLabel *headings[7]; |
133 | QLabel *weeknos[7]; | 135 | QLabel *weeknos[7]; |