Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
walletmodeltransaction.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2013 The Bitcoin developers
2 // Distributed under the MIT/X11 software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef WALLETMODELTRANSACTION_H
6 #define WALLETMODELTRANSACTION_H
7 
8 #include "walletmodel.h"
9 
10 #include <QObject>
11 
12 class SendCoinsRecipient;
13 
14 class CReserveKey;
15 class CWallet;
16 class CWalletTx;
17 
20 {
21 public:
22  explicit WalletModelTransaction(const QList<SendCoinsRecipient> &recipients);
24 
25  QList<SendCoinsRecipient> getRecipients();
26 
28 
29  void setTransactionFee(qint64 newFee);
30  qint64 getTransactionFee();
31 
33 
34  void newPossibleKeyChange(CWallet *wallet);
36 
37 private:
38  const QList<SendCoinsRecipient> recipients;
41  qint64 fee;
42 };
43 
44 #endif // WALLETMODELTRANSACTION_H
void newPossibleKeyChange(CWallet *wallet)
void setTransactionFee(qint64 newFee)
WalletModelTransaction(const QList< SendCoinsRecipient > &recipients)
QList< SendCoinsRecipient > getRecipients()
A transaction with a bunch of additional info that only the owner cares about.
Definition: wallet.h:451
A key allocated from the key pool.
Definition: wallet.h:402
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
Definition: wallet.h:100
Data model for a walletmodel transaction.
const QList< SendCoinsRecipient > recipients