KNewInvestmentWizard Class Reference

#include <knewinvestmentwizard.h>

Inheritance diagram for KNewInvestmentWizard:

KNewInvestmentWizardDecl KWizard
Collaboration diagram for KNewInvestmentWizard:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 KNewInvestmentWizard (QWidget *parent=0, const char *name=0)
 KNewInvestmentWizard (const MyMoneyAccount &acc, QWidget *parent=0, const char *name=0)
 KNewInvestmentWizard (const MyMoneySecurity &sec, QWidget *parent=0, const char *name=0)
 ~KNewInvestmentWizard ()
void setName (const QString &name)
void createObjects (const QString &parentId)
const MyMoneyAccountaccount (void) const

Protected Slots

void next (void)
void slotCheckPage (void)
void slotCheckPage (const QString &)
void slotCheckForExistingSymbol (const QString &)
void slotSourceChanged (bool)
void slotHelp (void)

Private Member Functions

void init1 (void)
void init2 (void)

Private Attributes

MyMoneyAccount m_account
MyMoneySecurity m_security
bool m_createAccount


Detailed Description

This class contains the implementation of the new investment wizard.

Author:
Thomas Baumgart

Constructor & Destructor Documentation

KNewInvestmentWizard::KNewInvestmentWizard ( QWidget parent = 0,
const char *  name = 0 
)

Use this constructor for the creation of a new investment

KNewInvestmentWizard::KNewInvestmentWizard ( const MyMoneyAccount acc,
QWidget parent = 0,
const char *  name = 0 
)

Use this constructor for the modification of an existing investment

KNewInvestmentWizard::KNewInvestmentWizard ( const MyMoneySecurity sec,
QWidget parent = 0,
const char *  name = 0 
)

Use this constructor for the modification of an existing security

KNewInvestmentWizard::~KNewInvestmentWizard (  ) 


Member Function Documentation

void KNewInvestmentWizard::setName ( const QString &  name  ) 

This method sets the name in the name widget.

void KNewInvestmentWizard::createObjects ( const QString &  parentId  ) 

Depending on the constructor used, this method either creates all necessary objects for the investment or updates them.

Parameters:
parentId id of parent account for the investment

const MyMoneyAccount& KNewInvestmentWizard::account ( void   )  const [inline]

void KNewInvestmentWizard::next ( void   )  [protected, slot]

void KNewInvestmentWizard::slotCheckPage ( void   )  [protected, slot]

void KNewInvestmentWizard::slotCheckPage ( const QString &   )  [protected, slot]

void KNewInvestmentWizard::slotCheckForExistingSymbol ( const QString &   )  [protected, slot]

void KNewInvestmentWizard::slotSourceChanged ( bool   )  [protected, slot]

void KNewInvestmentWizard::slotHelp ( void   )  [protected, slot]

void KNewInvestmentWizard::init1 ( void   )  [private]

void KNewInvestmentWizard::init2 ( void   )  [private]


Member Data Documentation


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

Generated on Wed Jan 26 13:08:23 2011 for KMyMoney by  doxygen 1.5.6