From ec80e207cce9ebb55be771603fc47a4e7892fd6c Mon Sep 17 00:00:00 2001 From: zecke Date: Fri, 20 Jun 2003 15:40:07 +0000 Subject: toExtraMap is no more virtual we save custom entries now setExtraMap added as well --- (limited to 'libopie/pim/otodo.cpp') 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 @@ -279,7 +279,7 @@ QString OTodo::toRichText() const text += Qtopia::escapeString(summary() ).replace(QRegExp( "[\n]"), "" ); } text += "


"; - + // description if( !description().isEmpty() ){ text += "" + QObject::tr( "Description:" ) + "
"; @@ -306,16 +306,16 @@ QString OTodo::toRichText() const break; }; text += "
"; - + // progress text += "" + QObject::tr( "Progress:") + " " + QString::number( progress() ) + " %
"; - + // due date if (hasDueDate() ){ QDate dd = dueDate(); int off = QDate::currentDate().daysTo( dd ); - + text += "" + QObject::tr( "Deadline:" ) + " " + dd.toString() + "
"; } - + // categories text += "" + QObject::tr( "Category:") + " "; text += categoryNames( "Todo List" ).join(", "); @@ -460,9 +460,6 @@ QMap OTodo::toMap() const { return map; } -QMap OTodo::toExtraMap()const { - return data->extra; -} /** * change or modify looks at the ref count and either * creates a new QShared Object or it can modify it -- cgit v0.9.0.2