From 72aaee9802d447ee21340b011856b9b355a58f1a 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/kvirc@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/kvilib/core/kvi_string.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/kvilib/core/kvi_string.h') diff --git a/src/kvilib/core/kvi_string.h b/src/kvilib/core/kvi_string.h index 4a7991bb..4e9a3acb 100644 --- a/src/kvilib/core/kvi_string.h +++ b/src/kvilib/core/kvi_string.h @@ -376,9 +376,9 @@ public: //============================================================================= // Returns true if at least one occurence of str is found - bool tqcontains(const char *str,bool caseS=true) const; + bool contains(const char *str,bool caseS=true) const; // Returns true if at least one occurence of character c is found in this string - bool tqcontains(char c,bool caseS=true) const; + bool contains(char c,bool caseS=true) const; // Returns the number of occurences of string str in this string.
// Overlapped matches are counted. int occurences(const char *str,bool caseS=true) const; @@ -405,9 +405,9 @@ public: // str can NOT be 0 here. int findLastIdx(const char *str,bool caseS = true) const; - int tqfind(char c,int startIdx) const; - int tqfind(const char * str,int startIdx,bool caseS = true) const; - int tqfindRev(const char * str,int startIdx,bool caseS = true) const; + int find(char c,int startIdx) const; + int find(const char * str,int startIdx,bool caseS = true) const; + int findRev(const char * str,int startIdx,bool caseS = true) const; //============================================================================= // Numbers @@ -462,7 +462,7 @@ public: //============================================================================= // FIXME: Should it be KviStrExt::contains namespace ? - static bool ext_tqcontains(register const char * data,const char * item,bool caseS = true); + static bool ext_contains(register const char * data,const char * item,bool caseS = true); }; // FIXME: the functions below should end in the KviStr namespace ??? -- cgit v1.2.1