Anoncoin  0.9.4
P2P Digital Currency
walletmodeltransaction.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2013 The Bitcoin developers
2 // Copyright (c) 2013-2014 The Anoncoin Core developers
3 // Distributed under the MIT/X11 software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 
6 #ifndef WALLETMODELTRANSACTION_H
7 #define WALLETMODELTRANSACTION_H
8 
9 #include "walletmodel.h"
10 
11 #include <QObject>
12 
13 class SendCoinsRecipient;
14 
15 class CReserveKey;
16 class CWallet;
17 class CWalletTx;
18 
21 {
22 public:
23  explicit WalletModelTransaction(const QList<SendCoinsRecipient> &recipients);
25 
26  QList<SendCoinsRecipient> getRecipients();
27 
29 
30  void setTransactionFee(qint64 newFee);
31  qint64 getTransactionFee();
32 
34 
35  void newPossibleKeyChange(CWallet *wallet);
37 
38 private:
39  const QList<SendCoinsRecipient> recipients;
42  qint64 fee;
43 };
44 
45 #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:464
A key allocated from the key pool.
Definition: wallet.h:415
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
Definition: wallet.h:101
Data model for a walletmodel transaction.
const QList< SendCoinsRecipient > recipients