summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kmymoneyview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/views/kmymoneyview.cpp')
-rw-r--r--kmymoney2/views/kmymoneyview.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmymoney2/views/kmymoneyview.cpp b/kmymoney2/views/kmymoneyview.cpp
index bf1b5cc..8d7aa4d 100644
--- a/kmymoney2/views/kmymoneyview.cpp
+++ b/kmymoney2/views/kmymoneyview.cpp
@@ -155,7 +155,7 @@ KMyMoneyView::KMyMoneyView(TQWidget *tqparent, const char *name)
connect(m_institutionsView, TQT_SIGNAL(openContextMenu(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotShowInstitutionContextMenu(const MyMoneyObject&)));
connect(m_institutionsView, TQT_SIGNAL(openObject(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotInstitutionEdit(const MyMoneyObject&)));
connect(m_institutionsView, TQT_SIGNAL(openObject(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotAccountOpen(const MyMoneyObject&)));
- connect(m_institutionsView, TQT_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyInstitution&)), kmymoney2, TQT_SLOT(slotRetqparentAccount(const MyMoneyAccount&, const MyMoneyInstitution&)));
+ connect(m_institutionsView, TQT_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyInstitution&)), kmymoney2, TQT_SLOT(slotReparentAccount(const MyMoneyAccount&, const MyMoneyInstitution&)));
connect(this, TQT_SIGNAL(reconciliationStarts(const MyMoneyAccount&, const TQDate&, const MyMoneyMoney&)), m_institutionsView, TQT_SLOT(slotReconcileAccount(const MyMoneyAccount&, const TQDate&, const MyMoneyMoney&)));
// Page 2
@@ -168,7 +168,7 @@ KMyMoneyView::KMyMoneyView(TQWidget *tqparent, const char *name)
connect(m_accountsView, TQT_SIGNAL(selectObject(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotSelectInvestment(const MyMoneyObject&)));
connect(m_accountsView, TQT_SIGNAL(openContextMenu(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotShowAccountContextMenu(const MyMoneyObject&)));
connect(m_accountsView, TQT_SIGNAL(openObject(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotAccountOpen(const MyMoneyObject&)));
- connect(m_accountsView, TQT_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyAccount&)), kmymoney2, TQT_SLOT(slotRetqparentAccount(const MyMoneyAccount&, const MyMoneyAccount&)));
+ connect(m_accountsView, TQT_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyAccount&)), kmymoney2, TQT_SLOT(slotReparentAccount(const MyMoneyAccount&, const MyMoneyAccount&)));
connect(this, TQT_SIGNAL(kmmFilePlugin(unsigned int)), m_accountsView, TQT_SLOT(slotUpdateIconPos(unsigned int)));
connect(this, TQT_SIGNAL(reconciliationStarts(const MyMoneyAccount&, const TQDate&, const MyMoneyMoney&)), m_accountsView, TQT_SLOT(slotReconcileAccount(const MyMoneyAccount&, const TQDate&, const MyMoneyMoney&)));
@@ -193,7 +193,7 @@ KMyMoneyView::KMyMoneyView(TQWidget *tqparent, const char *name)
connect(m_categoriesView, TQT_SIGNAL(selectObject(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotSelectInstitution(const MyMoneyObject&)));
connect(m_categoriesView, TQT_SIGNAL(openContextMenu(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotShowAccountContextMenu(const MyMoneyObject&)));
connect(m_categoriesView, TQT_SIGNAL(openObject(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotAccountOpen(const MyMoneyObject&)));
- connect(m_categoriesView, TQT_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyAccount&)), kmymoney2, TQT_SLOT(slotRetqparentAccount(const MyMoneyAccount&, const MyMoneyAccount&)));
+ connect(m_categoriesView, TQT_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyAccount&)), kmymoney2, TQT_SLOT(slotReparentAccount(const MyMoneyAccount&, const MyMoneyAccount&)));
// Page 5
m_payeesViewFrame = addVBoxPage( i18n("Payees"), i18n("Payees"),
@@ -460,7 +460,7 @@ void KMyMoneyView::slotLedgerSelected(const TQString& _accId, const TQString& tr
case MyMoneyAccount::Stock:
// if a stock account is selected, we show the
// the corresponding tqparent (investment) account
- acc = MyMoneyFile::instance()->account(acc.tqparentAccountId());
+ acc = MyMoneyFile::instance()->account(acc.parentAccountId());
accId = acc.id();
// tricky fall through here
@@ -1788,7 +1788,7 @@ void KMyMoneyView::fixFile_0(void)
// this account. Need to move it to asset() first, because otherwise
// MyMoneyFile::reparent would act as NOP.
if(equityListEmpty && (*it_a).accountType() == MyMoneyAccount::Equity) {
- if((*it_a).tqparentAccountId() == equity.id()) {
+ if((*it_a).parentAccountId() == equity.id()) {
MyMoneyAccount acc = *it_a;
// tricky, force tqparent account to be empty so that we really
// can re-tqparent it