summaryrefslogtreecommitdiffstats
path: root/kiten/widgets.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 /kiten/widgets.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 'kiten/widgets.cpp')
-rw-r--r--kiten/widgets.cpp8
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"));
}
}