aboutsummaryrefslogtreecommitdiff
path: root/gui/include/clientmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/include/clientmodel.h')
-rw-r--r--gui/include/clientmodel.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/include/clientmodel.h b/gui/include/clientmodel.h
index 828c80f8db..44f1c0ab64 100644
--- a/gui/include/clientmodel.h
+++ b/gui/include/clientmodel.h
@@ -2,6 +2,7 @@
#define CLIENTMODEL_H
#include <QObject>
+class OptionsModel;
class ClientModel : public QObject
{
@@ -20,6 +21,8 @@ public:
MiscError
};
+ OptionsModel *getOptionsModel();
+
qint64 getBalance();
QString getAddress();
int getNumConnections();
@@ -29,6 +32,8 @@ public:
qint64 getTransactionFee();
StatusCode sendCoins(const QString &payTo, qint64 payAmount);
+private:
+ OptionsModel *options_model;
signals:
void balanceChanged(qint64 balance);