summaryrefslogtreecommitdiff
path: root/libopie/todoevent.h
Side-by-side diff
Diffstat (limited to 'libopie/todoevent.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/todoevent.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libopie/todoevent.h b/libopie/todoevent.h
index bca7f6e..ac996a1 100644
--- a/libopie/todoevent.h
+++ b/libopie/todoevent.h
@@ -17,6 +17,7 @@ class ToDoEvent {
bool hasDate() const;
int priority()const ;
QString category()const;
+ QArray<int> categories() const;
QDate date()const;
QString description()const;
@@ -30,6 +31,8 @@ class ToDoEvent {
void setDescription(const QString& );
bool isOverdue();
+ bool match( const QRegExp &r )const;
+
void setUid(int id) {m_uid = id; };
bool operator<(const ToDoEvent &toDoEvent )const;
bool operator<=(const ToDoEvent &toDoEvent )const;