summaryrefslogtreecommitdiffstats
path: root/kmymoney2/reports/reportaccount.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:17 -0600
commit1f9d00360b9018301630ce062d7dda0c6583edfb (patch)
tree1013b917f9a8ad41ed928d62250e9bfe1ed91414 /kmymoney2/reports/reportaccount.cpp
parent252fce5a2a5384702fbcc1c9987284d7bd2e6943 (diff)
downloadkmymoney-1f9d00360b9018301630ce062d7dda0c6583edfb.tar.gz
kmymoney-1f9d00360b9018301630ce062d7dda0c6583edfb.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 252fce5a2a5384702fbcc1c9987284d7bd2e6943.
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 477580d..cdc8097 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").arg(accountid));
+ DEBUG_OUTPUT(TQString("Account %1").tqarg(accountid));
calculateAccountHierarchy();
}
@@ -64,7 +64,7 @@ ReportAccount::ReportAccount( const MyMoneyAccount& account ):
MyMoneyAccount( account )
{
DEBUG_ENTER(__PRETTY_FUNCTION__);
- DEBUG_OUTPUT(TQString("Account %1").arg(account.id()));
+ DEBUG_OUTPUT(TQString("Account %1").tqarg(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")
- .arg(undersecurity.name())
- .arg(file->security(undersecurity.tradingCurrency()).name())
- .arg(date.toString())
- .arg(result.toDouble()));
+ .tqarg(undersecurity.name())
+ .tqarg(file->security(undersecurity.tradingCurrency()).name())
+ .tqarg(date.toString())
+ .tqarg(result.toDouble()));
}
else
{
DEBUG_OUTPUT(TQString("No price to convert under %1 to deep %2 on %3")
- .arg(undersecurity.name())
- .arg(file->security(undersecurity.tradingCurrency()).name())
- .arg(date.toString()));
+ .tqarg(undersecurity.name())
+ .tqarg(file->security(undersecurity.tradingCurrency()).name())
+ .tqarg(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")
- .arg(file->currency(currency().id()).name())
- .arg(file->currency(foreignCurrency).name())
- .arg(date.toString())
- .arg(result.toDouble()));
+ .tqarg(file->currency(currency().id()).name())
+ .tqarg(file->currency(foreignCurrency).name())
+ .tqarg(date.toString())
+ .tqarg(result.toDouble()));
}
else
{
DEBUG_OUTPUT(TQString("No price to convert deep %1 to currency %2 on %3")
- .arg(file->currency(currency().id()).name())
- .arg(file->currency(foreignCurrency).name())
- .arg(date.toString()));
+ .tqarg(file->currency(currency().id()).name())
+ .tqarg(file->currency(foreignCurrency).name())
+ .tqarg(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").arg(debugName(),second.debugName()).arg(result));
+// DEBUG_OUTPUT(TQString("%1 < %2 is %3").tqarg(debugName(),second.debugName()).tqarg(result));
return result;
}