summaryrefslogtreecommitdiffstats
path: root/kmail/htmlstatusbar.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kmail/htmlstatusbar.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/htmlstatusbar.cpp')
-rw-r--r--kmail/htmlstatusbar.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kmail/htmlstatusbar.cpp b/kmail/htmlstatusbar.cpp
index 831b36651..2c6e6faff 100644
--- a/kmail/htmlstatusbar.cpp
+++ b/kmail/htmlstatusbar.cpp
@@ -45,16 +45,16 @@
#include <klocale.h>
#include <kconfig.h>
-#include <qcolor.h>
-#include <qstring.h>
+#include <tqcolor.h>
+#include <tqstring.h>
-KMail::HtmlStatusBar::HtmlStatusBar( QWidget * parent, const char * name, WFlags f )
- : QLabel( parent, name, f ),
+KMail::HtmlStatusBar::HtmlStatusBar( TQWidget * parent, const char * name, WFlags f )
+ : TQLabel( parent, name, f ),
mMode( Normal )
{
setAlignment( AlignHCenter|AlignTop );
// Don't force a minimum height to the reader widget
- setSizePolicy( QSizePolicy( QSizePolicy::Preferred, QSizePolicy::Ignored ) );
+ setSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Ignored ) );
upd();
}
@@ -85,7 +85,7 @@ void KMail::HtmlStatusBar::setMode( Mode m ) {
upd();
}
-QString KMail::HtmlStatusBar::message() const {
+TQString KMail::HtmlStatusBar::message() const {
switch ( mode() ) {
case Html: // bold: "HTML Message"
return i18n( "<qt><b><br>H<br>T<br>M<br>L<br> "
@@ -96,7 +96,7 @@ QString KMail::HtmlStatusBar::message() const {
"<br>M<br>e<br>s<br>s<br>a<br>g<br>e</qt>" );
default:
case Neutral:
- return QString::null;
+ return TQString::null;
}
}
@@ -110,7 +110,7 @@ namespace {
}
}
-QColor KMail::HtmlStatusBar::fgColor() const {
+TQColor KMail::HtmlStatusBar::fgColor() const {
KConfigGroup conf( config(), "Reader" );
switch ( mode() ) {
case Html:
@@ -123,7 +123,7 @@ QColor KMail::HtmlStatusBar::fgColor() const {
}
}
-QColor KMail::HtmlStatusBar::bgColor() const {
+TQColor KMail::HtmlStatusBar::bgColor() const {
KConfigGroup conf( config(), "Reader" );
switch ( mode() ) {