aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletmodel.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-07-02 13:45:59 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-07-02 13:45:59 +0200
commitebff5c40a234f38429965c391da020bbf8312b1b (patch)
treec37239c253c74dc4c2f73838e2d6ae9edad31ed7 /src/qt/walletmodel.h
parent05da981f05d7b2e1551345a042d3379e9244f09b (diff)
Send: dialog redesign (automatically look up label for entered address)
Diffstat (limited to 'src/qt/walletmodel.h')
-rw-r--r--src/qt/walletmodel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/walletmodel.h b/src/qt/walletmodel.h
index 5b46dfb69d..9c7d16fce6 100644
--- a/src/qt/walletmodel.h
+++ b/src/qt/walletmodel.h
@@ -33,6 +33,10 @@ public:
qint64 getBalance() const;
int getNumTransactions() const;
+ /* Look up label for address in address book, if not found return empty string.
+ */
+ QString labelForAddress(const QString &address) const;
+
/* Send coins */
StatusCode sendCoins(const QString &payTo, qint64 payAmount, const QString &addToAddressBookAs=QString());
private: