summaryrefslogtreecommitdiffstats
path: root/kanagram/src/keduvocdocument.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
commitd8762de95349dc6edaa34db9bf699b367c1af6b1 (patch)
tree8c76a6ab8e4e92d13196cb11ddab2d0fb64ec680 /kanagram/src/keduvocdocument.cpp
parent03458c4e2ca2e92deafe078d0e09e1acd4c4765f (diff)
downloadtdeedu-d8762de95349dc6edaa34db9bf699b367c1af6b1.tar.gz
tdeedu-d8762de95349dc6edaa34db9bf699b367c1af6b1.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kanagram/src/keduvocdocument.cpp')
-rw-r--r--kanagram/src/keduvocdocument.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kanagram/src/keduvocdocument.cpp b/kanagram/src/keduvocdocument.cpp
index 49f5402c..2563d539 100644
--- a/kanagram/src/keduvocdocument.cpp
+++ b/kanagram/src/keduvocdocument.cpp
@@ -901,11 +901,11 @@ int KEduVocDocument::search(TQString substr, int id,
if (id == 0) {
for (int i = first; i < last; i++) {
if (word_start) {
- if (getEntry(i)->getOriginal().tqfind (substr, 0, false) == 0) // case insensitive
+ if (getEntry(i)->getOriginal().find (substr, 0, false) == 0) // case insensitive
return i;
}
else {
- if (getEntry(i)->getOriginal().tqfind (substr, 0, false) > -1) // case insensitive
+ if (getEntry(i)->getOriginal().find (substr, 0, false) > -1) // case insensitive
return i;
}
}
@@ -913,11 +913,11 @@ int KEduVocDocument::search(TQString substr, int id,
else {
for (int i = first; i < last; i++) {
if (word_start) {
- if (getEntry(i)->getTranslation(id).tqfind (substr, 0, false) == 0) // case insensitive
+ if (getEntry(i)->getTranslation(id).find (substr, 0, false) == 0) // case insensitive
return i;
}
else {
- if (getEntry(i)->getTranslation(id).tqfind (substr, 0, false) > -1) // case insensitive
+ if (getEntry(i)->getTranslation(id).find (substr, 0, false) > -1) // case insensitive
return i;
}
}
@@ -995,7 +995,7 @@ KEduVocDocument::FileType KEduVocDocument::detectFT(const TQString &filename)
if (c1 == '<' && c2 == '?' && c3 == 'x' && c4 == 'm' && c5 == 'l')
return kvtml;
- if (line.tqfind (VCB_SEPARATOR) >= 0)
+ if (line.find (VCB_SEPARATOR) >= 0)
return vt_vcb;
if (line == LEX_IDENT_50)