summaryrefslogtreecommitdiffstats
path: root/kmail/csshelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/csshelper.cpp')
-rw-r--r--kmail/csshelper.cpp12
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 );
}
}