Diffstat (limited to 'core/pim/datebook/datebookweeklst.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/datebookweeklst.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/pim/datebook/datebookweeklst.h b/core/pim/datebook/datebookweeklst.h index d2a07cc..39c956d 100644 --- a/core/pim/datebook/datebookweeklst.h +++ b/core/pim/datebook/datebookweeklst.h | |||
@@ -19,13 +19,13 @@ class DateBookWeekLstHeader: public DateBookWeekLstHeaderBase | |||
19 | { | 19 | { |
20 | Q_OBJECT | 20 | Q_OBJECT |
21 | public: | 21 | public: |
22 | DateBookWeekLstHeader(bool onM, QWidget* parent = 0, const char* name = 0, | 22 | DateBookWeekLstHeader(bool onM, QWidget* parent = 0, const char* name = 0, |
23 | WFlags fl = 0 ); | 23 | WFlags fl = 0 ); |
24 | ~DateBookWeekLstHeader(); | 24 | ~DateBookWeekLstHeader(); |
25 | void setDate(QDate d); | 25 | void setDate(const QDate &d); |
26 | 26 | ||
27 | public slots: | 27 | public slots: |
28 | void nextWeek(); | 28 | void nextWeek(); |
29 | void prevWeek(); | 29 | void prevWeek(); |
30 | void pickDate(); | 30 | void pickDate(); |
31 | void setDate(int y, int m, int d); | 31 | void setDate(int y, int m, int d); |
@@ -94,13 +94,13 @@ class DateBookWeekLst : public QWidget | |||
94 | 94 | ||
95 | public: | 95 | public: |
96 | DateBookWeekLst( bool ampm, bool onM, DateBookDB *newDB, | 96 | DateBookWeekLst( bool ampm, bool onM, DateBookDB *newDB, |
97 | QWidget *parent = 0, | 97 | QWidget *parent = 0, |
98 | const char *name = 0 ); | 98 | const char *name = 0 ); |
99 | void setDate( int y, int w ); | 99 | void setDate( int y, int w ); |
100 | void setDate( QDate &d ); | 100 | void setDate(const QDate &d ); |
101 | int week() const { return _week; }; | 101 | int week() const { return _week; }; |
102 | QDate date() const; | 102 | QDate date() const; |
103 | 103 | ||
104 | public slots: | 104 | public slots: |
105 | void redraw(); | 105 | void redraw(); |
106 | void dateChanged(int y, int w); | 106 | void dateChanged(int y, int w); |