author | zecke <zecke> | 2003-06-20 15:40:07 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-06-20 15:40:07 (UTC) |
commit | ec80e207cce9ebb55be771603fc47a4e7892fd6c (patch) (unidiff) | |
tree | 0ec055e15a0ca1ec9ff0e9c674ecbcca389acbf4 /libopie/pim/otodo.cpp | |
parent | c57f817ceca0eff0f6f3e90ad01654252911c1c5 (diff) | |
download | opie-ec80e207cce9ebb55be771603fc47a4e7892fd6c.zip opie-ec80e207cce9ebb55be771603fc47a4e7892fd6c.tar.gz opie-ec80e207cce9ebb55be771603fc47a4e7892fd6c.tar.bz2 |
toExtraMap is no more virtual
we save custom entries now
setExtraMap added as well
-rw-r--r-- | libopie/pim/otodo.cpp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/libopie/pim/otodo.cpp b/libopie/pim/otodo.cpp index c84eeeb..38b93f7 100644 --- a/libopie/pim/otodo.cpp +++ b/libopie/pim/otodo.cpp | |||
@@ -281,3 +281,3 @@ QString OTodo::toRichText() const | |||
281 | text += "</h3></b><br><hr><br>"; | 281 | text += "</h3></b><br><hr><br>"; |
282 | 282 | ||
283 | // description | 283 | // description |
@@ -308,3 +308,3 @@ QString OTodo::toRichText() const | |||
308 | text += "<br>"; | 308 | text += "<br>"; |
309 | 309 | ||
310 | // progress | 310 | // progress |
@@ -312,3 +312,3 @@ QString OTodo::toRichText() const | |||
312 | + QString::number( progress() ) + " %<br>"; | 312 | + QString::number( progress() ) + " %<br>"; |
313 | 313 | ||
314 | // due date | 314 | // due date |
@@ -317,3 +317,3 @@ QString OTodo::toRichText() const | |||
317 | int off = QDate::currentDate().daysTo( dd ); | 317 | int off = QDate::currentDate().daysTo( dd ); |
318 | 318 | ||
319 | text += "<b>" + QObject::tr( "Deadline:" ) + " </b><font color=\""; | 319 | text += "<b>" + QObject::tr( "Deadline:" ) + " </b><font color=\""; |
@@ -328,3 +328,3 @@ QString OTodo::toRichText() const | |||
328 | } | 328 | } |
329 | 329 | ||
330 | // categories | 330 | // categories |
@@ -462,5 +462,2 @@ QMap<int, QString> OTodo::toMap() const { | |||
462 | 462 | ||
463 | QMap<QString, QString> OTodo::toExtraMap()const { | ||
464 | return data->extra; | ||
465 | } | ||
466 | /** | 463 | /** |