diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:58:08 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:58:08 -0600 |
commit | 1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98 (patch) | |
tree | e24fdc0514249de1233dd5dc07f09d07a35f4269 /ksirc/ksview.cpp | |
parent | 089118c18533dfa3e6ce5065dbebdd4db94051f1 (diff) | |
download | tdenetwork-1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98.tar.gz tdenetwork-1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'ksirc/ksview.cpp')
-rw-r--r-- | ksirc/ksview.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/ksirc/ksview.cpp b/ksirc/ksview.cpp index 62a4bca4..32c37e47 100644 --- a/ksirc/ksview.cpp +++ b/ksirc/ksview.cpp @@ -74,9 +74,9 @@ TQString KSircView::makeTimeStamp() { TQTime now = TQTime::currentTime(); TQString timeStamp = TQString::fromLatin1( "[%1:%2:%3] " ) - .tqarg( TQString::number( now.hour() ).rightJustify( 2, '0' ) ) - .tqarg( TQString::number( now.minute() ).rightJustify( 2, '0' ) ) - .tqarg( TQString::number( now.second() ).rightJustify( 2, '0' ) ); + .arg( TQString::number( now.hour() ).rightJustify( 2, '0' ) ) + .arg( TQString::number( now.minute() ).rightJustify( 2, '0' ) ) + .arg( TQString::number( now.second() ).rightJustify( 2, '0' ) ); return timeStamp; } @@ -109,14 +109,14 @@ TQString KSircView::addLine(const TQString &pixmap, const TQColor &color, const //kdDebug(5008) << "Start Text: " << _text << endl; TQString richText( "<font color=\"%1\">" ); - richText = richText.tqarg( color.name() ); + richText = richText.arg( color.name() ); if ( !pixmap.isEmpty() ) - richText.prepend( TQString::fromLatin1( "<img src=\"%1\"></img>" ).tqarg( pixmap ) ); + richText.prepend( TQString::fromLatin1( "<img src=\"%1\"></img>" ).arg( pixmap ) ); TQString timeStamp = TQString::fromLatin1( "<font color=\"%1\">%2</font>" ) - .tqarg( ksopts->textColor.name() ) - .tqarg( makeTimeStamp() ); + .arg( ksopts->textColor.name() ) + .arg( makeTimeStamp() ); m_timeStamps.append(timeStamp); if ( m_timestamps ) richText.prepend( timeStamp ); @@ -147,13 +147,13 @@ TQString KSircView::addLine(const TQString &pixmap, const TQColor &color, const if( nickCol.cap(1) != m_proc->getNick()){ TQColor col = nickColourMaker::colourMaker()->findFg(nickCol.cap(1)); - newText.prepend(TQString("<font color=\"%1\">").tqarg(col.name())); + newText.prepend(TQString("<font color=\"%1\">").arg(col.name())); newText.append("</font>"); } else { TQColor col = ksopts->ownNickColor.name(); if( ! col.isValid()) nickColourMaker::colourMaker()->findFg(nickCol.cap(1)); - newText.prepend(TQString("<font color=\"%1\">").tqarg(col.name())); + newText.prepend(TQString("<font color=\"%1\">").arg(col.name())); newText.append("</font>"); if(ksopts->ownNickBold){ newText.prepend("<b>"); @@ -225,8 +225,8 @@ void KSircView::addRichText(const TQString &_text) } else { timeStamp = TQString::fromLatin1( "<font color=\"%1\">%2</font>" ) - .tqarg( ksopts->textColor.name() ) - .tqarg( makeTimeStamp() ); + .arg( ksopts->textColor.name() ) + .arg( makeTimeStamp() ); if ( m_timestamps ) text.prepend( timeStamp ); } |