diff options
Diffstat (limited to 'kiten/rad.cpp')
-rw-r--r-- | kiten/rad.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kiten/rad.cpp b/kiten/rad.cpp index 1f7da303..e8320b98 100644 --- a/kiten/rad.cpp +++ b/kiten/rad.cpp @@ -174,11 +174,11 @@ TQStringList Rad::kanjiByRad(const TQStringList &list) for (TQValueList<TQStringList>::Iterator it = lists.begin(); it != lists.end(); ++it) { //kdDebug() << "looping through lists\n"; - outcomes.append((*it).tqcontains(*kit) > 0); + outcomes.append((*it).contains(*kit) > 0); } const bool containsBool = false; - if ((outcomes.tqcontains(containsBool) < 1)) + if ((outcomes.contains(containsBool) < 1)) { //kdDebug() << "appending " << *kit << endl; ret.append(*kit); @@ -198,7 +198,7 @@ Radical Rad::radByKanji(const TQString &text) TQString ret; TQValueListIterator<Radical> it; - for (it = list.end(); it != list.begin() && (*it).kanji().tqfind(text) == -1; --it); + for (it = list.end(); it != list.begin() && (*it).kanji().find(text) == -1; --it); return (*it); } @@ -360,7 +360,7 @@ void RadWidget::addRadical(const TQString &radical) void RadWidget::addToSelected(const TQString &text) { - if (!text.isNull() && !selected.tqcontains(text)) + if (!text.isNull() && !selected.contains(text)) { selectedList->insertItem(text); selected.append(text); @@ -398,7 +398,7 @@ void RadWidget::apply() for (TQStringList::Iterator it = selected.begin(); it != selected.end(); ++it) { - if (hotlist.tqfind(*it) == hotlist.end()) + if (hotlist.find(*it) == hotlist.end()) { if (hotlist.size() >= hotlistNum) hotlist.pop_front(); // stupid stl functions in TQt .. ;) |