Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
WalletModelTransaction Class Reference

Data model for a walletmodel transaction. More...

#include <walletmodeltransaction.h>

+ Collaboration diagram for WalletModelTransaction:

Public Member Functions

 WalletModelTransaction (const QList< SendCoinsRecipient > &recipients)
 
 ~WalletModelTransaction ()
 
QList< SendCoinsRecipientgetRecipients ()
 
CWalletTxgetTransaction ()
 
void setTransactionFee (qint64 newFee)
 
qint64 getTransactionFee ()
 
qint64 getTotalTransactionAmount ()
 
void newPossibleKeyChange (CWallet *wallet)
 
CReserveKeygetPossibleKeyChange ()
 

Private Attributes

const QList< SendCoinsRecipientrecipients
 
CWalletTxwalletTransaction
 
CReserveKeykeyChange
 
qint64 fee
 

Detailed Description

Data model for a walletmodel transaction.

Definition at line 19 of file walletmodeltransaction.h.

Constructor & Destructor Documentation

WalletModelTransaction::WalletModelTransaction ( const QList< SendCoinsRecipient > &  recipients)
explicit

Definition at line 9 of file walletmodeltransaction.cpp.

References walletTransaction.

WalletModelTransaction::~WalletModelTransaction ( )

Definition at line 18 of file walletmodeltransaction.cpp.

References keyChange, and walletTransaction.

Member Function Documentation

CReserveKey * WalletModelTransaction::getPossibleKeyChange ( )

Definition at line 59 of file walletmodeltransaction.cpp.

References keyChange.

Referenced by WalletModel::prepareTransaction(), and WalletModel::sendCoins().

+ Here is the caller graph for this function:

QList< SendCoinsRecipient > WalletModelTransaction::getRecipients ( )

Definition at line 24 of file walletmodeltransaction.cpp.

References recipients.

Referenced by WalletModel::prepareTransaction(), and WalletModel::sendCoins().

+ Here is the caller graph for this function:

qint64 WalletModelTransaction::getTotalTransactionAmount ( )

Definition at line 44 of file walletmodeltransaction.cpp.

References SendCoinsRecipient::amount, and recipients.

Referenced by SendCoinsDialog::on_sendButton_clicked().

+ Here is the caller graph for this function:

CWalletTx * WalletModelTransaction::getTransaction ( )

Definition at line 29 of file walletmodeltransaction.cpp.

References walletTransaction.

Referenced by WalletModel::prepareTransaction(), and WalletModel::sendCoins().

+ Here is the caller graph for this function:

qint64 WalletModelTransaction::getTransactionFee ( )

Definition at line 34 of file walletmodeltransaction.cpp.

References fee.

Referenced by SendCoinsDialog::on_sendButton_clicked().

+ Here is the caller graph for this function:

void WalletModelTransaction::newPossibleKeyChange ( CWallet wallet)

Definition at line 54 of file walletmodeltransaction.cpp.

References keyChange.

Referenced by WalletModel::prepareTransaction().

+ Here is the caller graph for this function:

void WalletModelTransaction::setTransactionFee ( qint64  newFee)

Definition at line 39 of file walletmodeltransaction.cpp.

References fee.

Referenced by WalletModel::prepareTransaction().

+ Here is the caller graph for this function:

Member Data Documentation

qint64 WalletModelTransaction::fee
private

Definition at line 41 of file walletmodeltransaction.h.

Referenced by getTransactionFee(), and setTransactionFee().

CReserveKey* WalletModelTransaction::keyChange
private
const QList<SendCoinsRecipient> WalletModelTransaction::recipients
private

Definition at line 38 of file walletmodeltransaction.h.

Referenced by getRecipients(), and getTotalTransactionAmount().

CWalletTx* WalletModelTransaction::walletTransaction
private

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