diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch) | |
tree | 766a8ad7939fcf3eec534184c36bd0e0f80489e2 /libkdepim/kregexp3.h | |
parent | 469cc56a805bd3d6940d54adbef554877c29853c (diff) | |
download | tdepim-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.h')
-rw-r--r-- | libkdepim/kregexp3.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libkdepim/kregexp3.h b/libkdepim/kregexp3.h index 64a874d3a..c58feb9d1 100644 --- a/libkdepim/kregexp3.h +++ b/libkdepim/kregexp3.h @@ -36,11 +36,11 @@ #include <kdepimmacros.h> -/** @short A TQRegExp (TQt3.x) with a tqreplace() method. +/** @short A TQRegExp (TQt3.x) with a replace() method. This class is simply there to provide a namespace for some nice enhancements of the mighty TQRegExp (TQt3 version) regular - expression engine, namely the method tqreplace(), which can be + expression engine, namely the method replace(), which can be used to do search-and-replace like one is used to from perl or sed. It "simply" adds the ability to define a replacement string which @@ -105,7 +105,7 @@ public: Equivalent to the /g switch to perl's s/// operator. @return The modified string. */ - TQString tqreplace( const TQString & str, + TQString replace( const TQString & str, const TQString & replacementStr, int start=0, bool global=TRUE ); }; |