summaryrefslogtreecommitdiffstats
path: root/kdeui/keditcl2.cpp
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
commit6e21bc798ba1066147d69dcc2d5c222ffafb9a90 (patch)
tree36613dfe2f86f8ccb96a30f3880507341228eeb0 /kdeui/keditcl2.cpp
parent1e9fe867b0def399c63c42f35e83c3575e91ff83 (diff)
downloadtdelibs-6e21bc798ba1066147d69dcc2d5c222ffafb9a90.tar.gz
tdelibs-6e21bc798ba1066147d69dcc2d5c222ffafb9a90.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/keditcl2.cpp')
-rw-r--r--kdeui/keditcl2.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kdeui/keditcl2.cpp b/kdeui/keditcl2.cpp
index c885b6b27..4bbc12c30 100644
--- a/kdeui/keditcl2.cpp
+++ b/kdeui/keditcl2.cpp
@@ -162,7 +162,7 @@ int KEdit::doSearch(TQString s_pattern, bool case_sensitive,
string = textLine(i);
- pos = string.tqfind(s_pattern, i == line ? col : 0, case_sensitive);
+ pos = string.find(s_pattern, i == line ? col : 0, case_sensitive);
if( pos != -1){
@@ -191,7 +191,7 @@ int KEdit::doSearch(TQString s_pattern, bool case_sensitive,
string = textLine(i);
int line_length = string.length();
- pos = string.tqfindRev(s_pattern, line == i ? col : line_length , case_sensitive);
+ pos = string.findRev(s_pattern, line == i ? col : line_length , case_sensitive);
if (pos != -1){
@@ -528,10 +528,10 @@ int KEdit::doReplace(TQString s_pattern, bool case_sensitive,
string = textLine(line_counter);
if (replace_all){
- pos = string.tqfind(s_pattern, replace_all_col, case_sensitive);
+ pos = string.find(s_pattern, replace_all_col, case_sensitive);
}
else{
- pos = string.tqfind(s_pattern, line_counter == line ? col : 0, case_sensitive);
+ pos = string.find(s_pattern, line_counter == line ? col : 0, case_sensitive);
}
if (pos == -1 ){
@@ -554,7 +554,7 @@ int KEdit::doReplace(TQString s_pattern, bool case_sensitive,
replace_all_col = pos + replacement.length();
replace_all_line = line_counter;
- pos = stringnew.tqfind(s_pattern, replace_all_col, case_sensitive);
+ pos = stringnew.find(s_pattern, replace_all_col, case_sensitive);
}
while( pos != -1);
@@ -595,13 +595,13 @@ int KEdit::doReplace(TQString s_pattern, bool case_sensitive,
if (replace_all_col < 0)
pos = -1;
else
- pos = string.tqfindRev(s_pattern, replace_all_col , case_sensitive);
+ pos = string.findRev(s_pattern, replace_all_col , case_sensitive);
}
else{
if ((line == line_counter) && (col < 0))
pos = -1;
else
- pos = string.tqfindRev(s_pattern,
+ pos = string.findRev(s_pattern,
line == line_counter ? col : line_length , case_sensitive);
}