author | harlekin <harlekin> | 2002-03-20 09:26:50 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-03-20 09:26:50 (UTC) |
commit | 79d96ab3393af185b0f0d705e1b7ae74ee801241 (patch) (unidiff) | |
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 | 11 |
1 files changed, 6 insertions, 5 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 | |||
@@ -21,16 +21,17 @@ | |||
21 | #ifndef TODAY_H | 21 | #ifndef TODAY_H |
22 | #define TODAY_H | 22 | #define TODAY_H |
23 | 23 | ||
24 | #include <qpe/datebookdb.h> | 24 | #include <qpe/datebookdb.h> |
25 | #include <qpe/event.h> | 25 | #include <qpe/event.h> |
26 | 26 | ||
27 | #include <opie/tododb.h> | ||
28 | |||
27 | #include <qdatetime.h> | 29 | #include <qdatetime.h> |
28 | #include <qlist.h> | 30 | #include <qlist.h> |
29 | 31 | ||
30 | #include "TodoItem.h" | ||
31 | #include "todayconfig.h" | 32 | #include "todayconfig.h" |
32 | #include "todaybase.h" | 33 | #include "todaybase.h" |
33 | #include "clickablelabel.h" | 34 | #include "clickablelabel.h" |
34 | 35 | ||
35 | class QVBoxLayout; | 36 | class QVBoxLayout; |
36 | 37 | ||
@@ -54,18 +55,18 @@ class Today : public TodayBase { | |||
54 | void getTodo(); | 55 | void getTodo(); |
55 | void getMail(); | 56 | void getMail(); |
56 | void autoStart(); | 57 | void autoStart(); |
57 | bool checkIfModified(); | 58 | bool checkIfModified(); |
58 | void setOwnerField(); | 59 | void setOwnerField(); |
59 | void setOwnerField(QString &string); | 60 | void setOwnerField(QString &string); |
60 | QList<TodoItem> loadTodo(const char *filename); | 61 | private slots: |
61 | private slots: | 62 | void channelReceived(const QCString &msg, const QByteArray & data); |
62 | void channelReceived(const QCString &msg, const QByteArray & data); | 63 | |
63 | |||
64 | private: | 64 | private: |
65 | DateBookDB *db; | 65 | DateBookDB *db; |
66 | ToDoDB *todo; | ||
66 | todayconfig *conf; | 67 | todayconfig *conf; |
67 | QWidget* AllDateBookEvents; | 68 | QWidget* AllDateBookEvents; |
68 | //Config cfg; | 69 | //Config cfg; |
69 | int MAX_LINES_TASK; | 70 | int MAX_LINES_TASK; |
70 | int MAX_CHAR_CLIP; | 71 | int MAX_CHAR_CLIP; |
71 | int MAX_LINES_MEET; | 72 | int MAX_LINES_MEET; |