diff options
Diffstat (limited to 'kiten/widgets.cpp')
-rw-r--r-- | kiten/widgets.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kiten/widgets.cpp b/kiten/widgets.cpp index 94d61b83..c1d8f86a 100644 --- a/kiten/widgets.cpp +++ b/kiten/widgets.cpp @@ -78,7 +78,7 @@ void ResultView::addResult(Dict::Entry result, bool common) TQStringList Meanings = result.meanings(); for (it = Meanings.begin(); it != Meanings.end(); ++it) { - if ((*it).tqfind("(P)") >= 0) + if ((*it).find("(P)") >= 0) { if (common) continue; @@ -357,9 +357,9 @@ void eEdit::openFile(const TQString &file) continue; Dict::Entry entry = Dict::parse(s); TQString meanings = Dict::prettyMeaning(entry.meanings()); - bool common = meanings.tqfind(TQString("(P)")) >= 0; - meanings.tqreplace(TQRegExp("; "), "/"); - meanings.tqreplace(TQRegExp("/\\(P\\)"), ""); + bool common = meanings.find(TQString("(P)")) >= 0; + meanings.replace(TQRegExp("; "), "/"); + meanings.replace(TQRegExp("/\\(P\\)"), ""); new TQListViewItem(List, entry.kanji(), Dict::prettyKanjiReading(entry.readings()), meanings, common? i18n("yes") : i18n("no")); } } |