diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:37:08 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:37:08 -0600 |
commit | c70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6 (patch) | |
tree | 9a07481bb1245dac332e7db600c556e1db79ecf3 /kmymoney2/reports/reportaccount.cpp | |
parent | 28723595822268551d3e050c3a83bf6ca5e17dd5 (diff) | |
download | kmymoney-c70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6.tar.gz kmymoney-c70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kmymoney2/reports/reportaccount.cpp')
-rw-r--r-- | kmymoney2/reports/reportaccount.cpp | 34 |
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; } |