summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/transactioneditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/transactioneditor.cpp')
-rw-r--r--kmymoney2/dialogs/transactioneditor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmymoney2/dialogs/transactioneditor.cpp b/kmymoney2/dialogs/transactioneditor.cpp
index bd73eac..ec01613 100644
--- a/kmymoney2/dialogs/transactioneditor.cpp
+++ b/kmymoney2/dialogs/transactioneditor.cpp
@@ -160,7 +160,7 @@ bool TransactionEditor::eventFilter(TQObject* o, TQEvent* e)
// the object is one of our edit widgets, then ....
if(o->isWidgetType()
&& (e->type() == TQEvent::KeyPress)
- && m_editWidgets.values().tqcontains(dynamic_cast<TQWidget*>(o))) {
+ && m_editWidgets.values().contains(dynamic_cast<TQWidget*>(o))) {
TQKeyEvent* k = dynamic_cast<TQKeyEvent*>(e);
if((k->state() & TQt::KeyButtonMask) == 0) {
bool isFinal = false;
@@ -1241,7 +1241,7 @@ void StdTransactionEditor::autoFill(const TQString& payeeId)
TQMap<TQString, struct uniqTransaction>::iterator it_u;
do {
TQString ukey = TQString("%1-%2").tqarg(key).tqarg(cnt);
- it_u = uniqList.tqfind(ukey);
+ it_u = uniqList.find(ukey);
if(it_u == uniqList.end()) {
uniqList[ukey].t = &((*it_t).first);
uniqList[ukey].cnt = 1;
@@ -2109,7 +2109,7 @@ bool StdTransactionEditor::createTransaction(MyMoneyTransaction& t, const MyMone
return false;
} else {
MyMoneyAccount cat = MyMoneyFile::instance()->account(s1.accountId());
- if(m_priceInfo.tqfind(cat.currencyId()) != m_priceInfo.end()) {
+ if(m_priceInfo.find(cat.currencyId()) != m_priceInfo.end()) {
shares = (s1.value() * m_priceInfo[cat.currencyId()]).reduce().convert(cat.fraction());
}
else