summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-06-15 16:20:26 (UTC)
committer zautrix <zautrix>2005-06-15 16:20:26 (UTC)
commitcba0ac17d3d505805be6aa4b4fea6f63473a1e00 (patch) (side-by-side diff)
treeb7eceb0b3181cbb2c14b753692f135bc0cd5dd0e
parent2a788f41ebeb7d8edab7010fb1a00799cb9e036d (diff)
downloadkdepimpi-cba0ac17d3d505805be6aa4b4fea6f63473a1e00.zip
kdepimpi-cba0ac17d3d505805be6aa4b4fea6f63473a1e00.tar.gz
kdepimpi-cba0ac17d3d505805be6aa4b4fea6f63473a1e00.tar.bz2
fixi
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/koeventviewer.cpp9
-rw-r--r--korganizer/komonthview.cpp4
-rw-r--r--libkcal/kincidenceformatter.cpp9
3 files changed, 12 insertions, 10 deletions
diff --git a/korganizer/koeventviewer.cpp b/korganizer/koeventviewer.cpp
index c8c2f28..6315827 100644
--- a/korganizer/koeventviewer.cpp
+++ b/korganizer/koeventviewer.cpp
@@ -284,2 +284,3 @@ void KOEventViewer::appendEvent(Event *event, int mode )
addTag("h2",deTag(event->summary()));
+ formatReadOnly(event);
}
@@ -298,2 +299,3 @@ void KOEventViewer::appendEvent(Event *event, int mode )
}
+ formatReadOnly(event);
addTag("h3",i18n( "Last modified: " ) + KGlobal::locale()->formatDateTime(event->lastModified(),shortDate, true ) );
@@ -390,3 +392,2 @@ void KOEventViewer::appendEvent(Event *event, int mode )
- formatReadOnly(event);
formatAttendees(event);
@@ -430,4 +431,6 @@ void KOEventViewer::appendTodo(Todo *event, int mode )
bool wideScreen = ( QApplication::desktop()->width() >= 640 );
- if (mode == 0 )
+ if (mode == 0 ) {
addTag("h2",deTag(event->summary()));
+ formatReadOnly(event);
+ }
else {
@@ -444,2 +447,3 @@ void KOEventViewer::appendTodo(Todo *event, int mode )
}
+ formatReadOnly(event);
addTag("h3",i18n( "Last modified: " ) + KGlobal::locale()->formatDateTime(event->lastModified(),shortDate, true ) );
@@ -505,3 +509,2 @@ void KOEventViewer::appendTodo(Todo *event, int mode )
- formatReadOnly(event);
formatAttendees(event);
diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp
index 475bb4a..cba85fa 100644
--- a/korganizer/komonthview.cpp
+++ b/korganizer/komonthview.cpp
@@ -317,4 +317,2 @@ void MonthViewItem::paint(QPainter *p)
#endif
-
-
int heihei = height( listBox () );
@@ -339,3 +337,2 @@ void MonthViewItem::paint(QPainter *p)
}
-
if ( KOPrefs::instance()->mMonthShowIcons ) {
@@ -379,3 +376,2 @@ void MonthViewItem::paint(QPainter *p)
// p->fillRect ( x, yyy-sizeM/2+1, sizeM/2, size, QBrush ( QBrush::SolidPattern ) );
-
p->drawLine ( x+1, yyy-sizeM/2, x+1, yyy+sizeM/2 );
diff --git a/libkcal/kincidenceformatter.cpp b/libkcal/kincidenceformatter.cpp
index d1ace4f..9359fad 100644
--- a/libkcal/kincidenceformatter.cpp
+++ b/libkcal/kincidenceformatter.cpp
@@ -54,2 +54,3 @@ void KIncidenceFormatter::setEvent(Event *event)
addTag("h3",deTag(event->summary()));
+ formatReadOnly(event);
}
@@ -68,2 +69,3 @@ void KIncidenceFormatter::setEvent(Event *event)
}
+ formatReadOnly(event);
addTag("h3",i18n( "Last modified: " ) + KGlobal::locale()->formatDateTime(event->lastModified(),shortDate, true ) );
@@ -145,3 +147,2 @@ void KIncidenceFormatter::setEvent(Event *event)
- formatReadOnly(event);
formatAttendees(event);
@@ -180,4 +181,6 @@ void KIncidenceFormatter::setTodo(Todo *event )
bool shortDate = true;
- if (mode == 0 )
+ if (mode == 0 ) {
addTag("h3",deTag(event->summary()));
+ formatReadOnly(event);
+ }
else {
@@ -194,2 +197,3 @@ void KIncidenceFormatter::setTodo(Todo *event )
}
+ formatReadOnly(event);
addTag("h3",i18n( "Last modified: " ) + KGlobal::locale()->formatDateTime(event->lastModified(),shortDate, true ) );
@@ -249,3 +253,2 @@ void KIncidenceFormatter::setTodo(Todo *event )
- formatReadOnly(event);
formatAttendees(event);