NewAccountWizard::HierarchyPage Class Reference

#include <knewaccountwizard_p.h>

Inheritance diagram for NewAccountWizard::HierarchyPage:

KHierarchyPageDecl WizardPage< T > QWidget KMyMoneyWizardPage
Collaboration diagram for NewAccountWizard::HierarchyPage:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 HierarchyPage (Wizard *parent, const char *name=0)
void enterPage (void)
KMyMoneyWizardPagenextPage (void) const
QWidgetinitialFocusWidget (void) const
const MyMoneyAccountparentAccount (void)

Private Member Functions

KMyMoneyAccountTreeItembuildAccountTree (KMyMoneyAccountTreeBase *parent, const MyMoneyAccount &account, bool open=false) const
KMyMoneyAccountTreeItembuildAccountTree (KMyMoneyAccountTreeItem *parent, const MyMoneyAccount &account, bool open=false) const

Private Attributes

MyMoneyAccount m_topAccount
bool bFirstTime


Constructor & Destructor Documentation

NewAccountWizard::HierarchyPage::HierarchyPage ( Wizard parent,
const char *  name = 0 
)


Member Function Documentation

void NewAccountWizard::HierarchyPage::enterPage ( void   )  [virtual]

This method is called by the wizard when the page is entered from the previous page. The default implementation does nothing.

Reimplemented from KMyMoneyWizardPage.

KMyMoneyWizardPage* NewAccountWizard::HierarchyPage::nextPage ( void   )  const [virtual]

This method returns a pointer to the next page that should be shown when the user presses the 'Next' button.

Returns:
pointer to next wizard page

Reimplemented from KMyMoneyWizardPage.

QWidget* NewAccountWizard::HierarchyPage::initialFocusWidget ( void   )  const [inline, virtual]

This method returns a pointer to the widget which should receive the focus when the page is opened.

Returns:
pointer to widget or 0 if none is to be selected The default implementation returns 0

Reimplemented from KMyMoneyWizardPage.

const MyMoneyAccount& NewAccountWizard::HierarchyPage::parentAccount ( void   ) 

KMyMoneyAccountTreeItem* NewAccountWizard::HierarchyPage::buildAccountTree ( KMyMoneyAccountTreeBase parent,
const MyMoneyAccount account,
bool  open = false 
) const [private]

KMyMoneyAccountTreeItem* NewAccountWizard::HierarchyPage::buildAccountTree ( KMyMoneyAccountTreeItem parent,
const MyMoneyAccount account,
bool  open = false 
) const [private]


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Wed Jan 26 13:11:28 2011 for KMyMoney by  doxygen 1.5.6