summaryrefslogtreecommitdiffabout
path: root/korganizer
Side-by-side diff
Diffstat (limited to 'korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kowhatsnextview.cpp23
1 files changed, 15 insertions, 8 deletions
diff --git a/korganizer/kowhatsnextview.cpp b/korganizer/kowhatsnextview.cpp
index 59b864c..0f0bf11 100644
--- a/korganizer/kowhatsnextview.cpp
+++ b/korganizer/kowhatsnextview.cpp
@@ -71,9 +71,16 @@ KOWhatsNextView::KOWhatsNextView(Calendar *calendar, QWidget *parent,
QStyleSheet* stsh = mView->styleSheet();
QStyleSheetItem * style ;
-
+ style = stsh->item ("a" );
+ if ( style ) {
+ style->setMargin(QStyleSheetItem::MarginAll,0);
+ }
style = stsh->item ("h2" );
if ( style ) {
style->setMargin(QStyleSheetItem::MarginAll,0);
}
+ style = stsh->item ("h3" );
+ if ( style ) {
+ style->setMargin(QStyleSheetItem::MarginAll,0);
+ }
style = stsh->item ("table" );
if ( style ) {
@@ -265,5 +272,5 @@ void KOWhatsNextView::updateView()
#endif
- mText +="<big><big><strong><em><font color=\"#000080\">" + i18n("Incomplete Todo:") + "</font></em></strong></big></big>\n";
+ mText +="<h2><em><font color=\"#000080\">" + i18n("Incomplete Todo:") + "</font></em></h2>\n";
mText += "<ul>\n";
while (!gotone && priority<6) {
@@ -304,5 +311,5 @@ void KOWhatsNextView::updateView()
// mText += "\">";
//mText += i18n("Events and To-Dos that need a reply:") + "</h2>\n";
- mText +="<big><big><strong><em><font color=\"#000080\">" + i18n("Events and To-Dos that need a reply:") + "</font></em></strong></big></big>\n";
+ mText +="<h2><em><font color=\"#000080\">" + i18n("Events and To-Dos that need a reply:") + "</font></em></h2>\n";
mText += "<table>\n";
}
@@ -323,5 +330,5 @@ void KOWhatsNextView::updateView()
if (me->status()==Attendee::NeedsAction && me->RSVP()) {
if (replys == 0) {
- mText +="<big><big><strong><em><font color=\"#000080\">" + i18n("Events and To-Dos that need a reply:") + "</font></em></strong></big></big>\n";
+ mText +="<h2><em><font color=\"#000080\">" + i18n("Events and To-Dos that need a reply:") + "</font></em></h2>\n";
mText += "<table>\n";
}
@@ -366,6 +373,6 @@ void KOWhatsNextView::appendDay( int i, QDate eventDate )
date = "<em><font color=\"#000080\">" + day + "</font></em>" ;
else date = "<em><font color=\"#000080\">" + day + "</font></em>";
- //mText += "<h2>" + date + "</h2>\n";
- mText += "<big><big><strong>" + date + "</strong></big></big>\n";
+ mText += "<h2>" + date + "</h2>\n";
+ //mText += "<big><big><strong>" + date + "</strong></big></big>\n";
mText += "<table>\n";
@@ -390,6 +397,6 @@ void KOWhatsNextView::appendDay( int i, QDate eventDate )
#endif
- //mText += "<h2>" + date + "</h2>\n";
- mText += "<big><big><strong>" + date + "</strong></big></big>\n";
+ mText += "<h2>" + date + "</h2>\n";
+ //mText += "<big><big><strong>" + date + "</strong></big></big>\n";
mText += "<table>\n";
}