author | harlekin <harlekin> | 2002-03-20 09:26:50 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-03-20 09:26:50 (UTC) |
commit | 79d96ab3393af185b0f0d705e1b7ae74ee801241 (patch) (side-by-side diff) | |
tree | 9875a386bfb159701840024d3975d5091aac1d59 /core/pim/today/today.h | |
parent | ad91f15243333bf968ef5788d12c780746fcffb3 (diff) | |
download | opie-79d96ab3393af185b0f0d705e1b7ae74ee801241.zip opie-79d96ab3393af185b0f0d705e1b7ae74ee801241.tar.gz opie-79d96ab3393af185b0f0d705e1b7ae74ee801241.tar.bz2 |
ported todoy to tododb wich is now in libopie
-rw-r--r-- | core/pim/today/today.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/pim/today/today.h b/core/pim/today/today.h index 6dec2c2..6048781 100644 --- a/core/pim/today/today.h +++ b/core/pim/today/today.h @@ -11,71 +11,72 @@ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef TODAY_H #define TODAY_H #include <qpe/datebookdb.h> #include <qpe/event.h> +#include <opie/tododb.h> + #include <qdatetime.h> #include <qlist.h> -#include "TodoItem.h" #include "todayconfig.h" #include "todaybase.h" #include "clickablelabel.h" class QVBoxLayout; class Today : public TodayBase { Q_OBJECT public: Today( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~Today(); private slots: void startConfig(); void startTodo(); void startDatebook(); void startMail(); void draw(); void editEvent(const Event &e); private: void init(); void getDates(); void getTodo(); void getMail(); void autoStart(); bool checkIfModified(); void setOwnerField(); void setOwnerField(QString &string); - QList<TodoItem> loadTodo(const char *filename); private slots: void channelReceived(const QCString &msg, const QByteArray & data); private: DateBookDB *db; + ToDoDB *todo; todayconfig *conf; QWidget* AllDateBookEvents; //Config cfg; int MAX_LINES_TASK; int MAX_CHAR_CLIP; int MAX_LINES_MEET; int SHOW_LOCATION; int SHOW_NOTES; }; class DateBookEvent: public ClickableLabel { Q_OBJECT public: DateBookEvent(const EffectiveEvent &ev, QWidget* parent = 0, const char* name = 0, WFlags fl = 0); |