summaryrefslogtreecommitdiffstats
path: root/ksirc/ksview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/ksview.cpp')
-rw-r--r--ksirc/ksview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ksirc/ksview.cpp b/ksirc/ksview.cpp
index 85d0fd1f..8ad1ffd3 100644
--- a/ksirc/ksview.cpp
+++ b/ksirc/ksview.cpp
@@ -131,11 +131,11 @@ TQString KSircView::addLine(const TQString &pixmap, const TQColor &color, const
// '<nick message<' , which is supposedly a bug in TQt's reordering. The
// same is done for [nick] and >nick< to catch queries.
TQRegExp bidiRe( "^(&lt;\\S+&gt;)(.+)$" );
- text.tqreplace( bidiRe, TQString::tqfromLatin1( "<span>\\1</span>\\2" ) );
+ text.replace( bidiRe, TQString::tqfromLatin1( "<span>\\1</span>\\2" ) );
TQRegExp bidiRe2( "^(\\[\\S+\\])(.+)$" );
- text.tqreplace( bidiRe2, TQString::tqfromLatin1( "<span>\\1</span>\\2" ) );
+ text.replace( bidiRe2, TQString::tqfromLatin1( "<span>\\1</span>\\2" ) );
TQRegExp bidiRe3( "^(&gt;\\S+&lt;)(.+)$" );
- text.tqreplace( bidiRe3, TQString::tqfromLatin1( "<span>\\1</span>\\2" ) );
+ text.replace( bidiRe3, TQString::tqfromLatin1( "<span>\\1</span>\\2" ) );
TQRegExp nickCol( "~n(.+)~n" );
nickCol.setMinimal(true);
@@ -168,7 +168,7 @@ TQString KSircView::addLine(const TQString &pixmap, const TQColor &color, const
newText.append("</r>");
}
}
- text.tqreplace(pos, nickCol.matchedLength(), newText);
+ text.replace(pos, nickCol.matchedLength(), newText);
}
//kdDebug(5008) << "After Text: " << text << endl;