aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletmodel.h
diff options
context:
space:
mode:
authorJames O'Beirne <[email protected]>2018-03-29 10:59:57 -0400
committerJames O'Beirne <[email protected]>2018-04-25 13:13:24 -0400
commit5109fc4a9cb2cbd73c33197fb9129e1413ab051b (patch)
tree0836355a6740398437a4ffab523ffa78886fdde0 /src/qt/walletmodel.h
parent[tests] [qt] Introduce qt/test/util with a generalized ConfirmMessage (diff)
downloaddiscoin-5109fc4a9cb2cbd73c33197fb9129e1413ab051b.tar.xz
discoin-5109fc4a9cb2cbd73c33197fb9129e1413ab051b.zip
[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 e5ed5b4e8..9173fcae5 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;