Invest::Buy Class Reference

#include <investactivities.h>

Inheritance diagram for Invest::Buy:

Collaboration diagram for Invest::Buy:

Collaboration graph

List of all members.

Public Member Functions

 Buy (InvestTransactionEditor *editor)
virtual ~Buy ()
type (void) const
virtual void showWidgets (void) const
virtual bool isComplete (QString &reason) const
virtual bool createTransaction (MyMoneyTransaction &t, MyMoneySplit &s0, MyMoneySplit &assetAccountSplit, QValueList< MyMoneySplit > &feeSplits, QValueList< MyMoneySplit > &m_feeSplits, QValueList< MyMoneySplit > &interestSplits, QValueList< MyMoneySplit > &m_interestSplits, MyMoneySecurity &security, MyMoneySecurity &currency)

Constructor & Destructor Documentation

Invest::Buy::Buy ( InvestTransactionEditor editor  )  [inline]

virtual Invest::Buy::~Buy (  )  [inline, virtual]

Member Function Documentation

virtual MyMoneySplit::investTransactionTypeE Invest::Buy::type ( void   )  const [inline, virtual]

Implements Invest::Activity.

virtual void Invest::Buy::showWidgets ( void   )  const [virtual]

Implements Invest::Activity.

virtual bool Invest::Buy::isComplete ( QString &  reason  )  const [virtual]

Implements Invest::Activity.

virtual bool Invest::Buy::createTransaction ( MyMoneyTransaction t,
MyMoneySplit s0,
MyMoneySplit assetAccountSplit,
QValueList< MyMoneySplit > &  feeSplits,
QValueList< MyMoneySplit > &  m_feeSplits,
QValueList< MyMoneySplit > &  interestSplits,
QValueList< MyMoneySplit > &  m_interestSplits,
MyMoneySecurity security,
MyMoneySecurity currency 
) [virtual]

Create a transaction t based on the split s0 and the data contained in the widgets. In multiselection mode, assetAccountSplit, feeSplits, interestSplits, security and currency are taken from the original transaction and should be used as well.

true if creation was successful, false otherwise

Implements Invest::Activity.

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

Generated on Wed Jan 26 13:10:07 2011 for KMyMoney by  doxygen 1.5.6