diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:37:08 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-06 03:55:16 +0200 |
commit | 1de308fd3b1aacec7769d867a6eeaa98af69c61c (patch) | |
tree | 0a6433c4fe72a4e70d7686c84dcf9848ff8b7284 /kmymoney2/dialogs/kcurrencycalculator.cpp | |
parent | e0d4ece30d7c0095bfdd9a81364b66fe18a0f2cb (diff) | |
download | kmymoney-1de308fd3b1aacec7769d867a6eeaa98af69c61c.tar.gz kmymoney-1de308fd3b1aacec7769d867a6eeaa98af69c61c.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit c70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6)
Diffstat (limited to 'kmymoney2/dialogs/kcurrencycalculator.cpp')
-rw-r--r-- | kmymoney2/dialogs/kcurrencycalculator.cpp | 20 |
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); |