summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (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
@@ -72,3 +72,6 @@ KOWhatsNextView::KOWhatsNextView(Calendar *calendar, QWidget *parent,
QStyleSheetItem * style ;
-
+ style = stsh->item ("a" );
+ if ( style ) {
+ style->setMargin(QStyleSheetItem::MarginAll,0);
+ }
style = stsh->item ("h2" );
@@ -77,2 +80,6 @@ KOWhatsNextView::KOWhatsNextView(Calendar *calendar, QWidget *parent,
}
+ style = stsh->item ("h3" );
+ if ( style ) {
+ style->setMargin(QStyleSheetItem::MarginAll,0);
+ }
style = stsh->item ("table" );
@@ -266,3 +273,3 @@ void KOWhatsNextView::updateView()
- 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";
@@ -305,3 +312,3 @@ void KOWhatsNextView::updateView()
//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";
@@ -324,3 +331,3 @@ void KOWhatsNextView::updateView()
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";
@@ -367,4 +374,4 @@ void KOWhatsNextView::appendDay( int i, QDate eventDate )
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";
@@ -391,4 +398,4 @@ 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";