summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/otodo.h
Unidiff
Diffstat (limited to 'libopie2/opiepim/otodo.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/otodo.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libopie2/opiepim/otodo.h b/libopie2/opiepim/otodo.h
index 2cdc587..70b0253 100644
--- a/libopie2/opiepim/otodo.h
+++ b/libopie2/opiepim/otodo.h
@@ -15,12 +15,13 @@
15 15
16#include <opie/opimrecord.h> 16#include <opie/opimrecord.h>
17 17
18 18
19class OPimState; 19class OPimState;
20class ORecur; 20class ORecur;
21class OPimMaintainer;
21class OTodo : public OPimRecord { 22class OTodo : public OPimRecord {
22public: 23public:
23 typedef QValueList<OTodo> ValueList; 24 typedef QValueList<OTodo> ValueList;
24 enum RecordFields { 25 enum RecordFields {
25 Uid = Qtopia::UID_ID, 26 Uid = Qtopia::UID_ID,
26 Category = Qtopia::CATEGORY_ID, 27 Category = Qtopia::CATEGORY_ID,
@@ -125,12 +126,17 @@ public:
125 /** 126 /**
126 * the recurrance of this 127 * the recurrance of this
127 */ 128 */
128 ORecur recurrence()const; 129 ORecur recurrence()const;
129 130
130 /** 131 /**
132 * the Maintainer of this OTodo
133 */
134 OPimMaintainer maintainer()const;
135
136 /**
131 * The description of the todo 137 * The description of the todo
132 */ 138 */
133 QString description()const; 139 QString description()const;
134 140
135 /** 141 /**
136 * A small summary of the todo 142 * A small summary of the todo
@@ -199,12 +205,18 @@ public:
199 205
200 /** 206 /**
201 * set the state of a Todo 207 * set the state of a Todo
202 * @param state State what the todo should take 208 * @param state State what the todo should take
203 */ 209 */
204 void setState( const OPimState& state); 210 void setState( const OPimState& state);
211
212 /**
213 * set the Maintainer Mode
214 */
215 void setMaintainer( const OPimMaintainer& );
216
205 bool isOverdue(); 217 bool isOverdue();
206 218
207 219
208 bool match( const QRegExp &r )const; 220 bool match( const QRegExp &r )const;
209 221
210 bool operator<(const OTodo &toDoEvent )const; 222 bool operator<(const OTodo &toDoEvent )const;