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 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/core/pim/datebook/modules/weeklst/datebookweeklstdblview.h b/core/pim/datebook/modules/weeklst/datebookweeklstdblview.h index 57e9690..808556e 100644 --- a/core/pim/datebook/modules/weeklst/datebookweeklstdblview.h +++ b/core/pim/datebook/modules/weeklst/datebookweeklstdblview.h | |||
@@ -7,17 +7,30 @@ | |||
7 | #include <qvaluelist.h> | 7 | #include <qvaluelist.h> |
8 | #include <qdatetime.h> | 8 | #include <qdatetime.h> |
9 | #include <qstring.h> | 9 | #include <qstring.h> |
10 | 10 | ||
11 | class DateBookWeekLstView; | ||
12 | class QHBoxLayout; | ||
13 | |||
11 | class DateBookWeekLstDblView: public QWidget { | 14 | class DateBookWeekLstDblView: public QWidget { |
12 | Q_OBJECT | 15 | Q_OBJECT |
13 | public: | 16 | public: |
14 | DateBookWeekLstDblView(QValueList<EffectiveEvent> &ev1, | 17 | DateBookWeekLstDblView(QValueList<EffectiveEvent> &ev1, |
15 | QValueList<EffectiveEvent> &ev2, | 18 | QValueList<EffectiveEvent> &ev2, |
16 | QDate &d, bool onM, | 19 | QDate &d, bool onM, |
17 | QWidget* parent = 0, const char* name = 0, | 20 | QWidget* parent = 0, const char* name = 0, |
18 | WFlags fl = 0 ); | 21 | WFlags fl = 0 ); |
22 | DateBookWeekLstDblView(QValueList<EffectiveEvent> &ev1, | ||
23 | QDate &d, bool onM, | ||
24 | QWidget* parent = 0, const char* name = 0, | ||
25 | WFlags fl = 0 ); | ||
19 | virtual ~DateBookWeekLstDblView(); | 26 | virtual ~DateBookWeekLstDblView(); |
27 | void setEvents(QValueList<EffectiveEvent> &ev1,QValueList<EffectiveEvent> &ev2,QDate &d, bool onM); | ||
28 | void setEvents(QValueList<EffectiveEvent> &ev1,QDate &d, bool onM); | ||
29 | void setRightEvents(QValueList<EffectiveEvent> &ev1,QDate &d, bool onM); | ||
30 | |||
31 | bool toggleDoubleView(bool how); | ||
32 | |||
20 | signals: | 33 | signals: |
21 | void editEvent(const Event &e); | 34 | void editEvent(const Event &e); |
22 | void duplicateEvent(const Event &e); | 35 | void duplicateEvent(const Event &e); |
23 | void removeEvent(const Event &e); | 36 | void removeEvent(const Event &e); |
@@ -25,7 +38,11 @@ signals: | |||
25 | void redraw(); | 38 | void redraw(); |
26 | void showDate(int y, int m, int d); | 39 | void showDate(int y, int m, int d); |
27 | void addEvent(const QDateTime &start, const QDateTime &stop, | 40 | void addEvent(const QDateTime &start, const QDateTime &stop, |
28 | const QString &str, const QString &location); | 41 | const QString &str, const QString &location); |
42 | |||
43 | protected: | ||
44 | QHBoxLayout*m_MainLayout; | ||
45 | DateBookWeekLstView *leftView,*rightView; | ||
29 | }; | 46 | }; |
30 | 47 | ||
31 | #endif | 48 | #endif |