-rw-r--r-- | korganizer/navigatorbar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/navigatorbar.h b/korganizer/navigatorbar.h index bf6d173..9ccef14 100644 --- a/korganizer/navigatorbar.h +++ b/korganizer/navigatorbar.h | |||
@@ -20,49 +20,49 @@ | |||
20 | As a special exception, permission is given to link this program | 20 | As a special exception, permission is given to link this program |
21 | with any edition of Qt, and distribute the resulting executable, | 21 | with any edition of Qt, and distribute the resulting executable, |
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 | 30 | ||
31 | class QPushButton; | 31 | class QPushButton; |
32 | class QFrame; | 32 | class QFrame; |
33 | class QLabel; | 33 | class QLabel; |
34 | 34 | ||
35 | class NavigatorBar: public QWidget | 35 | class NavigatorBar: public QWidget |
36 | { | 36 | { |
37 | Q_OBJECT | 37 | Q_OBJECT |
38 | public: | 38 | public: |
39 | NavigatorBar( const QDate & date, QWidget *parent = 0, const char *name = 0 ); | 39 | NavigatorBar( const QDate & date, QWidget *parent = 0, const char *name = 0 ); |
40 | ~NavigatorBar(); | 40 | ~NavigatorBar(); |
41 | void showButtons( bool left, bool right ); | 41 | void showButtons( bool left, bool right ); |
42 | void resetFont ( QFont fo ); | 42 | void resetFont ( QFont fo ); |
43 | QSize sizeHint() const; | 43 | QSize sizeHint() const; |
44 | QSize sizeHintTwoButtons() const; | 44 | QSize sizeHintTwoButtons( int butNum = 2 ) const; |
45 | 45 | ||
46 | public slots: | 46 | public slots: |
47 | void selectDates( const KCal::DateList & ); | 47 | void selectDates( const KCal::DateList & ); |
48 | void selectMonth(); | 48 | void selectMonth(); |
49 | 49 | ||
50 | signals: | 50 | signals: |
51 | void goNextMonth(); | 51 | void goNextMonth(); |
52 | void goPrevMonth(); | 52 | void goPrevMonth(); |
53 | void goNextWeek(); | 53 | void goNextWeek(); |
54 | void goPrevWeek(); | 54 | void goPrevWeek(); |
55 | void goNextYear(); | 55 | void goNextYear(); |
56 | void goPrevYear(); | 56 | void goPrevYear(); |
57 | void monthSelected( int ); | 57 | void monthSelected( int ); |
58 | 58 | ||
59 | private: | 59 | private: |
60 | int mCurrentHei; | 60 | int mCurrentHei; |
61 | int mCurrentMinWid; | 61 | int mCurrentMinWid; |
62 | int mCurrentButtonMinWid; | 62 | int mCurrentButtonMinWid; |
63 | QFrame *mCtrlFrame; | 63 | QFrame *mCtrlFrame; |
64 | 64 | ||
65 | QPushButton *mPrevYear; | 65 | QPushButton *mPrevYear; |
66 | QPushButton *mPrevMonth; | 66 | QPushButton *mPrevMonth; |
67 | QPushButton *mNextMonth; | 67 | QPushButton *mNextMonth; |
68 | QPushButton *mPrevWeek; | 68 | QPushButton *mPrevWeek; |