-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 @@ -22,5 +22,5 @@ #define TODAY_H -#include "todaybase.h" #include <qpe/datebookdb.h> +#include <qpe/event.h> @@ -28,7 +28,11 @@ #include <qlist.h> + #include "TodoItem.h" #include "todayconfig.h" +#include "todaybase.h" +#include "clickablelabel.h" + +class QVBoxLayout; -class Today : public TodayBase -{ +class Today : public TodayBase { Q_OBJECT @@ -63,2 +67,17 @@ class Today : public TodayBase }; + +class DateBookEvent: public ClickableLabel { + Q_OBJECT +public: + DateBookEvent(const EffectiveEvent &ev, + QWidget* parent = 0, const char* name = 0, + WFlags fl = 0); +signals: + void editEvent(const Event &e); +private slots: + void editMe(); +private: + const EffectiveEvent event; +}; + #endif // TODAY_H |