aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletmodel.h
diff options
context:
space:
mode:
authorJames O'Beirne <james.obeirne@gmail.com>2018-03-29 10:59:57 -0400
committerJames O'Beirne <james.obeirne@gmail.com>2018-04-25 13:13:24 -0400
commit5109fc4a9cb2cbd73c33197fb9129e1413ab051b (patch)
tree0836355a6740398437a4ffab523ffa78886fdde0 /src/qt/walletmodel.h
parent9c01be1b85f8ad11a8a0826a4a2bcdc2668a5c1f (diff)
downloadbitcoin-5109fc4a9cb2cbd73c33197fb9129e1413ab051b.tar.xz
[tests] [qt] Add tests for address book manipulation via EditAddressDialog
Also modifies corresponding QT code to allow for use within test cases.
Diffstat (limited to 'src/qt/walletmodel.h')
-rw-r--r--src/qt/walletmodel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/walletmodel.h b/src/qt/walletmodel.h
index e5ed5b4e82..9173fcae52 100644
--- a/src/qt/walletmodel.h
+++ b/src/qt/walletmodel.h
@@ -204,6 +204,8 @@ public:
QString getWalletName() const;
bool isMultiwallet();
+
+ AddressTableModel* getAddressTableModel() const { return addressTableModel; }
private:
std::unique_ptr<interfaces::Wallet> m_wallet;
std::unique_ptr<interfaces::Handler> m_handler_status_changed;