Diffstat (limited to 'core/pim/datebook/datebookweeklst.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/datebookweeklst.h | 41 |
1 files changed, 22 insertions, 19 deletions
diff --git a/core/pim/datebook/datebookweeklst.h b/core/pim/datebook/datebookweeklst.h index 17dc01f..f858c4f 100644 --- a/core/pim/datebook/datebookweeklst.h +++ b/core/pim/datebook/datebookweeklst.h | |||
@@ -26,14 +26,17 @@ public: | |||
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 nextMonth(); |
31 | void setDate(int y, int m, int d); | 31 | void prevMonth(); |
32 | void pickDate(); | ||
33 | void setDate(int y, int m, int d); | ||
32 | signals: | 34 | signals: |
33 | void dateChanged(int y, int w); | 35 | void dateChanged(int y, int w); |
34 | void setDbl(bool on); | 36 | void setDbl(bool on); |
35 | private: | 37 | private: |
36 | QDate date; | 38 | QDate date; |
37 | bool onMonday; | 39 | //bool onMonday; |
40 | bool bStartOnMonday; | ||
38 | }; | 41 | }; |
39 | 42 | ||
@@ -80,12 +83,12 @@ public: | |||
80 | ~DateBookWeekLstView(); | 83 | ~DateBookWeekLstView(); |
81 | signals: | 84 | signals: |
82 | void editEvent(const Event &e); | 85 | void editEvent(const Event &e); |
83 | void showDate(int y, int m, int d); | 86 | void showDate(int y, int m, int d); |
84 | void addEvent(const QDateTime &start, const QDateTime &stop, | 87 | void addEvent(const QDateTime &start, const QDateTime &stop, |
85 | const QString &str, const QString &location); | 88 | const QString &str, const QString &location); |
86 | private: | 89 | private: |
87 | bool onMonday; | 90 | bool bStartOnMonday; |
88 | protected slots: | 91 | protected slots: |
89 | void keyPressEvent(QKeyEvent *); | 92 | void keyPressEvent(QKeyEvent *); |
90 | }; | 93 | }; |
91 | 94 | ||
@@ -128,8 +131,8 @@ protected slots: | |||
128 | 131 | ||
129 | signals: | 132 | signals: |
130 | void showDate(int y, int m, int d); | 133 | void showDate(int y, int m, int d); |
131 | void addEvent(const QDateTime &start, const QDateTime &stop, | 134 | void addEvent(const QDateTime &start, const QDateTime &stop, |
132 | const QString &str, const QString &location); | 135 | const QString &str, const QString &location); |
133 | void editEvent(const Event &e); | 136 | void editEvent(const Event &e); |
134 | 137 | ||
135 | private: | 138 | private: |
@@ -137,5 +140,5 @@ private: | |||
137 | int startTime; | 140 | int startTime; |
138 | bool ampm; | 141 | bool ampm; |
139 | bool onMonday; | 142 | bool bStartOnMonday; |
140 | bool dbl; | 143 | bool dbl; |
141 | int year, _week; | 144 | int year, _week; |