[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdetoys/kweather
From: Diego Iastrubni <elcuco () kdemail ! net>
Date: 2004-08-23 9:21:04
Message-ID: 20040823092104.C258F90CD () office ! kde ! org
[Download RAW message or body]
CVS commit by iastrubni:
CCMAIL: geiseri@kde.org
some minor cosmetic fixes for RTL users. ported from the branch.
M +5 -3 reportview.cpp 1.49
--- kdetoys/kweather/reportview.cpp #1.48:1.49
@@ -25,4 +25,5 @@
#include <qvbox.h>
#include <qpixmap.h>
+#include <qapplication.h>
#include "reportview.h"
@@ -122,6 +123,7 @@ void reportView::render(){
"border-left: solid %4 1px; border-right: solid %5 1px; margin-bottom: 1em; \
padding: 2px; }\n")
.arg(bgColor).arg(textColor).arg(textColor).arg(textColor).arg(textColor) +
- "</style><title></title></head><body>"
- "<div class=\"headerTitle\"><b>" + i18n( "Weather Report - %1" ).arg( \
locationName ) + "</b></div>\n" + + QString("</style><title></title></head><body \
dir=\"%1\">").arg( QApplication::reverseLayout()?"rtl":"ltr") + + "<div \
class=\"headerTitle\"><b>" + i18n( "Weather Report - %1" ).arg( locationName ) + \
+ "</b></div>\n" +
QString("<div class=\"headerMsg\"><b>" + i18n( "Last updated on %1" ) + \
"</b></div>\n"
"<table><tr><td width=\"60\" style=\"text-align: center; border: dotted %2 \
1px;\">"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic