summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kcurrencycalculator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/kcurrencycalculator.cpp')
-rw-r--r--kmymoney2/dialogs/kcurrencycalculator.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kmymoney2/dialogs/kcurrencycalculator.cpp b/kmymoney2/dialogs/kcurrencycalculator.cpp
index 9fe4404..0ecd16e 100644
--- a/kmymoney2/dialogs/kcurrencycalculator.cpp
+++ b/kmymoney2/dialogs/kcurrencycalculator.cpp
@@ -247,22 +247,22 @@ void KCurrencyCalculator::updateExample(const MyMoneyMoney& price)
{
TQString msg;
if(price.isZero()) {
- msg = TQString("1 %1 = ? %2").tqarg(m_fromCurrency.tradingSymbol())
- .tqarg(m_toCurrency.tradingSymbol());
+ msg = TQString("1 %1 = ? %2").arg(m_fromCurrency.tradingSymbol())
+ .arg(m_toCurrency.tradingSymbol());
if(m_fromCurrency.isCurrency()) {
msg += TQString("\n");
- msg += TQString("1 %1 = ? %2").tqarg(m_toCurrency.tradingSymbol())
- .tqarg(m_fromCurrency.tradingSymbol());
+ msg += TQString("1 %1 = ? %2").arg(m_toCurrency.tradingSymbol())
+ .arg(m_fromCurrency.tradingSymbol());
}
} else {
- msg = TQString("1 %1 = %2 %3").tqarg(m_fromCurrency.tradingSymbol())
- .tqarg(price.formatMoney("", KMyMoneyGlobalSettings::pricePrecision()))
- .tqarg(m_toCurrency.tradingSymbol());
+ msg = TQString("1 %1 = %2 %3").arg(m_fromCurrency.tradingSymbol())
+ .arg(price.formatMoney("", KMyMoneyGlobalSettings::pricePrecision()))
+ .arg(m_toCurrency.tradingSymbol());
if(m_fromCurrency.isCurrency()) {
msg += TQString("\n");
- msg += TQString("1 %1 = %2 %3").tqarg(m_toCurrency.tradingSymbol())
- .tqarg((MyMoneyMoney(1,1)/price).formatMoney("", KMyMoneyGlobalSettings::pricePrecision()))
- .tqarg(m_fromCurrency.tradingSymbol());
+ msg += TQString("1 %1 = %2 %3").arg(m_toCurrency.tradingSymbol())
+ .arg((MyMoneyMoney(1,1)/price).formatMoney("", KMyMoneyGlobalSettings::pricePrecision()))
+ .arg(m_fromCurrency.tradingSymbol());
}
}
m_conversionExample->setText(msg);