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 | 5173e6fcb16310e130fba4143e334563b4f8460e (patch) | |
tree | 52333f9eb0c94f760d4dddc8714671fb50f7b625 /diff_ext_for_kdiff3/diffextstring.h | |
parent | 7b4db4f16d44d4e9aeee241211827558acd64f17 (diff) | |
download | kdiff3-5173e6fcb16310e130fba4143e334563b4f8460e.tar.gz kdiff3-5173e6fcb16310e130fba4143e334563b4f8460e.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdiff3@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'diff_ext_for_kdiff3/diffextstring.h')
-rw-r--r-- | diff_ext_for_kdiff3/diffextstring.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/diff_ext_for_kdiff3/diffextstring.h b/diff_ext_for_kdiff3/diffextstring.h index 0df947e..132512e 100644 --- a/diff_ext_for_kdiff3/diffextstring.h +++ b/diff_ext_for_kdiff3/diffextstring.h @@ -108,7 +108,7 @@ class STRING { return tmp; } - STRING& tqreplace( size_t pos, size_t num, const STRING& s ) + STRING& replace( size_t pos, size_t num, const STRING& s ) { *this = substr( 0, pos ) + s + substr( pos+num ); return *this; @@ -118,7 +118,7 @@ class STRING { return (lstrcmp(_str, s) == 0); } - size_t tqfind(const STRING& s) const + size_t find(const STRING& s) const { const TCHAR* p = _tcsstr( _str, s._str ); if (p) |