diff options
Diffstat (limited to 'kmymoney2/mymoney/storage/mymoneystoragedump.cpp')
-rw-r--r-- | kmymoney2/mymoney/storage/mymoneystoragedump.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kmymoney2/mymoney/storage/mymoneystoragedump.cpp b/kmymoney2/mymoney/storage/mymoneystoragedump.cpp index f9c6b43..269d740 100644 --- a/kmymoney2/mymoney/storage/mymoneystoragedump.cpp +++ b/kmymoney2/mymoney/storage/mymoneystoragedump.cpp @@ -69,8 +69,8 @@ void MyMoneyStorageDump::writeStream(TQDataStream& _s, IMyMoneySerialize* _stora s << "user zip = " << user.postcode() << "\n"; s << "user telephone = " << user.telephone() << "\n"; s << "user e-mail = " << user.email() << "\n"; - s << "creation date = " << storage->creationDate().toString(Qt::ISODate) << "\n"; - s << "last modification date = " << storage->lastModificationDate().toString(Qt::ISODate) << "\n"; + s << "creation date = " << storage->creationDate().toString(TQt::ISODate) << "\n"; + s << "last modification date = " << storage->lastModificationDate().toString(TQt::ISODate) << "\n"; s << "base currency = " << storage->value("kmm-baseCurrency") << "\n"; s << "\n"; @@ -182,9 +182,9 @@ void MyMoneyStorageDump::writeStream(TQDataStream& _s, IMyMoneySerialize* _stora } s << "\n"; - s << " Opening data = " << (*it_a).openingDate().toString(Qt::ISODate) << "\n"; - s << " Last modified = " << (*it_a).lastModified().toString(Qt::ISODate) << "\n"; - s << " Last reconciled = " << (*it_a).lastReconciliationDate().toString(Qt::ISODate) << "\n"; + s << " Opening data = " << (*it_a).openingDate().toString(TQt::ISODate) << "\n"; + s << " Last modified = " << (*it_a).lastModified().toString(TQt::ISODate) << "\n"; + s << " Last reconciled = " << (*it_a).lastReconciliationDate().toString(TQt::ISODate) << "\n"; s << " Balance = " << (*it_a).balance().formatMoney("", 2) << "\n"; dumpKVP(" KVP: ", s, *it_a); @@ -294,9 +294,9 @@ void MyMoneyStorageDump::writeStream(TQDataStream& _s, IMyMoneySerialize* _stora for(it_s = list_s.begin(); it_s != list_s.end(); ++it_s) { s << " ID = " << (*it_s).id() << "\n"; s << " Name = " << (*it_s).name() << "\n"; - s << " Startdate = " << (*it_s).startDate().toString(Qt::ISODate) << "\n"; + s << " Startdate = " << (*it_s).startDate().toString(TQt::ISODate) << "\n"; if((*it_s).willEnd()) - s << " Enddate = " << (*it_s).endDate().toString(Qt::ISODate) << "\n"; + s << " Enddate = " << (*it_s).endDate().toString(TQt::ISODate) << "\n"; else s << " Enddate = not specified\n"; s << " Occurence = " << (*it_s).occurenceToString() << "\n"; @@ -307,13 +307,13 @@ void MyMoneyStorageDump::writeStream(TQDataStream& _s, IMyMoneySerialize* _stora s << " AutoEnter = " << (*it_s).autoEnter() << "\n"; if((*it_s).lastPayment().isValid()) - s << " Last payment = " << (*it_s).lastPayment().toString(Qt::ISODate) << "\n"; + s << " Last payment = " << (*it_s).lastPayment().toString(TQt::ISODate) << "\n"; else s << " Last payment = not defined" << "\n"; if((*it_s).isFinished()) s << " Next payment = payment finished" << "\n"; else { - s << " Next payment = " << (*it_s).nextDueDate().toString(Qt::ISODate) << "\n"; + s << " Next payment = " << (*it_s).nextDueDate().toString(TQt::ISODate) << "\n"; if((*it_s).isOverdue()) s << " = overdue!" << "\n"; } @@ -325,7 +325,7 @@ void MyMoneyStorageDump::writeStream(TQDataStream& _s, IMyMoneySerialize* _stora if(list_d.count() > 0) { s << " Recorded payments" << "\n"; for(it_d = list_d.begin(); it_d != list_d.end(); ++it_d) { - s << " " << (*it_d).toString(Qt::ISODate) << "\n"; + s << " " << (*it_d).toString(TQt::ISODate) << "\n"; } } s << " TRANSACTION\n"; @@ -358,8 +358,8 @@ void MyMoneyStorageDump::dumpKVP(const TQString& headline, TQTextStream& s, cons void MyMoneyStorageDump::dumpTransaction(TQTextStream& s, IMyMoneyStorage* storage, const MyMoneyTransaction& it_t) { s << " ID = " << it_t.id() << "\n"; - s << " Postdate = " << it_t.postDate().toString(Qt::ISODate) << "\n"; - s << " EntryDate = " << it_t.entryDate().toString(Qt::ISODate) << "\n"; + s << " Postdate = " << it_t.postDate().toString(TQt::ISODate) << "\n"; + s << " EntryDate = " << it_t.entryDate().toString(TQt::ISODate) << "\n"; s << " Commodity = [" << it_t.commodity() << "]\n"; s << " Memo = " << it_t.memo() << "\n"; s << " BankID = " << it_t.bankID() << "\n"; @@ -398,7 +398,7 @@ void MyMoneyStorageDump::dumpTransaction(TQTextStream& s, IMyMoneyStorage* stora s << " Nr = '" << (*it_s).number() << "'\n"; s << " ReconcileFlag = '" << reconcileToString((*it_s).reconcileFlag()) << "'\n"; if((*it_s).reconcileFlag() != MyMoneySplit::NotReconciled) { - s << " ReconcileDate = " << (*it_s).reconcileDate().toString(Qt::ISODate) << "\n"; + s << " ReconcileDate = " << (*it_s).reconcileDate().toString(TQt::ISODate) << "\n"; } s << " BankID = " << (*it_s).bankID() << "\n"; dumpKVP("KVP:", s, (*it_s), 4); |