summaryrefslogtreecommitdiffstats
path: root/poxml/xml2pot.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
commit4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch)
treeb0a7cd1c184f0003c0292eb416ed27f674f9cc43 /poxml/xml2pot.cpp
parent1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff)
downloadtdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz
tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 << " ";