mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
qt, refactor: Make BitcoinUnits::Unit a scoped enum
This commit is contained in:
committed by
William Casarin
parent
75832fdc37
commit
aa23960fdf
@@ -6,6 +6,7 @@
|
||||
#define BITCOIN_QT_WALLETVIEW_H
|
||||
|
||||
#include <consensus/amount.h>
|
||||
#include <qt/bitcoinunits.h>
|
||||
|
||||
#include <QStackedWidget>
|
||||
|
||||
@@ -115,7 +116,7 @@ Q_SIGNALS:
|
||||
/** Encryption status of wallet changed */
|
||||
void encryptionStatusChanged();
|
||||
/** Notify that a new transaction appeared */
|
||||
void incomingTransaction(const QString& date, int unit, const CAmount& amount, const QString& type, const QString& address, const QString& label, const QString& walletName);
|
||||
void incomingTransaction(const QString& date, BitcoinUnit unit, const CAmount& amount, const QString& type, const QString& address, const QString& label, const QString& walletName);
|
||||
/** Notify that the out of sync warning icon has been pressed */
|
||||
void outOfSyncWarningClicked();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user