diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2018-01-16 20:11:40 +0000 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2018-01-16 20:11:40 +0000 |
commit | 63ac8907ce6ab095b37858d6e96946b59ce1c13f (patch) | |
tree | 7bbab747e86f20f95eae5e98d0b79da86b979bbf /src/qt/addresstablemodel.h | |
parent | 0910cbe4ef31eb95fd76c7c2f820419fe64a3150 (diff) |
[qt] receive tab: bech32 address opt-in checkbox
When launched with -adresstype=legacy the checkbox will be hidden.
Diffstat (limited to 'src/qt/addresstablemodel.h')
-rw-r--r-- | src/qt/addresstablemodel.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qt/addresstablemodel.h b/src/qt/addresstablemodel.h index d04b95ebae..11439e25d5 100644 --- a/src/qt/addresstablemodel.h +++ b/src/qt/addresstablemodel.h @@ -8,6 +8,8 @@ #include <QAbstractTableModel> #include <QStringList> +enum OutputType : int; + class AddressTablePriv; class WalletModel; @@ -61,7 +63,7 @@ public: /* Add an address to the model. Returns the added address on success, and an empty string otherwise. */ - QString addRow(const QString &type, const QString &label, const QString &address); + QString addRow(const QString &type, const QString &label, const QString &address, const OutputType address_type); /* Look up label for address in address book, if not found return empty string. */ |