summaryrefslogtreecommitdiffabout
path: root/korganizer/koeventviewer.cpp
authorzautrix <zautrix>2005-02-17 21:45:30 (UTC)
committer zautrix <zautrix>2005-02-17 21:45:30 (UTC)
commitb1e885da3b0a083121f940485d9c0eea53ff5139 (patch) (side-by-side diff)
treee999d042e45cd1410cc327a3c347bbefa5896289 /korganizer/koeventviewer.cpp
parent8e8d2bd0c31eb272a7f26756252ff4930d0602bc (diff)
downloadkdepimpi-b1e885da3b0a083121f940485d9c0eea53ff5139.zip
kdepimpi-b1e885da3b0a083121f940485d9c0eea53ff5139.tar.gz
kdepimpi-b1e885da3b0a083121f940485d9c0eea53ff5139.tar.bz2
fix
Diffstat (limited to 'korganizer/koeventviewer.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koeventviewer.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/korganizer/koeventviewer.cpp b/korganizer/koeventviewer.cpp
index d87938a..417d89c 100644
--- a/korganizer/koeventviewer.cpp
+++ b/korganizer/koeventviewer.cpp
@@ -456,7 +456,17 @@ void KOEventViewer::appendTodo(Todo *event, int mode )
for (to=Relations.first();to;to=Relations.next()) {
mText.append( to->summary()+" [" +QString::number(to->priority()) + "/" + QString::number(((Todo*)to)->percentComplete())+"%]<br>");
- }
+ }
+ if ( KOPrefs::instance()->mEVshowCreated ) {
+ addTag("p",i18n("<b>Created: ") +" </b>");
+ addTag("p", KGlobal::locale()->formatDateTime( event->created(), shortDate ));
+
+ }
+ if ( KOPrefs::instance()->mEVshowChanged ) {
+ addTag("p",i18n("<b>Last modified: ") +" </b>");
+ addTag("p", KGlobal::locale()->formatDateTime( event->lastModified(), shortDate ));
+
+ }
setText(mText);
}