From 5173e6fcb16310e130fba4143e334563b4f8460e 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/applications/kdiff3@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- diff_ext_for_kdiff3/diffextstring.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'diff_ext_for_kdiff3/diffextstring.h') 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) -- cgit v1.2.1