Fabcoin Core  0.16.2
P2P Digital Currency
tokentransactiondesc.h
Go to the documentation of this file.
1 #ifndef FABCOIN_QT_TOKENTRANSACTIONDESC_H
2 #define FABCOIN_QT_TOKENTRANSACTIONDESC_H
3 
4 #include <QObject>
5 #include <QString>
6 
8 
9 class CWallet;
10 class CTokenTx;
11 
14 class TokenTransactionDesc: public QObject
15 {
16  Q_OBJECT
17 
18 public:
19  static QString toHTML(CWallet *wallet, CTokenTx &wtx, TokenTransactionRecord *rec);
20 
21 private:
23 
24  static QString FormatTxStatus(CWallet *wallet, const CTokenTx& wtx);
25 };
26 
27 #endif // FABCOIN_QT_TOKENTRANSACTIONDESC_H
Provide a human-readable extended HTML description of a token transaction.
UI model for a token transaction.
static QString FormatTxStatus(CWallet *wallet, const CTokenTx &wtx)
static QString toHTML(CWallet *wallet, CTokenTx &wtx, TokenTransactionRecord *rec)
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
Definition: wallet.h:672