diff options
Diffstat (limited to 'kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp')
-rw-r--r-- | kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp b/kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp index 3a42120..7fe0a70 100644 --- a/kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp +++ b/kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp @@ -202,13 +202,13 @@ MyMoneyTransaction NewAccountWizard::Wizard::payoutTransaction(void) return t; } -const MyMoneyAccount& NewAccountWizard::Wizard::tqparentAccount(void) +const MyMoneyAccount& NewAccountWizard::Wizard::parentAccount(void) { return m_accountTypePage->allowsParentAccount() - ? m_hierarchyPage->tqparentAccount() + ? m_hierarchyPage->parentAccount() : ( m_accountTypePage->accountType() == MyMoneyAccount::Loan - ? m_generalLoanInfoPage->tqparentAccount() - : m_accountTypePage->tqparentAccount() ); + ? m_generalLoanInfoPage->parentAccount() + : m_accountTypePage->parentAccount() ); } MyMoneyAccount NewAccountWizard::Wizard::brokerageAccount(void) const @@ -604,7 +604,7 @@ void AccountTypePage::setAccount(const MyMoneyAccount& acc) m_accountName->setText(acc.name()); } -const MyMoneyAccount& AccountTypePage::tqparentAccount(void) +const MyMoneyAccount& AccountTypePage::parentAccount(void) { switch(accountType()) { case MyMoneyAccount::CreditCard: @@ -828,7 +828,7 @@ bool GeneralLoanInfoPage::isComplete(void) const return rc; } -const MyMoneyAccount& GeneralLoanInfoPage::tqparentAccount(void) +const MyMoneyAccount& GeneralLoanInfoPage::parentAccount(void) { return ( m_loanDirection->currentItem() == 0 ) ? MyMoneyFile::instance()->liability() @@ -1483,7 +1483,7 @@ void HierarchyPage::enterPage(void) // - if the type has changed // - - clear the list // - - populate the account list (also occurs first time we come here) - MyMoneyAccount topAccount = m_wizard->m_accountTypePage->tqparentAccount(); + MyMoneyAccount topAccount = m_wizard->m_accountTypePage->parentAccount(); // If the list was not populated with this top account we populate it now if ( &m_topAccount == NULL || m_topAccount.id() != topAccount.id()) @@ -1558,7 +1558,7 @@ KMyMoneyWizardPage* HierarchyPage::nextPage(void) const return m_wizard->m_accountSummaryPage; } -const MyMoneyAccount& HierarchyPage::tqparentAccount(void) +const MyMoneyAccount& HierarchyPage::parentAccount(void) { // TODO // Instead of returning the Parent Account we can simply @@ -1599,7 +1599,7 @@ void AccountSummaryPage::enterPage(void) p = new KListViewItem(group, i18n("Name"), acc.name()); if(!acc.isLoan()) p = new KListViewItem(group, p, i18n("Subaccount of"), - m_wizard->tqparentAccount().name()); + m_wizard->parentAccount().name()); if(acc.accountType() == MyMoneyAccount::AssetLoan) p = new KListViewItem(group, p, i18n("Type"), i18n("Loan")); else |