-rw-r--r-- | core/pim/today/today.h | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/core/pim/today/today.h b/core/pim/today/today.h index b3b7d01..0a0837c 100644 --- a/core/pim/today/today.h +++ b/core/pim/today/today.h | |||
@@ -17,23 +17,27 @@ | |||
17 | * * | 17 | * * |
18 | ***************************************************************************/ | 18 | ***************************************************************************/ |
19 | 19 | ||
20 | 20 | ||
21 | #ifndef TODAY_H | 21 | #ifndef TODAY_H |
22 | #define TODAY_H | 22 | #define TODAY_H |
23 | #include "todaybase.h" | ||
24 | 23 | ||
25 | #include <qpe/datebookdb.h> | 24 | #include <qpe/datebookdb.h> |
25 | #include <qpe/event.h> | ||
26 | 26 | ||
27 | #include <qdatetime.h> | 27 | #include <qdatetime.h> |
28 | #include <qlist.h> | 28 | #include <qlist.h> |
29 | |||
29 | #include "TodoItem.h" | 30 | #include "TodoItem.h" |
30 | #include "todayconfig.h" | 31 | #include "todayconfig.h" |
32 | #include "todaybase.h" | ||
33 | #include "clickablelabel.h" | ||
34 | |||
35 | class QVBoxLayout; | ||
31 | 36 | ||
32 | class Today : public TodayBase | 37 | class Today : public TodayBase { |
33 | { | ||
34 | Q_OBJECT | 38 | Q_OBJECT |
35 | 39 | ||
36 | public: | 40 | public: |
37 | Today( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 41 | Today( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
38 | ~Today(); | 42 | ~Today(); |
39 | 43 | ||
@@ -58,8 +62,23 @@ class Today : public TodayBase | |||
58 | int MAX_LINES_TASK; | 62 | int MAX_LINES_TASK; |
59 | int MAX_CHAR_CLIP; | 63 | int MAX_CHAR_CLIP; |
60 | int MAX_LINES_MEET; | 64 | int MAX_LINES_MEET; |
61 | int SHOW_LOCATION; | 65 | int SHOW_LOCATION; |
62 | int SHOW_NOTES; | 66 | int SHOW_NOTES; |
63 | }; | 67 | }; |
68 | |||
69 | class DateBookEvent: public ClickableLabel { | ||
70 | Q_OBJECT | ||
71 | public: | ||
72 | DateBookEvent(const EffectiveEvent &ev, | ||
73 | QWidget* parent = 0, const char* name = 0, | ||
74 | WFlags fl = 0); | ||
75 | signals: | ||
76 | void editEvent(const Event &e); | ||
77 | private slots: | ||
78 | void editMe(); | ||
79 | private: | ||
80 | const EffectiveEvent event; | ||
81 | }; | ||
82 | |||
64 | #endif // TODAY_H | 83 | #endif // TODAY_H |
65 | 84 | ||