summaryrefslogtreecommitdiffstats
path: root/poxml/xml2pot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'poxml/xml2pot.cpp')
-rw-r--r--poxml/xml2pot.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/poxml/xml2pot.cpp b/poxml/xml2pot.cpp
index 593e75be..340d4689 100644
--- a/poxml/xml2pot.cpp
+++ b/poxml/xml2pot.cpp
@@ -1,8 +1,8 @@
#include "parser.h"
#include <stdlib.h>
#include <iostream>
-#include <qfileinfo.h>
-#include <qdatetime.h>
+#include <tqfileinfo.h>
+#include <tqdatetime.h>
using namespace std;
@@ -15,7 +15,7 @@ int main( int argc, char **argv )
MsgList english = parseXML(argv[1]);
- QMap<QString, int> msgids;
+ TQMap<TQString, int> msgids;
int index = 0;
for (MsgList::Iterator it = english.begin();
@@ -33,7 +33,7 @@ int main( int argc, char **argv )
}
}
- const QDateTime now = QDateTime::currentDateTime( Qt::UTC );
+ const TQDateTime now = TQDateTime::currentDateTime( Qt::UTC );
cout << "# SOME DESCRIPTIVE TITLE.\n";
cout << "# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.\n";
@@ -52,14 +52,14 @@ int main( int argc, char **argv )
cout << "\"Content-Transfer-Encoding: 8bit\\n\"\n";
cout << "\n";
- const QString fname = QFileInfo(argv[1]).fileName();
+ const TQString fname = TQFileInfo(argv[1]).fileName();
for (MsgList::ConstIterator it = english.begin();
it != english.end(); ++it)
{
cout << "#. Tag: " << (*it).tag.utf8() << endl;
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 << " ";