Invest::Sell Class Reference

#include <investactivities.h>

Inheritance diagram for Invest::Sell:

Collaboration diagram for Invest::Sell:

Collaboration graph

List of all members.

Public Member Functions

 Sell (InvestTransactionEditor *editor)
virtual ~Sell ()
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::Sell::Sell ( InvestTransactionEditor editor  )  [inline]

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

Member Function Documentation

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

Implements Invest::Activity.

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

Implements Invest::Activity.

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

Implements Invest::Activity.

virtual bool Invest::Sell::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:11 2011 for KMyMoney by  doxygen 1.5.6