From 7183dce01fa07a905d259cb79a8792ca993a75f6 Mon Sep 17 00:00:00 2001 From: tille Date: Fri, 09 May 2003 11:45:00 +0000 Subject: toShortString now contains start time and date --- (limited to 'libopie2/opiepim') diff --git a/libopie2/opiepim/oevent.cpp b/libopie2/opiepim/oevent.cpp index 28cf873..b731c8a 100644 --- a/libopie2/opiepim/oevent.cpp +++ b/libopie2/opiepim/oevent.cpp @@ -250,7 +250,19 @@ QString OEvent::toRichText()const { return text; } QString OEvent::toShortText()const { - return description(); + QString text; + text += QString::number( startDateTime().date().day() ); + text += "."; + text += QString::number( startDateTime().date().month() ); + text += "."; + text += QString::number( startDateTime().date().year() ); + text += " "; + text += QString::number( startDateTime().time().hour() ); + text += ":"; + text += QString::number( startDateTime().time().minute() ); + text += " - "; + text += description(); + return text; } QString OEvent::type()const { return QString::fromLatin1("OEvent"); -- cgit v0.9.0.2