summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kaccountsview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/views/kaccountsview.cpp')
-rw-r--r--kmymoney2/views/kaccountsview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmymoney2/views/kaccountsview.cpp b/kmymoney2/views/kaccountsview.cpp
index 029e6ab..f0da377 100644
--- a/kmymoney2/views/kaccountsview.cpp
+++ b/kmymoney2/views/kaccountsview.cpp
@@ -394,7 +394,7 @@ void KAccountsView::loadListView(void)
if(item) {
if(item->id() == selectedItemId)
m_accountTree->setSelected(item, true);
- if(isOpen.tqfind(item->id()) != isOpen.end())
+ if(isOpen.find(item->id()) != isOpen.end())
item->setOpen(true);
}
++it_lvi;
@@ -540,13 +540,13 @@ void KAccountsView::slotUpdateNetWorth(void)
// if(!(file->totalValueValid(assetAccount.id()) & file->totalValueValid(liabilityAccount.id())))
// s += "~ ";
- s.tqreplace(TQString(" "), TQString(" "));
+ s.replace(TQString(" "), TQString(" "));
if(netWorth.isNegative()) {
s += "<b><font color=\"red\">";
}
const MyMoneySecurity& sec = MyMoneyFile::instance()->baseCurrency();
TQString v(netWorth.formatMoney(sec));
- s += v.tqreplace(TQString(" "), TQString("&nbsp;"));
+ s += v.replace(TQString(" "), TQString("&nbsp;"));
if(netWorth.isNegative()) {
s += "</font></b>";
}