summaryrefslogtreecommitdiffstats
path: root/ksirc/ksview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/ksview.cpp')
-rw-r--r--ksirc/ksview.cpp22
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 );
}