-rw-r--r-- | korganizer/navigatorbar.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/korganizer/navigatorbar.h b/korganizer/navigatorbar.h index 9ccef14..a1880f5 100644 --- a/korganizer/navigatorbar.h +++ b/korganizer/navigatorbar.h | |||
@@ -22,19 +22,22 @@ | |||
22 | without including the source code for Qt in the source distribution. | 22 | without including the source code for Qt in the source distribution. |
23 | */ | 23 | */ |
24 | #ifndef NAVIGATORBAR_H | 24 | #ifndef NAVIGATORBAR_H |
25 | #define NAVIGATORBAR_H | 25 | #define NAVIGATORBAR_H |
26 | 26 | ||
27 | #include <libkcal/incidencebase.h> | 27 | #include <libkcal/incidencebase.h> |
28 | 28 | ||
29 | #include <qwidget.h> | 29 | #include <qwidget.h> |
30 | //Added by qt3to4: | ||
31 | #include <Q3Frame> | ||
32 | #include <QLabel> | ||
30 | 33 | ||
31 | class QPushButton; | 34 | class QPushButton; |
32 | class QFrame; | 35 | class Q3Frame; |
33 | class QLabel; | 36 | class QLabel; |
34 | 37 | ||
35 | class NavigatorBar: public QWidget | 38 | class NavigatorBar: public QWidget |
36 | { | 39 | { |
37 | Q_OBJECT | 40 | Q_OBJECT |
38 | public: | 41 | public: |
39 | NavigatorBar( const QDate & date, QWidget *parent = 0, const char *name = 0 ); | 42 | NavigatorBar( const QDate & date, QWidget *parent = 0, const char *name = 0 ); |
40 | ~NavigatorBar(); | 43 | ~NavigatorBar(); |
@@ -55,17 +58,17 @@ class NavigatorBar: public QWidget | |||
55 | void goNextYear(); | 58 | void goNextYear(); |
56 | void goPrevYear(); | 59 | void goPrevYear(); |
57 | void monthSelected( int ); | 60 | void monthSelected( int ); |
58 | 61 | ||
59 | private: | 62 | private: |
60 | int mCurrentHei; | 63 | int mCurrentHei; |
61 | int mCurrentMinWid; | 64 | int mCurrentMinWid; |
62 | int mCurrentButtonMinWid; | 65 | int mCurrentButtonMinWid; |
63 | QFrame *mCtrlFrame; | 66 | Q3Frame *mCtrlFrame; |
64 | 67 | ||
65 | QPushButton *mPrevYear; | 68 | QPushButton *mPrevYear; |
66 | QPushButton *mPrevMonth; | 69 | QPushButton *mPrevMonth; |
67 | QPushButton *mNextMonth; | 70 | QPushButton *mNextMonth; |
68 | QPushButton *mPrevWeek; | 71 | QPushButton *mPrevWeek; |
69 | QPushButton *mNextWeek; | 72 | QPushButton *mNextWeek; |
70 | QPushButton *mNextYear; | 73 | QPushButton *mNextYear; |
71 | QPushButton *mSelectMonth; | 74 | QPushButton *mSelectMonth; |