summaryrefslogtreecommitdiffstats
path: root/libtdepim/csshelper.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:13 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:13 -0600
commitba2a3ce341c0c71bbbcf350fcbcd60c552220b31 (patch)
tree08ba9504290f461f1244dded6b37fc4db00847ab /libtdepim/csshelper.cpp
parentd5b298be14c173d62e8fbc6a3803ba8f657f3dcb (diff)
downloadtdepim-ba2a3ce341c0c71bbbcf350fcbcd60c552220b31.tar.gz
tdepim-ba2a3ce341c0c71bbbcf350fcbcd60c552220b31.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'libtdepim/csshelper.cpp')
-rw-r--r--libtdepim/csshelper.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libtdepim/csshelper.cpp b/libtdepim/csshelper.cpp
index a95daad6..d773c7d6 100644
--- a/libtdepim/csshelper.cpp
+++ b/libtdepim/csshelper.cpp
@@ -73,10 +73,10 @@ namespace KPIM {
mMetrics( pdm )
{
// initialize with defaults - should match the corresponding application defaults
- mForegroundColor = TQApplication::tqpalette().active().text();
+ mForegroundColor = TQApplication::palette().active().text();
mLinkColor = KGlobalSettings::linkColor();
mVisitedLinkColor = KGlobalSettings::visitedLinkColor();
- mBackgroundColor = TQApplication::tqpalette().active().base();
+ mBackgroundColor = TQApplication::palette().active().base();
cHtmlWarning = TQColor( 0xFF, 0x40, 0x40 ); // warning frame color: light red
cPgpEncrH = TQColor( 0x00, 0x80, 0xFF ); // light blue
@@ -216,7 +216,7 @@ namespace KPIM {
" font-size: %2pt ! important;\n" )
.arg( mPrintFont.family() )
.arg( mPrintFont.pointSize() );
- const TQColorGroup & cg = TQApplication::tqpalette().active();
+ const TQColorGroup & cg = TQApplication::palette().active();
const TQFont printFont = bodyFont( fixed, true /* print */ );
TQString quoteCSS;
@@ -308,7 +308,7 @@ namespace KPIM {
: TQString( " background-color: %1 ! important;\n" )
.arg( bgColor ) );
const TQString bodyFontSize = TQString::number( pointsToPixel( helper->mMetrics, fontSize( fixed ) ) ) + "px" ;
- const TQColorGroup & cg = TQApplication::tqpalette().active();
+ const TQColorGroup & cg = TQApplication::palette().active();
TQString quoteCSS;
if ( bodyFont( fixed ).italic() )