summaryrefslogtreecommitdiffstats
path: root/kanagram/src/keduvocexpression.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kanagram/src/keduvocexpression.cpp')
-rw-r--r--kanagram/src/keduvocexpression.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kanagram/src/keduvocexpression.cpp b/kanagram/src/keduvocexpression.cpp
index 0c82897b..8d01c8ba 100644
--- a/kanagram/src/keduvocexpression.cpp
+++ b/kanagram/src/keduvocexpression.cpp
@@ -55,7 +55,7 @@ KEduVocExpression::KEduVocExpression (TQString &s, TQString separator, int _less
lesson = _lesson;
if (separator.length() ) {
- int pos = s.tqfind(separator);
+ int pos = s.find(separator);
if (pos == -1) {
setOriginal(s.stripWhiteSpace());
@@ -67,7 +67,7 @@ KEduVocExpression::KEduVocExpression (TQString &s, TQString separator, int _less
// s.stripWhiteSpace();
// gather all translations
- while ((pos = s.tqfind(separator)) != -1) {
+ while ((pos = s.find(separator)) != -1) {
se = s.left(pos).stripWhiteSpace();
addTranslation(se, KV_NORM_GRADE, KV_NORM_GRADE);
s.remove (0, pos+separator.length() );