summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kgloballedgerview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/views/kgloballedgerview.cpp')
-rw-r--r--kmymoney2/views/kgloballedgerview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmymoney2/views/kgloballedgerview.cpp b/kmymoney2/views/kgloballedgerview.cpp
index 65cfc7b..7bda222 100644
--- a/kmymoney2/views/kgloballedgerview.cpp
+++ b/kmymoney2/views/kgloballedgerview.cpp
@@ -103,7 +103,7 @@ bool MousePressFilter::isChildOf( TQWidget* child, TQWidget *tqparent )
// if it is a child of our own
if(dynamic_cast<KPassivePopup*>(child))
return true;
- child = child->tqparentWidget();
+ child = child->parentWidget();
}
return false;
}
@@ -946,7 +946,7 @@ bool KGlobalLedgerView::slotSelectAccount(const TQString& id, const TQString& tr
// if a stock account is selected, we show the
// the corresponding tqparent (investment) account
if(m_account.isInvest()) {
- m_account = MyMoneyFile::instance()->account(m_account.tqparentAccountId());
+ m_account = MyMoneyFile::instance()->account(m_account.parentAccountId());
}
m_newAccountLoaded = true;
slotLoadView();
@@ -1210,7 +1210,7 @@ bool KGlobalLedgerView::focusNextPrevChild(bool next)
w = tqApp->tqfocusWidget();
while(w && m_tabOrderWidgets.tqfind(w) == -1) {
// qDebug("'%s' not in list, use tqparent", w->className());
- w = w->tqparentWidget();
+ w = w->parentWidget();
}
// if(w) qDebug("tab order is at '%s'", w->className());
currentWidget = m_tabOrderWidgets.current();