summaryrefslogtreecommitdiff
Unidiff
Diffstat (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 40d8f0b..8a00f99 100644
--- a/libopie/todoevent.h
+++ b/libopie/todoevent.h
@@ -1,28 +1,29 @@
1 1
2#ifndef todoevent_h 2#ifndef todoevent_h
3#define todoevent_h 3#define todoevent_h
4 4
5#include <qregexp.h>
5#include <qstringlist.h> 6#include <qstringlist.h>
6#include <qdatetime.h> 7#include <qdatetime.h>
7 8
8class ToDoEvent { 9class ToDoEvent {
9 friend class ToDoDB; 10 friend class ToDoDB;
10 public: 11 public:
11 // priorities from Very low to very high 12 // priorities from Very low to very high
12 enum Priority { VERYHIGH=1, HIGH, NORMAL, LOW, VERYLOW }; 13 enum Priority { VERYHIGH=1, HIGH, NORMAL, LOW, VERYLOW };
13 /* Constructs a new ToDoEvent 14 /* Constructs a new ToDoEvent
14 @param completed Is the TodoEvent completed 15 @param completed Is the TodoEvent completed
15 @param priority What is the priority of this ToDoEvent 16 @param priority What is the priority of this ToDoEvent
16 @param category Which category does it belong( uid ) 17 @param category Which category does it belong( uid )
17 @param description What is this ToDoEvent about 18 @param description What is this ToDoEvent about
18 @param hasDate Does this Event got a deadline 19 @param hasDate Does this Event got a deadline
19 @param date what is the deadline? 20 @param date what is the deadline?
20 @param uid what is the UUID of this Event 21 @param uid what is the UUID of this Event
21 **/ 22 **/
22 ToDoEvent( bool completed = false, int priority = NORMAL, 23 ToDoEvent( bool completed = false, int priority = NORMAL,
23 const QStringList &category = QStringList(), 24 const QStringList &category = QStringList(),
24 const QString &description = QString::null , 25 const QString &description = QString::null ,
25 bool hasDate = false, QDate date = QDate::currentDate(), int uid = -1 ); 26 bool hasDate = false, QDate date = QDate::currentDate(), int uid = -1 );
26 /* Copy c'tor 27 /* Copy c'tor
27 28
28 **/ 29 **/