diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-12 01:36:19 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-12 01:36:19 +0000 |
commit | 99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch) | |
tree | eff34cf0762227f6baf2a93e8fef48d4bed2651c /poxml/split.cpp | |
parent | 1c104292188541106338d4940b0f04beeb4301a0 (diff) | |
download | tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip |
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'poxml/split.cpp')
-rw-r--r-- | poxml/split.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/poxml/split.cpp b/poxml/split.cpp index 29104d3e..fa8faab1 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.contains(it.data())) + if (translated.pc.anchors.tqcontains(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.contains("ROLES_OF_TRANSLATORS")) { + if ((*it).msgstr.length() && !(*it).msgstr.tqcontains("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.contains("CREDIT_FOR_TRANSLATORS")) { + if ((*it).msgstr.length() && !(*it).msgstr.tqcontains("CREDIT_FOR_TRANSLATORS")) { have_credit_for_translators = true; } else { @@ -88,7 +88,7 @@ int main( int argc, char **argv ) continue; } - if (msgids.contains((*it).msgid)) { + if (msgids.tqcontains((*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", @@ -112,7 +112,7 @@ int main( int argc, char **argv ) while (tit != translated.end()) { MsgBlock mb; - mb.msgid = TQString::fromLatin1("appended paragraph %1").arg(counter++); + mb.msgid = TQString::tqfromLatin1("appended paragraph %1").tqarg(counter++); mb.msgstr = (*tit).msgid; mb.lines += (*tit).lines; english.append(mb); |