summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/register.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/widgets/register.cpp')
-rw-r--r--kmymoney2/widgets/register.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmymoney2/widgets/register.cpp b/kmymoney2/widgets/register.cpp
index 93277cf..ef1c956 100644
--- a/kmymoney2/widgets/register.cpp
+++ b/kmymoney2/widgets/register.cpp
@@ -665,7 +665,7 @@ void Register::slotAutoColumnSizing(int section)
size += "0";
continue;
}
- size += TQString("%1").tqarg((columnWidth(i) * 100) / w);
+ size += TQString("%1").arg((columnWidth(i) * 100) / w);
}
qDebug("size = %s", size.data());
m_account.setValue("kmm-ledger-column-width", size);
@@ -1354,7 +1354,7 @@ void Register::adjustColumn(int col)
Q_UNUSED(col)
#else
TQString msg = "%1 adjusting column %2";
- ::timetrace((msg.tqarg("Start").tqarg(col)).ascii());
+ ::timetrace((msg.arg("Start").arg(col)).ascii());
TQHeader *topHeader = horizontalHeader();
TQFontMetrics cellFontMetrics(KMyMoneyGlobalSettings::listCellFont());
@@ -1428,7 +1428,7 @@ void Register::repaintItems(RegisterItem* first, RegisterItem* last)
TQRect tmp = m_lastRepaintRect | r;
if(abs(tmp.height()) > 3000) {
- // make sure that the previously triggered tqrepaint has been done before we
+ // make sure that the previously triggered repaint has been done before we
// trigger the next. Not having this used to cause some trouble when changing
// the focus within a 2000 item ledger from the last to the first item.
TQApplication::eventLoop()->processEvents(TQEventLoop::ExcludeUserInput, 10);
@@ -1616,7 +1616,7 @@ bool Register::setFocusItem(RegisterItem* focusItem)
if(focusItem && focusItem->canHaveFocus()) {
if(m_focusItem) {
m_focusItem->setFocus(false);
- // issue a tqrepaint here only if we move the focus
+ // issue a repaint here only if we move the focus
if(m_focusItem != focusItem)
repaintItems(m_focusItem);
}
@@ -2290,7 +2290,7 @@ void Register::addGroupMarkers(void)
MyMoneyMoney balance(m_account.value("lastStatementBalance"));
if(m_account.accountGroup() == MyMoneyAccount::Liability)
balance = -balance;
- TQString txt = i18n("Online Statement Balance: %1").tqarg(balance.formatMoney(m_account.fraction()));
+ TQString txt = i18n("Online Statement Balance: %1").arg(balance.formatMoney(m_account.fraction()));
new KMyMoneyRegister::StatementGroupMarker(this, KMyMoneyRegister::Deposit, TQDate::fromString(m_account.value("lastImportedTransactionDate"), Qt::ISODate), txt);
}