X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fqt%2Ftransactiondesc.h;h=2523f9aa6927e3a88b509d0da37731c9c2e479fc;hb=HEAD;hp=257b2cbb8922794d42467dc6309b811e014f6819;hpb=b0849613bf02b61774b23804c8feed54aa88474a;p=novacoin.git diff --git a/src/qt/transactiondesc.h b/src/qt/transactiondesc.h index 257b2cb..2523f9a 100644 --- a/src/qt/transactiondesc.h +++ b/src/qt/transactiondesc.h @@ -8,16 +8,16 @@ class CWallet; class CWalletTx; +/** Provide a human-readable extended HTML description of a transaction. + */ class TransactionDesc: public QObject { + Q_OBJECT public: - // Provide human-readable extended HTML description of a transaction static QString toHTML(CWallet *wallet, CWalletTx &wtx); private: TransactionDesc() {} - static QString HtmlEscape(const QString& str, bool fMultiLine=false); - static QString HtmlEscape(const std::string &str, bool fMultiLine=false); static QString FormatTxStatus(const CWalletTx& wtx); };