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 | 72aaee9802d447ee21340b011856b9b355a58f1a (patch) | |
tree | f97a68e4f75e6c25c8492e03fdfe6983fb0aa199 /src/kvilib/core/kvi_qstring.cpp | |
parent | 5d03948cd3558c613fae1fad109635f860babcbb (diff) | |
download | kvirc-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.cpp')
-rw-r--r-- | src/kvilib/core/kvi_qstring.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kvilib/core/kvi_qstring.cpp b/src/kvilib/core/kvi_qstring.cpp index fd61aed4..f16ad0ad 100644 --- a/src/kvilib/core/kvi_qstring.cpp +++ b/src/kvilib/core/kvi_qstring.cpp @@ -934,7 +934,7 @@ namespace KviTQString #ifdef COMPILE_USE_QT4 int idx = s.indexOf(c); #else - int idx = s.tqfind(c); + int idx = s.find(c); #endif if(idx == -1)return; s.truncate(bIncluded ? idx : idx + 1); @@ -945,7 +945,7 @@ namespace KviTQString #ifdef COMPILE_USE_QT4 int idx = s.lastIndexOf(c); #else - int idx = s.tqfindRev(c); + int idx = s.findRev(c); #endif if(idx == -1)return; s.truncate(bIncluded ? idx : idx + 1); @@ -956,7 +956,7 @@ namespace KviTQString #ifdef COMPILE_USE_QT4 int idx = s.indexOf(c); #else - int idx = s.tqfind(c); + int idx = s.find(c); #endif if(idx == -1) { @@ -971,7 +971,7 @@ namespace KviTQString #ifdef COMPILE_USE_QT4 int idx = s.lastIndexOf(c); #else - int idx = s.tqfindRev(c); + int idx = s.findRev(c); #endif if(idx == -1) { @@ -986,7 +986,7 @@ namespace KviTQString #ifdef COMPILE_USE_QT4 int idx = s.indexOf(c); #else - int idx = s.tqfind(c); + int idx = s.find(c); #endif if(idx == -1)return; s.truncate(bIncluded ? idx : idx + c.length()); @@ -997,7 +997,7 @@ namespace KviTQString #ifdef COMPILE_USE_QT4 int idx = s.lastIndexOf(c); #else - int idx = s.tqfindRev(c); + int idx = s.findRev(c); #endif if(idx == -1)return; s.truncate(bIncluded ? idx : idx + c.length()); @@ -1008,7 +1008,7 @@ namespace KviTQString #ifdef COMPILE_USE_QT4 int idx = s.indexOf(c); #else - int idx = s.tqfind(c); + int idx = s.find(c); #endif if(idx == -1) { @@ -1023,7 +1023,7 @@ namespace KviTQString #ifdef COMPILE_USE_QT4 int idx = s.lastIndexOf(c); #else - int idx = s.tqfindRev(c); + int idx = s.findRev(c); #endif if(idx == -1) { |