summaryrefslogtreecommitdiffstats
path: root/src/kvilib/core/kvi_qstring.h
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
commit72aaee9802d447ee21340b011856b9b355a58f1a (patch)
treef97a68e4f75e6c25c8492e03fdfe6983fb0aa199 /src/kvilib/core/kvi_qstring.h
parent5d03948cd3558c613fae1fad109635f860babcbb (diff)
downloadkvirc-72aaee9802d447ee21340b011856b9b355a58f1a.tar.gz
kvirc-72aaee9802d447ee21340b011856b9b355a58f1a.zip
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
Diffstat (limited to 'src/kvilib/core/kvi_qstring.h')
-rw-r--r--src/kvilib/core/kvi_qstring.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/kvilib/core/kvi_qstring.h b/src/kvilib/core/kvi_qstring.h
index dc75deb0..7f9f7e73 100644
--- a/src/kvilib/core/kvi_qstring.h
+++ b/src/kvilib/core/kvi_qstring.h
@@ -148,93 +148,93 @@ namespace KviTQString
#endif
}
- inline int tqfind(const TQString &s,TQChar c,int index = 0,bool cs = true)
+ inline int find(const TQString &s,TQChar c,int index = 0,bool cs = true)
{
#ifdef COMPILE_USE_QT4
return s.indexOf(c,index,cs ? TQt::CaseSensitive : TQt::CaseInsensitive);
#else
- return s.tqfind(c,index,cs);
+ return s.find(c,index,cs);
#endif
}
- inline int tqfind(const TQString &s,char c,int index = 0,bool cs = true)
+ inline int find(const TQString &s,char c,int index = 0,bool cs = true)
{
#ifdef COMPILE_USE_QT4
return s.indexOf(c,index,cs ? TQt::CaseSensitive : TQt::CaseInsensitive);
#else
- return s.tqfind(c,index,cs);
+ return s.find(c,index,cs);
#endif
}
- inline int tqfind(const TQString &s,const TQString & str,int index = 0,bool cs = true)
+ inline int find(const TQString &s,const TQString & str,int index = 0,bool cs = true)
{
#ifdef COMPILE_USE_QT4
return s.indexOf(str,index,cs ? TQt::CaseSensitive : TQt::CaseInsensitive);
#else
- return s.tqfind(str,index,cs);
+ return s.find(str,index,cs);
#endif
}
- inline int tqfind(const TQString &s,const TQRegExp & rx,int index = 0)
+ inline int find(const TQString &s,const TQRegExp & rx,int index = 0)
{
#ifdef COMPILE_USE_QT4
return s.indexOf(rx,index);
#else
- return s.tqfind(rx,index);
+ return s.find(rx,index);
#endif
}
- inline int tqfind(const TQString &s,const char * str,int index = 0)
+ inline int find(const TQString &s,const char * str,int index = 0)
{
#ifdef COMPILE_USE_QT4
return s.indexOf(TQString(str),index);
#else
- return s.tqfind(str,index);
+ return s.find(str,index);
#endif
}
- inline int tqfindRev(const TQString &s,TQChar c,int index = -1,bool cs = true)
+ inline int findRev(const TQString &s,TQChar c,int index = -1,bool cs = true)
{
#ifdef COMPILE_USE_QT4
return s.lastIndexOf(c,index,cs ? TQt::CaseSensitive : TQt::CaseInsensitive);
#else
- return s.tqfindRev(c,index,cs);
+ return s.findRev(c,index,cs);
#endif
}
- inline int tqfindRev(const TQString &s,char c,int index = -1,bool cs = true)
+ inline int findRev(const TQString &s,char c,int index = -1,bool cs = true)
{
#ifdef COMPILE_USE_QT4
return s.lastIndexOf(c,index,cs ? TQt::CaseSensitive : TQt::CaseInsensitive);
#else
- return s.tqfindRev(c,index,cs);
+ return s.findRev(c,index,cs);
#endif
}
- inline int tqfindRev(const TQString &s,const TQString & str,int index = -1,bool cs = true)
+ inline int findRev(const TQString &s,const TQString & str,int index = -1,bool cs = true)
{
#ifdef COMPILE_USE_QT4
return s.lastIndexOf(str,index,cs ? TQt::CaseSensitive : TQt::CaseInsensitive);
#else
- return s.tqfindRev(str,index,cs);
+ return s.findRev(str,index,cs);
#endif
}
- inline int tqfindRev(const TQString &s,const TQRegExp & rx,int index = -1)
+ inline int findRev(const TQString &s,const TQRegExp & rx,int index = -1)
{
#ifdef COMPILE_USE_QT4
return s.lastIndexOf(rx,index);
#else
- return s.tqfindRev(rx,index);
+ return s.findRev(rx,index);
#endif
}
- inline int tqfindRev(const TQString &s,const char * str,int index = -1)
+ inline int findRev(const TQString &s,const char * str,int index = -1)
{
#ifdef COMPILE_USE_QT4
return s.lastIndexOf(TQString(str),index);
#else
- return s.tqfindRev(str,index);
+ return s.findRev(str,index);
#endif
}