Diffstat (limited to 'core/pim/datebook/modules/weeklst/datebookweeklstheader.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/datebook/modules/weeklst/datebookweeklstheader.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/core/pim/datebook/modules/weeklst/datebookweeklstheader.h b/core/pim/datebook/modules/weeklst/datebookweeklstheader.h new file mode 100644 index 0000000..818b825 --- a/dev/null +++ b/core/pim/datebook/modules/weeklst/datebookweeklstheader.h | |||
@@ -0,0 +1,34 @@ | |||
1 | #ifndef _DATEBOOKWEEKLSTHEADER_H | ||
2 | #define _DATEBOOKWEEKLSTHEADER_H | ||
3 | |||
4 | #include "datebookweeklstheaderbase.h" | ||
5 | |||
6 | #include <qdatetime.h> | ||
7 | |||
8 | class DateBookWeekLstHeader: public DateBookWeekLstHeaderBase | ||
9 | { | ||
10 | Q_OBJECT | ||
11 | public: | ||
12 | DateBookWeekLstHeader(bool onM, QWidget* parent = 0, const char* name = 0, | ||
13 | WFlags fl = 0 ); | ||
14 | ~DateBookWeekLstHeader(); | ||
15 | void setDate(const QDate &d); | ||
16 | |||
17 | public slots: | ||
18 | void nextWeek(); | ||
19 | void prevWeek(); | ||
20 | void nextMonth(); | ||
21 | void prevMonth(); | ||
22 | void pickDate(); | ||
23 | void setDate(int y, int m, int d); | ||
24 | signals: | ||
25 | void dateChanged(QDate &newdate); | ||
26 | void setDbl(bool on); | ||
27 | protected: | ||
28 | QDate date; | ||
29 | // bool onMonday; | ||
30 | bool bStartOnMonday; | ||
31 | |||
32 | }; | ||
33 | |||
34 | #endif | ||