-rw-r--r-- | korganizer/komonthview.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/korganizer/komonthview.h b/korganizer/komonthview.h index a92421b..89912e0 100644 --- a/korganizer/komonthview.h +++ b/korganizer/komonthview.h | |||
@@ -24,12 +24,13 @@ | |||
24 | #include <qframe.h> | 24 | #include <qframe.h> |
25 | #include <qdatetime.h> | 25 | #include <qdatetime.h> |
26 | #include <qlistbox.h> | 26 | #include <qlistbox.h> |
27 | #include <qpoint.h> | 27 | #include <qpoint.h> |
28 | #include <qwidgetstack.h> | 28 | #include <qwidgetstack.h> |
29 | #include <qlayout.h> | 29 | #include <qlayout.h> |
30 | #include <qtimer.h> | ||
30 | #include <qintdict.h> | 31 | #include <qintdict.h> |
31 | #include <qpushbutton.h> | 32 | #include <qpushbutton.h> |
32 | #include <qvaluelist.h> | 33 | #include <qvaluelist.h> |
33 | #include <qptrvector.h> | 34 | #include <qptrvector.h> |
34 | 35 | ||
35 | #include <libkcal/calendar.h> | 36 | #include <libkcal/calendar.h> |
@@ -248,12 +249,13 @@ class KOMonthView: public KOEventView | |||
248 | void showContextMenu( Incidence * ); | 249 | void showContextMenu( Incidence * ); |
249 | 250 | ||
250 | void setSelectedCell( MonthViewCell * ); | 251 | void setSelectedCell( MonthViewCell * ); |
251 | void switchView(); | 252 | void switchView(); |
252 | 253 | ||
253 | protected slots: | 254 | protected slots: |
255 | void slotComputeLayout(); | ||
254 | void selectInternalWeekNum ( int ); | 256 | void selectInternalWeekNum ( int ); |
255 | void processSelectionChange(); | 257 | void processSelectionChange(); |
256 | signals: | 258 | signals: |
257 | void nextMonth(); | 259 | void nextMonth(); |
258 | void prevMonth(); | 260 | void prevMonth(); |
259 | void selectWeekNum ( int ); | 261 | void selectWeekNum ( int ); |
@@ -262,12 +264,13 @@ class KOMonthView: public KOEventView | |||
262 | protected: | 264 | protected: |
263 | void resizeEvent(QResizeEvent *); | 265 | void resizeEvent(QResizeEvent *); |
264 | void viewChanged(); | 266 | void viewChanged(); |
265 | void updateDayLabels(); | 267 | void updateDayLabels(); |
266 | 268 | ||
267 | private: | 269 | private: |
270 | QTimer* mComputeLayoutTimer; | ||
268 | NavigatorBar* mNavigatorBar; | 271 | NavigatorBar* mNavigatorBar; |
269 | int currentWeek(); | 272 | int currentWeek(); |
270 | bool clPending; | 273 | bool clPending; |
271 | QWidgetStack * mWidStack; | 274 | QWidgetStack * mWidStack; |
272 | QWidget* mMonthView; | 275 | QWidget* mMonthView; |
273 | QWidget* mWeekView; | 276 | QWidget* mWeekView; |