summaryrefslogtreecommitdiffstats
path: root/poxml/split.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
commit0813b39aed2cf4c84157a22c4c9594336d93d412 (patch)
tree0f6157f9c9ecc6ed26cb98f058219a8021d3f4a6 /poxml/split.cpp
parent35dc58791106d7a1864264063df5f3ee3f1f0f15 (diff)
downloadtdesdk-0813b39aed2cf4c84157a22c4c9594336d93d412.tar.gz
tdesdk-0813b39aed2cf4c84157a22c4c9594336d93d412.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'poxml/split.cpp')
-rw-r--r--poxml/split.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/poxml/split.cpp b/poxml/split.cpp
index fa8faab1..db20f15f 100644
--- a/poxml/split.cpp
+++ b/poxml/split.cpp
@@ -36,7 +36,7 @@ int main( int argc, char **argv )
if (report_mismatches && errors.count()) {
for (TQMap<int, TQString>::ConstIterator it = errors.begin(); it != errors.end(); ++it)
{
- if (translated.pc.anchors.tqcontains(it.data()))
+ if (translated.pc.anchors.contains(it.data()))
fprintf(stderr, "id=\"%s\" not in the same paragraphs (%d vs %d)\n", it.data().latin1(),
english.pc.anchors[it.data()], translated.pc.anchors[it.data()]);
else {
@@ -65,7 +65,7 @@ int main( int argc, char **argv )
it != english.end(); )
{
if ((*it).msgid == "ROLES_OF_TRANSLATORS") {
- if ((*it).msgstr.length() && !(*it).msgstr.tqcontains("ROLES_OF_TRANSLATORS")) {
+ if ((*it).msgstr.length() && !(*it).msgstr.contains("ROLES_OF_TRANSLATORS")) {
have_roles_of_translators = true;
}
else {
@@ -77,7 +77,7 @@ int main( int argc, char **argv )
}
if ((*it).msgid == "CREDIT_FOR_TRANSLATORS") {
- if ((*it).msgstr.length() && !(*it).msgstr.tqcontains("CREDIT_FOR_TRANSLATORS")) {
+ if ((*it).msgstr.length() && !(*it).msgstr.contains("CREDIT_FOR_TRANSLATORS")) {
have_credit_for_translators = true;
}
else {
@@ -88,7 +88,7 @@ int main( int argc, char **argv )
continue;
}
- if (msgids.tqcontains((*it).msgid)) {
+ if (msgids.contains((*it).msgid)) {
english[msgids[(*it).msgid]].lines += (*it).lines;
if (english[msgids[(*it).msgid]].msgstr != (*it).msgstr) {
fprintf(stderr, "two different translations for \"%s\" (\"%s\" and \"%s\") - choosing first one\n",