From 937b2991d8e78166eea904c80ad04d34607017a4 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksirc/ksview.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ksirc/ksview.cpp') 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< to catch queries. TQRegExp bidiRe( "^(<\\S+>)(.+)$" ); - text.tqreplace( bidiRe, TQString::tqfromLatin1( "\\1\\2" ) ); + text.replace( bidiRe, TQString::tqfromLatin1( "\\1\\2" ) ); TQRegExp bidiRe2( "^(\\[\\S+\\])(.+)$" ); - text.tqreplace( bidiRe2, TQString::tqfromLatin1( "\\1\\2" ) ); + text.replace( bidiRe2, TQString::tqfromLatin1( "\\1\\2" ) ); TQRegExp bidiRe3( "^(>\\S+<)(.+)$" ); - text.tqreplace( bidiRe3, TQString::tqfromLatin1( "\\1\\2" ) ); + text.replace( bidiRe3, TQString::tqfromLatin1( "\\1\\2" ) ); TQRegExp nickCol( "~n(.+)~n" ); nickCol.setMinimal(true); @@ -168,7 +168,7 @@ TQString KSircView::addLine(const TQString &pixmap, const TQColor &color, const newText.append(""); } } - text.tqreplace(pos, nickCol.matchedLength(), newText); + text.replace(pos, nickCol.matchedLength(), newText); } //kdDebug(5008) << "After Text: " << text << endl; -- cgit v1.2.3