summaryrefslogtreecommitdiffstats
path: root/poxml/xml2pot.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
commit99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch)
treeeff34cf0762227f6baf2a93e8fef48d4bed2651c /poxml/xml2pot.cpp
parent1c104292188541106338d4940b0f04beeb4301a0 (diff)
downloadtdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz
tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'poxml/xml2pot.cpp')
-rw-r--r--poxml/xml2pot.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/poxml/xml2pot.cpp b/poxml/xml2pot.cpp
index 340d4689..d73542d7 100644
--- a/poxml/xml2pot.cpp
+++ b/poxml/xml2pot.cpp
@@ -21,7 +21,7 @@ int main( int argc, char **argv )
for (MsgList::Iterator it = english.begin();
it != english.end(); )
{
- if (msgids.contains((*it).msgid)) {
+ if (msgids.tqcontains((*it).msgid)) {
english[msgids[(*it).msgid]].lines += (*it).lines;
MsgList::Iterator tmp = it;
it++;
@@ -33,7 +33,7 @@ int main( int argc, char **argv )
}
}
- const TQDateTime now = TQDateTime::currentDateTime( Qt::UTC );
+ const TQDateTime now = TQDateTime::tqcurrentDateTime( Qt::UTC );
cout << "# SOME DESCRIPTIVE TITLE.\n";
cout << "# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.\n";
@@ -57,7 +57,7 @@ int main( int argc, char **argv )
for (MsgList::ConstIterator it = english.begin();
it != english.end(); ++it)
{
- cout << "#. Tag: " << (*it).tag.utf8() << endl;
+ cout << "#. Tag: " << (*it).tag.utf8().data() << endl;
cout << "#: ";
for (TQValueList<BlockInfo>::ConstIterator it2 =
(*it).lines.begin(); it2 != (*it).lines.end(); it2++) {