From 4ae0c208b66e0f7954e194384464fe2d0a2c56dd Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:51:49 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- poxml/split.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'poxml/split.cpp') diff --git a/poxml/split.cpp b/poxml/split.cpp index 28149ed6..29104d3e 100644 --- a/poxml/split.cpp +++ b/poxml/split.cpp @@ -16,14 +16,14 @@ int main( int argc, char **argv ) MsgList english = parseXML(argv[1]); MsgList translated = parseXML(argv[2]); - QMap::ConstIterator eit2 = english.pc.anchors.begin(); + TQMap::ConstIterator eit2 = english.pc.anchors.begin(); - QMap errors; + TQMap errors; while (eit2 != english.pc.anchors.end()) { if (eit2.data() == translated.pc.anchors[eit2.key()]) { - QString key = eit2.key(); + TQString key = eit2.key(); eit2++; translated.pc.anchors.remove(key); english.pc.anchors.remove(key); @@ -34,7 +34,7 @@ int main( int argc, char **argv ) } if (report_mismatches && errors.count()) { - for (QMap::ConstIterator it = errors.begin(); it != errors.end(); ++it) + for (TQMap::ConstIterator it = errors.begin(); it != errors.end(); ++it) { if (translated.pc.anchors.contains(it.data())) fprintf(stderr, "id=\"%s\" not in the same paragraphs (%d vs %d)\n", it.data().latin1(), @@ -58,7 +58,7 @@ int main( int argc, char **argv ) bool have_roles_of_translators = false; bool have_credit_for_translators = false; - QMap msgids; + TQMap msgids; int index = 0; for (MsgList::Iterator it = english.begin(); @@ -112,7 +112,7 @@ int main( int argc, char **argv ) while (tit != translated.end()) { MsgBlock mb; - mb.msgid = QString::fromLatin1("appended paragraph %1").arg(counter++); + mb.msgid = TQString::fromLatin1("appended paragraph %1").arg(counter++); mb.msgstr = (*tit).msgid; mb.lines += (*tit).lines; english.append(mb); @@ -130,7 +130,7 @@ int main( int argc, char **argv ) it != english.end(); ++it) { cout << "#: "; - for (QValueList::ConstIterator it2 = + for (TQValueList::ConstIterator it2 = (*it).lines.begin(); it2 != (*it).lines.end(); it2++) { if (it2 != (*it).lines.begin()) cout << ", "; -- cgit v1.2.3