summaryrefslogtreecommitdiffstats
path: root/kmymoney2/reports/reportaccount.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/reports/reportaccount.cpp')
-rw-r--r--kmymoney2/reports/reportaccount.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/kmymoney2/reports/reportaccount.cpp b/kmymoney2/reports/reportaccount.cpp
index cdc8097..477580d 100644
--- a/kmymoney2/reports/reportaccount.cpp
+++ b/kmymoney2/reports/reportaccount.cpp
@@ -56,7 +56,7 @@ ReportAccount::ReportAccount( const TQString& accountid ):
MyMoneyAccount( MyMoneyFile::instance()->account(accountid) )
{
DEBUG_ENTER(__PRETTY_FUNCTION__);
- DEBUG_OUTPUT(TQString("Account %1").tqarg(accountid));
+ DEBUG_OUTPUT(TQString("Account %1").arg(accountid));
calculateAccountHierarchy();
}
@@ -64,7 +64,7 @@ ReportAccount::ReportAccount( const MyMoneyAccount& account ):
MyMoneyAccount( account )
{
DEBUG_ENTER(__PRETTY_FUNCTION__);
- DEBUG_OUTPUT(TQString("Account %1").tqarg(account.id()));
+ DEBUG_OUTPUT(TQString("Account %1").arg(account.id()));
calculateAccountHierarchy();
}
@@ -112,17 +112,17 @@ MyMoneyMoney ReportAccount::deepCurrencyPrice( const TQDate& date ) const
result = price.rate(undersecurity.tradingCurrency());
DEBUG_OUTPUT(TQString("Converting under %1 to deep %2, price on %3 is %4")
- .tqarg(undersecurity.name())
- .tqarg(file->security(undersecurity.tradingCurrency()).name())
- .tqarg(date.toString())
- .tqarg(result.toDouble()));
+ .arg(undersecurity.name())
+ .arg(file->security(undersecurity.tradingCurrency()).name())
+ .arg(date.toString())
+ .arg(result.toDouble()));
}
else
{
DEBUG_OUTPUT(TQString("No price to convert under %1 to deep %2 on %3")
- .tqarg(undersecurity.name())
- .tqarg(file->security(undersecurity.tradingCurrency()).name())
- .tqarg(date.toString()));
+ .arg(undersecurity.name())
+ .arg(file->security(undersecurity.tradingCurrency()).name())
+ .arg(date.toString()));
}
}
@@ -181,17 +181,17 @@ MyMoneyMoney ReportAccount::foreignCurrencyPrice( const TQString foreignCurrency
{
result = price.rate(tradingCurrency);
DEBUG_OUTPUT(TQString("Converting deep %1 to currency %2, price on %3 is %4")
- .tqarg(file->currency(currency().id()).name())
- .tqarg(file->currency(foreignCurrency).name())
- .tqarg(date.toString())
- .tqarg(result.toDouble()));
+ .arg(file->currency(currency().id()).name())
+ .arg(file->currency(foreignCurrency).name())
+ .arg(date.toString())
+ .arg(result.toDouble()));
}
else
{
DEBUG_OUTPUT(TQString("No price to convert deep %1 to currency %2 on %3")
- .tqarg(file->currency(currency().id()).name())
- .tqarg(file->currency(foreignCurrency).name())
- .tqarg(date.toString()));
+ .arg(file->currency(currency().id()).name())
+ .arg(file->currency(foreignCurrency).name())
+ .arg(date.toString()));
}
}
return result;
@@ -265,7 +265,7 @@ bool ReportAccount::operator<(const ReportAccount& second) const
if ( !haveresult && ( it_second != second.m_nameHierarchy.end() ) )
result = true;
-// DEBUG_OUTPUT(TQString("%1 < %2 is %3").tqarg(debugName(),second.debugName()).tqarg(result));
+// DEBUG_OUTPUT(TQString("%1 < %2 is %3").arg(debugName(),second.debugName()).arg(result));
return result;
}