summaryrefslogtreecommitdiff
path: root/libopie
Unidiff
Diffstat (limited to 'libopie') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/pim/oevent.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/libopie/pim/oevent.cpp b/libopie/pim/oevent.cpp
index 28cf873..b731c8a 100644
--- a/libopie/pim/oevent.cpp
+++ b/libopie/pim/oevent.cpp
@@ -250,7 +250,19 @@ QString OEvent::toRichText()const {
250 return text; 250 return text;
251} 251}
252QString OEvent::toShortText()const { 252QString OEvent::toShortText()const {
253 return description(); 253 QString text;
254 text += QString::number( startDateTime().date().day() );
255 text += ".";
256 text += QString::number( startDateTime().date().month() );
257 text += ".";
258 text += QString::number( startDateTime().date().year() );
259 text += " ";
260 text += QString::number( startDateTime().time().hour() );
261 text += ":";
262 text += QString::number( startDateTime().time().minute() );
263 text += " - ";
264 text += description();
265 return text;
254} 266}
255QString OEvent::type()const { 267QString OEvent::type()const {
256 return QString::fromLatin1("OEvent"); 268 return QString::fromLatin1("OEvent");