diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:58:08 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 15:53:30 +0200 |
commit | e7bee19a9f42cffe3a0792348a60e5bee1d3da71 (patch) | |
tree | 92dabc7114bd352b2e4ebb5f64cd3d6429e162f7 /ksirc/ksview.cpp | |
parent | 4b54ad17739d1075235f2960ecde230a58b5621c (diff) | |
download | tdenetwork-e7bee19a9f42cffe3a0792348a60e5bee1d3da71.tar.gz tdenetwork-e7bee19a9f42cffe3a0792348a60e5bee1d3da71.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit 1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98)
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 ); } |