summaryrefslogtreecommitdiffstats
path: root/libtdepim/csshelper.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:01 -0600
commit716a5de8870d7c02bb4d0aed72f30291b17b763a (patch)
tree29e58b213ead28151ccf7eb33d12c968ea844120 /libtdepim/csshelper.cpp
parent0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78 (diff)
downloadtdepim-716a5de8870d7c02bb4d0aed72f30291b17b763a.tar.gz
tdepim-716a5de8870d7c02bb4d0aed72f30291b17b763a.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'libtdepim/csshelper.cpp')
-rw-r--r--libtdepim/csshelper.cpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/libtdepim/csshelper.cpp b/libtdepim/csshelper.cpp
index 379eb8ea0..a95daad6f 100644
--- a/libtdepim/csshelper.cpp
+++ b/libtdepim/csshelper.cpp
@@ -184,9 +184,9 @@ namespace KPIM {
? level % numQuoteLevels + 1
: kMin( level + 1, numQuoteLevels ) ;
if ( level >= numQuoteLevels )
- return TQString( "<div class=\"deepquotelevel%1\">" ).tqarg( effectiveLevel );
+ return TQString( "<div class=\"deepquotelevel%1\">" ).arg( effectiveLevel );
else
- return TQString( "<div class=\"quotelevel%1\">" ).tqarg( effectiveLevel );
+ return TQString( "<div class=\"quotelevel%1\">" ).arg( effectiveLevel );
}
TQString CSSHelper::nonQuotedFontTag() const {
@@ -214,8 +214,8 @@ namespace KPIM {
TQString CSSHelper::printCssDefinitions( bool fixed ) const {
const TQString headerFont = TQString( " font-family: \"%1\" ! important;\n"
" font-size: %2pt ! important;\n" )
- .tqarg( mPrintFont.family() )
- .tqarg( mPrintFont.pointSize() );
+ .arg( mPrintFont.family() )
+ .arg( mPrintFont.pointSize() );
const TQColorGroup & cg = TQApplication::tqpalette().active();
const TQFont printFont = bodyFont( fixed, true /* print */ );
@@ -234,7 +234,7 @@ namespace KPIM {
" color: #000000 ! important;\n"
" background-color: #ffffff ! important\n"
"}\n\n" )
- .tqarg( printFont.family(),
+ .arg( printFont.family(),
TQString::number( printFont.pointSize() ) )
+
TQString( "tr.textAtmH,\n"
@@ -288,7 +288,7 @@ namespace KPIM {
" display:none ! important;\n"
"}\n\n"
)
- .tqarg( headerFont,
+ .arg( headerFont,
cg.background().name(),
cg.foreground().name() )
+ quoteCSS;
@@ -300,13 +300,13 @@ namespace KPIM {
const TQString linkColor = mLinkColor.name();
const TQString headerFont = TQString(" font-family: \"%1\" ! important;\n"
" font-size: %2px ! important;\n")
- .tqarg( mBodyFont.family() )
- .tqarg( pointsToPixel( helper->mMetrics, mBodyFont.pointSize() ) );
+ .arg( mBodyFont.family() )
+ .arg( pointsToPixel( helper->mMetrics, mBodyFont.pointSize() ) );
const TQString background = ( mBackingPixmapOn
? TQString( " background-image:url(file://%1) ! important;\n" )
- .tqarg( mBackingPixmapStr )
+ .arg( mBackingPixmapStr )
: TQString( " background-color: %1 ! important;\n" )
- .tqarg( bgColor ) );
+ .arg( bgColor ) );
const TQString bodyFontSize = TQString::number( pointsToPixel( helper->mMetrics, fontSize( fixed ) ) ) + "px" ;
const TQColorGroup & cg = TQApplication::tqpalette().active();
@@ -322,7 +322,7 @@ namespace KPIM {
for ( int i = 0 ; i < 3 ; ++i ) {
quoteCSS += TQString( "div.quotelevel%1 {\n"
" color: %2 ! important;\n" )
- .tqarg( TQString::number(i+1), mQuoteColor[i].name() );
+ .arg( TQString::number(i+1), mQuoteColor[i].name() );
if ( mQuoteFont[i].italic() )
quoteCSS += " font-style: italic ! important;\n";
if ( mQuoteFont[i].bold() )
@@ -337,7 +337,7 @@ namespace KPIM {
for ( int i = 0 ; i < 3 ; ++i ) {
quoteCSS += TQString( "div.deepquotelevel%1 {\n"
" color: %2 ! important;\n" )
- .tqarg( TQString::number(i+1), mQuoteColor[i].name() );
+ .arg( TQString::number(i+1), mQuoteColor[i].name() );
if ( mQuoteFont[i].italic() )
quoteCSS += " font-style: italic ! important;\n";
if ( mQuoteFont[i].bold() )
@@ -354,7 +354,7 @@ namespace KPIM {
" color: %3 ! important;\n"
"%4"
"}\n\n" )
- .tqarg( bodyFont( fixed ).family(),
+ .arg( bodyFont( fixed ).family(),
bodyFontSize,
fgColor,
background )
@@ -392,7 +392,7 @@ namespace KPIM {
"tr.rfc822H {\n"
"%4"
"}\n\n" )
- .tqarg( linkColor, fgColor, bgColor, headerFont )
+ .arg( linkColor, fgColor, bgColor, headerFont )
+
TQString( "table.encr {\n"
" background-color: %1 ! important;\n"
@@ -404,7 +404,7 @@ namespace KPIM {
"}\n\n"
"tr.encrB { background-color: %4 ! important; }\n\n" )
- .tqarg( cPgpEncrF.name(),
+ .arg( cPgpEncrF.name(),
cPgpEncrH.name(),
headerFont,
cPgpEncrB.name() )
@@ -419,7 +419,7 @@ namespace KPIM {
"}\n\n"
"tr.signOkKeyOkB { background-color: %4 ! important; }\n\n" )
- .tqarg( cPgpOk1F.name(),
+ .arg( cPgpOk1F.name(),
cPgpOk1H.name(),
headerFont,
cPgpOk1B.name() )
@@ -434,7 +434,7 @@ namespace KPIM {
"}\n\n"
"tr.signOkKeyBadB { background-color: %4 ! important; }\n\n" )
- .tqarg( cPgpOk0F.name(),
+ .arg( cPgpOk0F.name(),
cPgpOk0H.name(),
headerFont,
cPgpOk0B.name() )
@@ -449,7 +449,7 @@ namespace KPIM {
"}\n\n"
"tr.signWarnB { background-color: %4 ! important; }\n\n" )
- .tqarg( cPgpWarnF.name(),
+ .arg( cPgpWarnF.name(),
cPgpWarnH.name(),
headerFont,
cPgpWarnB.name() )
@@ -464,7 +464,7 @@ namespace KPIM {
"}\n\n"
"tr.signErrB { background-color: %4 ! important; }\n\n" )
- .tqarg( cPgpErrF.name(),
+ .arg( cPgpErrF.name(),
cPgpErrH.name(),
headerFont,
cPgpErrB.name() )
@@ -472,7 +472,7 @@ namespace KPIM {
TQString( "div.htmlWarn {\n"
" border: 2px solid %1 ! important;\n"
"}\n\n" )
- .tqarg( cHtmlWarning.name() )
+ .arg( cHtmlWarning.name() )
+
TQString( "div.header {\n"
"%1"
@@ -519,12 +519,12 @@ namespace KPIM {
"}\n\n"
)
- .tqarg( headerFont )
- .tqarg( cg.highlight().name(),
+ .arg( headerFont )
+ .arg( cg.highlight().name(),
cg.highlightedText().name(),
cg.foreground().name(),
cg.background().name() )
- .tqarg( cg.mid().name() )
+ .arg( cg.mid().name() )
+ quoteCSS;
}