-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 @@ -280,5 +280,5 @@ QString OTodo::toRichText() const } text += "</h3></b><br><hr><br>"; - + // description if( !description().isEmpty() ){ @@ -307,14 +307,14 @@ QString OTodo::toRichText() const }; text += "<br>"; - + // progress text += "<b>" + QObject::tr( "Progress:") + " </b>" + QString::number( progress() ) + " %<br>"; - + // due date if (hasDueDate() ){ QDate dd = dueDate(); int off = QDate::currentDate().daysTo( dd ); - + text += "<b>" + QObject::tr( "Deadline:" ) + " </b><font color=\""; if ( off < 0 ) @@ -327,5 +327,5 @@ QString OTodo::toRichText() const text += "\">" + dd.toString() + "</font><br>"; } - + // categories text += "<b>" + QObject::tr( "Category:") + "</b> "; @@ -461,7 +461,4 @@ QMap<int, QString> OTodo::toMap() const { } -QMap<QString, QString> OTodo::toExtraMap()const { - return data->extra; -} /** * change or modify looks at the ref count and either |