Fabcoin Core  0.16.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 FABCOIN_QT_TRANSACTIONDESC_H
6 #define FABCOIN_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 // FABCOIN_QT_TRANSACTIONDESC_H
Provide a human-readable extended HTML description of a transaction.
UI model for a transaction.
A transaction with a bunch of additional info that only the owner cares about.
Definition: wallet.h:287
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
Definition: wallet.h:672
static QString FormatTxStatus(const CWalletTx &wtx)
static QString toHTML(CWallet *wallet, CWalletTx &wtx, TransactionRecord *rec, int unit)