diff options
Diffstat (limited to 'libtdepim/csshelper.cpp')
-rw-r--r-- | libtdepim/csshelper.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libtdepim/csshelper.cpp b/libtdepim/csshelper.cpp index a95daad6f..d773c7d66 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() ) |