-rw-r--r-- | korganizer/navigatorbar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/korganizer/navigatorbar.h b/korganizer/navigatorbar.h index 4442caa..0b2f60b 100644 --- a/korganizer/navigatorbar.h +++ b/korganizer/navigatorbar.h | |||
@@ -18,48 +18,49 @@ | |||
18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
19 | 19 | ||
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 | 43 | ||
43 | public slots: | 44 | public slots: |
44 | void selectDates( const KCal::DateList & ); | 45 | void selectDates( const KCal::DateList & ); |
45 | void selectMonth(); | 46 | void selectMonth(); |
46 | 47 | ||
47 | signals: | 48 | signals: |
48 | void goNextMonth(); | 49 | void goNextMonth(); |
49 | void goPrevMonth(); | 50 | void goPrevMonth(); |
50 | void goNextWeek(); | 51 | void goNextWeek(); |
51 | void goPrevWeek(); | 52 | void goPrevWeek(); |
52 | void goNextYear(); | 53 | void goNextYear(); |
53 | void goPrevYear(); | 54 | void goPrevYear(); |
54 | void monthSelected( int ); | 55 | void monthSelected( int ); |
55 | 56 | ||
56 | private: | 57 | private: |
57 | QFrame *mCtrlFrame; | 58 | QFrame *mCtrlFrame; |
58 | 59 | ||
59 | QPushButton *mPrevYear; | 60 | QPushButton *mPrevYear; |
60 | QPushButton *mPrevMonth; | 61 | QPushButton *mPrevMonth; |
61 | QPushButton *mNextMonth; | 62 | QPushButton *mNextMonth; |
62 | QPushButton *mPrevWeek; | 63 | QPushButton *mPrevWeek; |
63 | QPushButton *mNextWeek; | 64 | QPushButton *mNextWeek; |
64 | QPushButton *mNextYear; | 65 | QPushButton *mNextYear; |
65 | QPushButton *mSelectMonth; | 66 | QPushButton *mSelectMonth; |