summaryrefslogtreecommitdiffstats
path: root/poxml/po2xml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'poxml/po2xml.cpp')
-rw-r--r--poxml/po2xml.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/poxml/po2xml.cpp b/poxml/po2xml.cpp
index c30a340f..e43f464a 100644
--- a/poxml/po2xml.cpp
+++ b/poxml/po2xml.cpp
@@ -30,7 +30,7 @@ TQString translate(TQString xml, TQString orig, TQString translation)
int index = xml.find(orig);
if (index == -1) {
- qWarning("can't find\n%s\nin\n%s", orig.latin1(), xml.latin1());
+ tqWarning("can't find\n%s\nin\n%s", orig.latin1(), xml.latin1());
exit(1);
}
if (!translation.isEmpty())
@@ -41,7 +41,7 @@ TQString translate(TQString xml, TQString orig, TQString translation)
int main( int argc, char **argv )
{
if (argc != 3) {
- qWarning("usage: %s english-XML translated-PO", argv[0]);
+ tqWarning("usage: %s english-XML translated-PO", argv[0]);
::exit(1);
}
@@ -69,7 +69,7 @@ int main( int argc, char **argv )
msgstr = escapePO((*it).msgstr);
#ifdef POXML_DEBUG
- qDebug("inserting translations '%s' -> '%s'", msgid.latin1(),msgstr.latin1());
+ tqDebug("inserting translations '%s' -> '%s'", msgid.latin1(),msgstr.latin1());
#endif
translations.insert(msgid, msgstr);
}
@@ -181,7 +181,7 @@ int main( int argc, char **argv )
if (!descaped.isEmpty()) {
if (descaped.at(0) != '<') {
- qWarning("the translation of '%s' doesn't start with a tag.", omsgid.latin1());
+ tqWarning("the translation of '%s' doesn't start with a tag.", omsgid.latin1());
exit(1);
}
index = 0;
@@ -201,7 +201,7 @@ int main( int argc, char **argv )
}
#ifdef POXML_DEBUG
- qDebug("english \"%s\" ORIG \"%s\" %d(%d-%d) %d(%d-%d) %d %d TRANS \"%s\" %d '%s'", xml.latin1(), (*it).msgid.latin1(),
+ tqDebug("english \"%s\" ORIG \"%s\" %d(%d-%d) %d(%d-%d) %d %d TRANS \"%s\" %d '%s'", xml.latin1(), (*it).msgid.latin1(),
start_pos, bi.start_line, bi.start_col,
end_pos, bi.end_line, bi.end_col,
(*it).lines.first().offset,
@@ -223,7 +223,7 @@ int main( int argc, char **argv )
} else {
if (start_pos != old_pos) {
if (start_pos < old_pos) {
- qDebug("so far: '%s'", output.latin1());
+ tqDebug("so far: '%s'", output.latin1());
}
assert(start_pos > old_pos);
ts << xml_text.mid(old_pos, start_pos - old_pos);