Dogecoin Core  1.14.2
P2P Digital Currency
transactiondesc.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2014 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef BITCOIN_QT_TRANSACTIONDESC_H
6 #define BITCOIN_QT_TRANSACTIONDESC_H
7 
8 #include <QObject>
9 #include <QString>
10 
11 class TransactionRecord;
12 
13 class CWallet;
14 class CWalletTx;
15 
18 class TransactionDesc: public QObject
19 {
20  Q_OBJECT
21 
22 public:
23  static QString toHTML(CWallet *wallet, CWalletTx &wtx, TransactionRecord *rec, int unit);
24 
25 private:
27 
28  static QString FormatTxStatus(const CWalletTx& wtx);
29 };
30 
31 #endif // BITCOIN_QT_TRANSACTIONDESC_H
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances,...
Definition: wallet.h:493
A transaction with a bunch of additional info that only the owner cares about.
Definition: wallet.h:177
Provide a human-readable extended HTML description of a transaction.
static QString toHTML(CWallet *wallet, CWalletTx &wtx, TransactionRecord *rec, int unit)
static QString FormatTxStatus(const CWalletTx &wtx)
UI model for a transaction.