diff options
author | Michele Calgaro <[email protected]> | 2023-11-05 11:54:03 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-05 21:02:02 +0900 |
commit | 96c67c9b3924ab034d3d34aa03d3ea7cf0746587 (patch) | |
tree | 7023c36a5f1592f5b11733ab574176f3970c0eb8 /kmymoney2/dialogs/kendingbalancedlg.cpp | |
parent | ecdc0343d446e810e477e8924e846de7f3313c55 (diff) | |
download | kmymoney-96c67c9b3924ab034d3d34aa03d3ea7cf0746587.tar.gz kmymoney-96c67c9b3924ab034d3d34aa03d3ea7cf0746587.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kmymoney2/dialogs/kendingbalancedlg.cpp')
-rw-r--r-- | kmymoney2/dialogs/kendingbalancedlg.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/dialogs/kendingbalancedlg.cpp b/kmymoney2/dialogs/kendingbalancedlg.cpp index 71e497d..f84c254 100644 --- a/kmymoney2/dialogs/kendingbalancedlg.cpp +++ b/kmymoney2/dialogs/kendingbalancedlg.cpp @@ -121,7 +121,7 @@ KEndingBalanceDlg::KEndingBalanceDlg(const MyMoneyAccount& account, TQWidget *pa value = account.value("statementDate"); if(!value.isEmpty()) - m_statementDate->setDate(TQDate::fromString(value, Qt::ISODate)); + m_statementDate->setDate(TQDate::fromString(value, TQt::ISODate)); m_lastStatementDate->setText(TQString()); if(account.lastReconciliationDate().isValid()) { @@ -205,18 +205,18 @@ void KEndingBalanceDlg::slotUpdateBalances(void) const MyMoneySplit& split = (*it).second; balance -= split.shares() * factor; if((*it).first.postDate() > m_statementDate->date()) { - tracer.printf("Reducing balances by %s because postdate of %s/%s(%s) is past statement date", (split.shares() * factor).formatMoney("", 2).local8Bit().data(), (*it).first.id().local8Bit().data(),split.id().local8Bit().data(), (*it).first.postDate().toString(Qt::ISODate).local8Bit().data()); + tracer.printf("Reducing balances by %s because postdate of %s/%s(%s) is past statement date", (split.shares() * factor).formatMoney("", 2).local8Bit().data(), (*it).first.id().local8Bit().data(),split.id().local8Bit().data(), (*it).first.postDate().toString(TQt::ISODate).local8Bit().data()); endBalance -= split.shares() * factor; startBalance -= split.shares() * factor; } else { switch(split.reconcileFlag()) { case MyMoneySplit::NotReconciled: - tracer.printf("Reducing balances by %s because %s/%s(%s) is not reconciled", (split.shares() * factor).formatMoney("", 2).local8Bit().data(), (*it).first.id().local8Bit().data(), split.id().local8Bit().data(), (*it).first.postDate().toString(Qt::ISODate).local8Bit().data()); + tracer.printf("Reducing balances by %s because %s/%s(%s) is not reconciled", (split.shares() * factor).formatMoney("", 2).local8Bit().data(), (*it).first.id().local8Bit().data(), split.id().local8Bit().data(), (*it).first.postDate().toString(TQt::ISODate).local8Bit().data()); endBalance -= split.shares() * factor; startBalance -= split.shares() * factor; break; case MyMoneySplit::Cleared: - tracer.printf("Reducing start balance by %s because %s/%s(%s) is cleared", (split.shares() * factor).formatMoney("", 2).local8Bit().data(), (*it).first.id().local8Bit().data(), split.id().local8Bit().data(), (*it).first.postDate().toString(Qt::ISODate).local8Bit().data()); + tracer.printf("Reducing start balance by %s because %s/%s(%s) is cleared", (split.shares() * factor).formatMoney("", 2).local8Bit().data(), (*it).first.id().local8Bit().data(), split.id().local8Bit().data(), (*it).first.postDate().toString(TQt::ISODate).local8Bit().data()); startBalance -= split.shares() * factor; break; default: |