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/oevent.cpp') diff --git a/libopie/pim/oevent.cpp b/libopie/pim/oevent.cpp index e4f5d92..7bcf944 100644 --- a/libopie/pim/oevent.cpp +++ b/libopie/pim/oevent.cpp @@ -236,14 +236,14 @@ bool OEvent::match( const QRegExp& re )const { } QString OEvent::toRichText()const { QString text, value; - + // description text += "

"; if ( !description().isEmpty() ) { text += Qtopia::escapeString(description() ).replace(QRegExp( "[\n]"), "" ); } text += "




"; - + // location if ( !(value = location()).isEmpty() ) { text += "" + QObject::tr( "Location:" ) + " "; @@ -274,14 +274,14 @@ QString OEvent::toRichText()const { replace(QRegExp( "[\n]"), "
" ) + "
"; } } - + // categories if ( categoryNames("Calendar").count() ){ text += "" + QObject::tr( "Category:") + " "; text += categoryNames("Calendar").join(", "); text += "
"; } - + //notes if ( !note().isEmpty() ) { text += "" + QObject::tr( "Note:") + "
"; @@ -360,9 +360,6 @@ void OEvent::deref() { QMap OEvent::toMap()const { return QMap(); } -QMap OEvent::toExtraMap()const { - return QMap(); -} int OEvent::parent()const { return data->parent; } -- cgit v0.9.0.2