diff options
author | Michele Calgaro <[email protected]> | 2023-11-05 11:54:03 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-05 22:44:03 +0900 |
commit | 0008104748e6613c41d60b0545c07ed34e16ddec (patch) | |
tree | 12b1131ace7823c35c51d7f03002ed0e9f476dbd /kmymoney2/views/kgloballedgerview.cpp | |
parent | a84f7caff6a73b3d554279d41b9a00aa15ad1400 (diff) | |
download | kmymoney-0008104748e6613c41d60b0545c07ed34e16ddec.tar.gz kmymoney-0008104748e6613c41d60b0545c07ed34e16ddec.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 96c67c9b3924ab034d3d34aa03d3ea7cf0746587)
Diffstat (limited to 'kmymoney2/views/kgloballedgerview.cpp')
-rw-r--r-- | kmymoney2/views/kgloballedgerview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kmymoney2/views/kgloballedgerview.cpp b/kmymoney2/views/kgloballedgerview.cpp index 34eb118..8aec576 100644 --- a/kmymoney2/views/kgloballedgerview.cpp +++ b/kmymoney2/views/kgloballedgerview.cpp @@ -619,11 +619,11 @@ void TDEGlobalLedgerView::loadView(void) if(!t->isScheduled()) { if(split.reconcileFlag() == MyMoneySplit::NotReconciled) { - tracer.printf("Reducing cleared balance by %s because %s/%s(%s) is not reconciled", (split.shares() * factor).formatMoney("", 2).local8Bit().data(), t->transaction().id().local8Bit().data(), split.id().local8Bit().data(), t->transaction().postDate().toString(Qt::ISODate).local8Bit().data()); + tracer.printf("Reducing cleared balance by %s because %s/%s(%s) is not reconciled", (split.shares() * factor).formatMoney("", 2).local8Bit().data(), t->transaction().id().local8Bit().data(), split.id().local8Bit().data(), t->transaction().postDate().toString(TQt::ISODate).local8Bit().data()); clearedBalance[split.accountId()] -= split.shares() * factor; } if(isReconciliationAccount() && t->transaction().postDate() > reconciliationDate && split.reconcileFlag() == MyMoneySplit::Cleared) { - tracer.printf("Reducing cleared balance by %s because we are in reconciliation, %s/%s(%s)'s date is after or on reconciliation date (%s) and is cleared", (split.shares() * factor).formatMoney("", 2).local8Bit().data(), t->transaction().id().local8Bit().data(), split.id().local8Bit().data(), t->transaction().postDate().toString(Qt::ISODate).local8Bit().data(), reconciliationDate.toString(Qt::ISODate).local8Bit().data()); + tracer.printf("Reducing cleared balance by %s because we are in reconciliation, %s/%s(%s)'s date is after or on reconciliation date (%s) and is cleared", (split.shares() * factor).formatMoney("", 2).local8Bit().data(), t->transaction().id().local8Bit().data(), split.id().local8Bit().data(), t->transaction().postDate().toString(TQt::ISODate).local8Bit().data(), reconciliationDate.toString(TQt::ISODate).local8Bit().data()); clearedBalance[split.accountId()] -= split.shares() * factor; } @@ -638,7 +638,7 @@ void TDEGlobalLedgerView::loadView(void) } if(t->transaction().postDate() > TQDate::currentDate()) { - tracer.printf("Reducing actual balance by %s because %s/%s(%s) is in the future", (split.shares() * factor).formatMoney("", 2).local8Bit().data(), t->transaction().id().local8Bit().data(), split.id().local8Bit().data(), t->transaction().postDate().toString(Qt::ISODate).local8Bit().data()); + tracer.printf("Reducing actual balance by %s because %s/%s(%s) is in the future", (split.shares() * factor).formatMoney("", 2).local8Bit().data(), t->transaction().id().local8Bit().data(), split.id().local8Bit().data(), t->transaction().postDate().toString(TQt::ISODate).local8Bit().data()); actBalance[split.accountId()] -= split.shares() * factor; } } |