-rw-r--r-- | korganizer/navigatorbar.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/korganizer/navigatorbar.h b/korganizer/navigatorbar.h index 93240a6..803c817 100644 --- a/korganizer/navigatorbar.h +++ b/korganizer/navigatorbar.h | |||
@@ -25,41 +25,45 @@ | |||
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 | 41 | ||
42 | public slots: | 42 | public slots: |
43 | void selectDates( const KCal::DateList & ); | 43 | void selectDates( const KCal::DateList & ); |
44 | void selectMonth(); | 44 | void selectMonth(); |
45 | 45 | ||
46 | signals: | 46 | signals: |
47 | void goNextMonth(); | 47 | void goNextMonth(); |
48 | void goPrevMonth(); | 48 | void goPrevMonth(); |
49 | void goNextWeek(); | ||
50 | void goPrevWeek(); | ||
49 | void goNextYear(); | 51 | void goNextYear(); |
50 | void goPrevYear(); | 52 | void goPrevYear(); |
51 | void monthSelected( int ); | 53 | void monthSelected( int ); |
52 | 54 | ||
53 | private: | 55 | private: |
54 | QFrame *mCtrlFrame; | 56 | QFrame *mCtrlFrame; |
55 | 57 | ||
56 | QPushButton *mPrevYear; | 58 | QPushButton *mPrevYear; |
57 | QPushButton *mPrevMonth; | 59 | QPushButton *mPrevMonth; |
58 | QPushButton *mNextMonth; | 60 | QPushButton *mNextMonth; |
61 | QPushButton *mPrevWeek; | ||
62 | QPushButton *mNextWeek; | ||
59 | QPushButton *mNextYear; | 63 | QPushButton *mNextYear; |
60 | QPushButton *mSelectMonth; | 64 | QPushButton *mSelectMonth; |
61 | 65 | ||
62 | //QLabel *mDateLabel; | 66 | //QLabel *mDateLabel; |
63 | }; | 67 | }; |
64 | 68 | ||
65 | #endif | 69 | #endif |