-rw-r--r-- | libopie/todoevent.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libopie/todoevent.h b/libopie/todoevent.h index 7454241..de4623f 100644 --- a/libopie/todoevent.h +++ b/libopie/todoevent.h | |||
@@ -28,2 +28,3 @@ class ToDoEvent { | |||
28 | const QString &description = QString::null, | 28 | const QString &description = QString::null, |
29 | ushort progress = 0, | ||
29 | bool hasDate = false, QDate date = QDate::currentDate(), int uid = -1 ); | 30 | bool hasDate = false, QDate date = QDate::currentDate(), int uid = -1 ); |
@@ -49,2 +50,6 @@ class ToDoEvent { | |||
49 | 50 | ||
51 | /** | ||
52 | * progress as ushort 0, 20, 40, 60, 80 or 100% | ||
53 | */ | ||
54 | ushort progress() const; | ||
50 | /* | 55 | /* |
@@ -117,2 +122,7 @@ class ToDoEvent { | |||
117 | /** | 122 | /** |
123 | * Set the progress. | ||
124 | */ | ||
125 | void setProgress( ushort progress ); | ||
126 | |||
127 | /** | ||
118 | * set the end date | 128 | * set the end date |
@@ -147,2 +157,3 @@ class ToDoEvent { | |||
147 | int m_uid; | 157 | int m_uid; |
158 | ushort m_prog; | ||
148 | }; | 159 | }; |