summaryrefslogtreecommitdiffstats
path: root/libkdepim/kregexp3.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch)
tree766a8ad7939fcf3eec534184c36bd0e0f80489e2 /libkdepim/kregexp3.cpp
parent469cc56a805bd3d6940d54adbef554877c29853c (diff)
downloadtdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz
tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdepim/kregexp3.cpp')
-rw-r--r--libkdepim/kregexp3.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libkdepim/kregexp3.cpp b/libkdepim/kregexp3.cpp
index ca9725ba2..c4efa96f1 100644
--- a/libkdepim/kregexp3.cpp
+++ b/libkdepim/kregexp3.cpp
@@ -37,7 +37,7 @@
#include <kdebug.h>
#endif
-TQString KRegExp3::tqreplace( const TQString & str,
+TQString KRegExp3::replace( const TQString & str,
const TQString & replacementStr,
int start, bool global )
{
@@ -69,16 +69,16 @@ TQString KRegExp3::tqreplace( const TQString & str,
if ( pos < 0 ) {
literalStrs << replacementStr.mid( oldpos )
- .tqreplace( bbrx, "\\" )
- .tqreplace( brx, "" );
+ .replace( bbrx, "\\" )
+ .replace( brx, "" );
#ifdef DEBUG_KREGEXP3
kdDebug() << " No more matches. Last literal is \"" + literalStrs.last() + "\"" << endl;
#endif
break;
} else {
literalStrs << replacementStr.mid( oldpos, pos-oldpos )
- .tqreplace( bbrx, "\\" )
- .tqreplace( brx, "" );
+ .replace( bbrx, "\\" )
+ .replace( brx, "" );
#ifdef DEBUG_KREGEXP3
kdDebug() << TQString(" Inserting \"") + literalStrs.last() + "\" as literal." << endl;
kdDebug() << " Searching for corresponding digit(s):" << endl;