summaryrefslogtreecommitdiffstats
path: root/poxml/split.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'poxml/split.cpp')
-rw-r--r--poxml/split.cpp14
1 files changed, 7 insertions, 7 deletions
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<QString, int>::ConstIterator eit2 = english.pc.anchors.begin();
+ TQMap<TQString, int>::ConstIterator eit2 = english.pc.anchors.begin();
- QMap<int, QString> errors;
+ TQMap<int, TQString> 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<int, QString>::ConstIterator it = errors.begin(); it != errors.end(); ++it)
+ for (TQMap<int, TQString>::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<QString, int> msgids;
+ TQMap<TQString, int> 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<BlockInfo>::ConstIterator it2 =
+ for (TQValueList<BlockInfo>::ConstIterator it2 =
(*it).lines.begin(); it2 != (*it).lines.end(); it2++) {
if (it2 != (*it).lines.begin())
cout << ", ";