diff options
Diffstat (limited to 'kanagram/src/keduvocdocument.cpp')
-rw-r--r-- | kanagram/src/keduvocdocument.cpp | 10 |
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) |