aboutsummaryrefslogtreecommitdiff
path: root/gui/include/clientmodel.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-06-03 21:03:20 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-06-03 21:18:05 +0200
commit2547f1f7e5dd6cb6397152047b67c4b2d4981c6b (patch)
treeba58edb6c2e7fae7a807086c35e30764953e498a /gui/include/clientmodel.h
parent9d9a4e874db82e63a2b876c9f490be7247856282 (diff)
create new address from main gui, move address book model to client model
Diffstat (limited to 'gui/include/clientmodel.h')
-rw-r--r--gui/include/clientmodel.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gui/include/clientmodel.h b/gui/include/clientmodel.h
index 01c0d70fc7..d68b34fe96 100644
--- a/gui/include/clientmodel.h
+++ b/gui/include/clientmodel.h
@@ -2,7 +2,9 @@
#define CLIENTMODEL_H
#include <QObject>
+
class OptionsModel;
+class AddressTableModel;
class ClientModel : public QObject
{
@@ -22,6 +24,7 @@ public:
};
OptionsModel *getOptionsModel();
+ AddressTableModel *getAddressTableModel();
qint64 getBalance();
QString getAddress();
@@ -34,7 +37,8 @@ public:
/* Send coins */
StatusCode sendCoins(const QString &payTo, qint64 payAmount);
private:
- OptionsModel *options_model;
+ OptionsModel *optionsModel;
+ AddressTableModel *addressTableModel;
signals:
void balanceChanged(qint64 balance);