summaryrefslogtreecommitdiff
path: root/libopie/todoevent.h
authorzecke <zecke>2002-03-19 19:14:32 (UTC)
committer zecke <zecke>2002-03-19 19:14:32 (UTC)
commitc23db0c35b77cc1656ac8822ca948e73c50e8ee6 (patch) (side-by-side diff)
treef1f61cd24074a9ce60561e13681c386e89088dc9 /libopie/todoevent.h
parent51762a579019d09fc1af83ef4838260493b534a7 (diff)
downloadopie-c23db0c35b77cc1656ac8822ca948e73c50e8ee6.zip
opie-c23db0c35b77cc1656ac8822ca948e73c50e8ee6.tar.gz
opie-c23db0c35b77cc1656ac8822ca948e73c50e8ee6.tar.bz2
Make multiple backends possible
Diffstat (limited to 'libopie/todoevent.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/todoevent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libopie/todoevent.h b/libopie/todoevent.h
index dd8c0c9..79522b2 100644
--- a/libopie/todoevent.h
+++ b/libopie/todoevent.h
@@ -20,24 +20,25 @@ class ToDoEvent {
QString description()const;
int uid()const { return m_uid;};
void setCompleted(bool completed );
void setHasDate( bool hasDate );
// if the category doesn't exist we will create it
void setCategory( const QString &category );
void setPriority(int priority );
void setDate( QDate date );
void setDescription(const QString& );
bool isOverdue();
+ void setUid(int id) {m_uid = id; };
bool operator<(const ToDoEvent &toDoEvent )const;
bool operator<=(const ToDoEvent &toDoEvent )const;
bool operator!=(const ToDoEvent &toDoEvent )const { return !(*this == toDoEvent); };
bool operator>(const ToDoEvent &toDoEvent )const;
bool operator>=(const ToDoEvent &toDoEvent)const;
bool operator==(const ToDoEvent &toDoEvent )const;
ToDoEvent &operator=(const ToDoEvent &toDoEvent );
private:
class ToDoEventPrivate;
ToDoEventPrivate *d;
QDate m_date;
bool m_isCompleted:1;