Diffstat (limited to 'core/pim/datebook/modules/weeklst/datebookweeklstdblview.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/datebook/modules/weeklst/datebookweeklstdblview.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/pim/datebook/modules/weeklst/datebookweeklstdblview.h b/core/pim/datebook/modules/weeklst/datebookweeklstdblview.h index 808556e..9eb17e0 100644 --- a/core/pim/datebook/modules/weeklst/datebookweeklstdblview.h +++ b/core/pim/datebook/modules/weeklst/datebookweeklstdblview.h | |||
@@ -11,21 +11,21 @@ | |||
11 | class DateBookWeekLstView; | 11 | class DateBookWeekLstView; |
12 | class QHBoxLayout; | 12 | class QHBoxLayout; |
13 | 13 | ||
14 | class DateBookWeekLstDblView: public QWidget { | 14 | class DateBookWeekLstDblView: public QWidget { |
15 | Q_OBJECT | 15 | Q_OBJECT |
16 | public: | 16 | public: |
17 | DateBookWeekLstDblView(QValueList<EffectiveEvent> &ev1, | 17 | DateBookWeekLstDblView(QValueList<EffectiveEvent> &ev1, |
18 | QValueList<EffectiveEvent> &ev2, | 18 | QValueList<EffectiveEvent> &ev2, |
19 | QDate &d, bool onM, | 19 | QDate &d, bool onM, bool showAmPm, |
20 | QWidget* parent = 0, const char* name = 0, | 20 | QWidget* parent = 0, const char* name = 0, |
21 | WFlags fl = 0 ); | 21 | WFlags fl = 0 ); |
22 | DateBookWeekLstDblView(QValueList<EffectiveEvent> &ev1, | 22 | DateBookWeekLstDblView(QValueList<EffectiveEvent> &ev1, |
23 | QDate &d, bool onM, | 23 | QDate &d, bool onM, bool showAmPm, |
24 | QWidget* parent = 0, const char* name = 0, | 24 | QWidget* parent = 0, const char* name = 0, |
25 | WFlags fl = 0 ); | 25 | WFlags fl = 0 ); |
26 | virtual ~DateBookWeekLstDblView(); | 26 | virtual ~DateBookWeekLstDblView(); |
27 | void setEvents(QValueList<EffectiveEvent> &ev1,QValueList<EffectiveEvent> &ev2,QDate &d, bool onM); | 27 | void setEvents(QValueList<EffectiveEvent> &ev1,QValueList<EffectiveEvent> &ev2,QDate &d, bool onM); |
28 | void setEvents(QValueList<EffectiveEvent> &ev1,QDate &d, bool onM); | 28 | void setEvents(QValueList<EffectiveEvent> &ev1,QDate &d, bool onM); |
29 | void setRightEvents(QValueList<EffectiveEvent> &ev1,QDate &d, bool onM); | 29 | void setRightEvents(QValueList<EffectiveEvent> &ev1,QDate &d, bool onM); |
30 | 30 | ||
31 | bool toggleDoubleView(bool how); | 31 | bool toggleDoubleView(bool how); |
@@ -38,11 +38,12 @@ signals: | |||
38 | void redraw(); | 38 | void redraw(); |
39 | void showDate(int y, int m, int d); | 39 | void showDate(int y, int m, int d); |
40 | void addEvent(const QDateTime &start, const QDateTime &stop, | 40 | void addEvent(const QDateTime &start, const QDateTime &stop, |
41 | const QString &str, const QString &location); | 41 | const QString &str, const QString &location); |
42 | 42 | ||
43 | protected: | 43 | protected: |
44 | QHBoxLayout*m_MainLayout; | 44 | QHBoxLayout*m_MainLayout; |
45 | DateBookWeekLstView *leftView,*rightView; | 45 | DateBookWeekLstView *leftView,*rightView; |
46 | bool ampm; | ||
46 | }; | 47 | }; |
47 | 48 | ||
48 | #endif | 49 | #endif |