summaryrefslogtreecommitdiffstats
path: root/kmymoney2/reports/querytable.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 11:54:03 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 21:02:02 +0900
commit96c67c9b3924ab034d3d34aa03d3ea7cf0746587 (patch)
tree7023c36a5f1592f5b11733ab574176f3970c0eb8 /kmymoney2/reports/querytable.cpp
parentecdc0343d446e810e477e8924e846de7f3313c55 (diff)
downloadkmymoney-96c67c9b3924ab034d3d34aa03d3ea7cf0746587.tar.gz
kmymoney-96c67c9b3924ab034d3d34aa03d3ea7cf0746587.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmymoney2/reports/querytable.cpp')
-rw-r--r--kmymoney2/reports/querytable.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kmymoney2/reports/querytable.cpp b/kmymoney2/reports/querytable.cpp
index 3c46d5c..ccfaab4 100644
--- a/kmymoney2/reports/querytable.cpp
+++ b/kmymoney2/reports/querytable.cpp
@@ -88,7 +88,7 @@ CashFlowListItem CashFlowList::mostRecent(void) const
CashFlowList dupe( *this );
qHeapSort( dupe );
- //kdDebug(2) << " CashFlowList::mostRecent() == " << dupe.back().date().toString(Qt::ISODate) << endl;
+ //kdDebug(2) << " CashFlowList::mostRecent() == " << dupe.back().date().toString(TQt::ISODate) << endl;
return dupe.back();
}
@@ -229,7 +229,7 @@ void CashFlowList::dumpDebug(void) const
const_iterator it_item = begin();
while ( it_item != end() )
{
- kdDebug(2) << TQString((*it_item).date().toString(Qt::ISODate)) << " " << (*it_item).value().toString() << endl;
+ kdDebug(2) << TQString((*it_item).date().toString(TQt::ISODate)) << " " << (*it_item).value().toString() << endl;
++it_item;
}
}
@@ -431,13 +431,13 @@ void QueryTable::constructTransactionTable(void)
TQDate pd;
qA["id"] = qS["id"] = (* it_transaction).id();
- qA["entrydate"] = qS["entrydate"] = (* it_transaction).entryDate().toString(Qt::ISODate);
- qA["postdate"] = qS["postdate"] = (* it_transaction).postDate().toString(Qt::ISODate);
+ qA["entrydate"] = qS["entrydate"] = (* it_transaction).entryDate().toString(TQt::ISODate);
+ qA["postdate"] = qS["postdate"] = (* it_transaction).postDate().toString(TQt::ISODate);
qA["commodity"] = qS["commodity"] = (* it_transaction).commodity();
pd = (* it_transaction).postDate();
- qA["month"] = qS["month"] = i18n("Month of %1").arg(TQDate(pd.year(),pd.month(),1).toString(Qt::ISODate));
- qA["week"] = qS["week"] = i18n("Week of %1").arg(pd.addDays(1-pd.dayOfWeek()).toString(Qt::ISODate));
+ qA["month"] = qS["month"] = i18n("Month of %1").arg(TQDate(pd.year(),pd.month(),1).toString(TQt::ISODate));
+ qA["week"] = qS["week"] = i18n("Week of %1").arg(pd.addDays(1-pd.dayOfWeek()).toString(TQt::ISODate));
qA["currency"] = qS["currency"] = "";
@@ -587,7 +587,7 @@ void QueryTable::constructTransactionTable(void)
? i18n("[Empty Payee]")
: file->payee(payee).name().simplifyWhiteSpace();
- qA["reconciledate"] = (*it_split).reconcileDate().toString(Qt::ISODate);
+ qA["reconciledate"] = (*it_split).reconcileDate().toString(TQt::ISODate);
qA["reconcileflag"] = KMyMoneyUtils::reconcileStateToString((*it_split).reconcileFlag(), true );
qA["number"] = (*it_split).number();
@@ -814,8 +814,8 @@ void QueryTable::constructTransactionTable(void)
TQDate startDate, endDate;
report.validDateRange(startDate, endDate);
- TQString strStartDate = startDate.toString(Qt::ISODate);
- TQString strEndDate = endDate.toString(Qt::ISODate);
+ TQString strStartDate = startDate.toString(TQt::ISODate);
+ TQString strEndDate = endDate.toString(TQt::ISODate);
startDate = startDate.addDays(-1);
TQMap<TQString, MyMoneyAccount>::const_iterator it_account, accts_end;
@@ -1208,13 +1208,13 @@ void QueryTable::constructSplitsTable(void)
TQDate pd;
qA["id"] = qS["id"] = (* it_transaction).id();
- qA["entrydate"] = qS["entrydate"] = (* it_transaction).entryDate().toString(Qt::ISODate);
- qA["postdate"] = qS["postdate"] = (* it_transaction).postDate().toString(Qt::ISODate);
+ qA["entrydate"] = qS["entrydate"] = (* it_transaction).entryDate().toString(TQt::ISODate);
+ qA["postdate"] = qS["postdate"] = (* it_transaction).postDate().toString(TQt::ISODate);
qA["commodity"] = qS["commodity"] = (* it_transaction).commodity();
pd = (* it_transaction).postDate();
- qA["month"] = qS["month"] = i18n("Month of %1").arg(TQDate(pd.year(),pd.month(),1).toString(Qt::ISODate));
- qA["week"] = qS["week"] = i18n("Week of %1").arg(pd.addDays(1-pd.dayOfWeek()).toString(Qt::ISODate));
+ qA["month"] = qS["month"] = i18n("Month of %1").arg(TQDate(pd.year(),pd.month(),1).toString(TQt::ISODate));
+ qA["week"] = qS["week"] = i18n("Week of %1").arg(pd.addDays(1-pd.dayOfWeek()).toString(TQt::ISODate));
qA["currency"] = qS["currency"] = "";
@@ -1345,7 +1345,7 @@ void QueryTable::constructSplitsTable(void)
? i18n("[Empty Payee]")
: file->payee(payee).name().simplifyWhiteSpace();
- qA["reconciledate"] = (*it_split).reconcileDate().toString(Qt::ISODate);
+ qA["reconciledate"] = (*it_split).reconcileDate().toString(TQt::ISODate);
qA["reconcileflag"] = KMyMoneyUtils::reconcileStateToString((*it_split).reconcileFlag(), true );
qA["number"] = (*it_split).number();
@@ -1446,8 +1446,8 @@ void QueryTable::constructSplitsTable(void)
TQDate startDate, endDate;
report.validDateRange(startDate, endDate);
- TQString strStartDate = startDate.toString(Qt::ISODate);
- TQString strEndDate = endDate.toString(Qt::ISODate);
+ TQString strStartDate = startDate.toString(TQt::ISODate);
+ TQString strEndDate = endDate.toString(TQt::ISODate);
startDate = startDate.addDays(-1);
TQMap<TQString, MyMoneyAccount>::const_iterator it_account, accts_end;