diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kmail/csshelper.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-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/csshelper.cpp')
-rw-r--r-- | kmail/csshelper.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmail/csshelper.cpp b/kmail/csshelper.cpp index 4fa2588cc..fc411be7b 100644 --- a/kmail/csshelper.cpp +++ b/kmail/csshelper.cpp @@ -36,12 +36,12 @@ #include <kconfig.h> -#include <qcolor.h> -#include <qfont.h> +#include <tqcolor.h> +#include <tqfont.h> namespace KMail { - CSSHelper::CSSHelper( const QPaintDeviceMetrics &pdm ) : + CSSHelper::CSSHelper( const TQPaintDeviceMetrics &pdm ) : KPIM::CSSHelper( pdm ) { KConfig * config = KMKernel::config(); @@ -64,7 +64,7 @@ namespace KMail { cPgpErrH = reader.readColorEntry( "PGPMessageErr", &cPgpErrH ); cHtmlWarning = reader.readColorEntry( "HTMLWarningColor", &cHtmlWarning ); for ( int i = 0 ; i < 3 ; ++i ) { - const QString key = "QuotedText" + QString::number( i+1 ); + const TQString key = "QuotedText" + TQString::number( i+1 ); mQuoteColor[i] = reader.readColorEntry( key, &mQuoteColor[i] ); } } @@ -74,10 +74,10 @@ namespace KMail { mPrintFont = fonts.readFontEntry( "print-font", &mPrintFont); mFixedFont = fonts.readFontEntry( "fixed-font", &mFixedFont); mFixedPrintFont = mFixedFont; // FIXME when we have a separate fixed print font - QFont defaultFont = mBodyFont; + TQFont defaultFont = mBodyFont; defaultFont.setItalic( true ); for ( int i = 0 ; i < 3 ; ++i ) { - const QString key = QString( "quote%1-font" ).arg( i+1 ); + const TQString key = TQString( "quote%1-font" ).arg( i+1 ); mQuoteFont[i] = fonts.readFontEntry( key, &defaultFont ); } } |