aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.h
diff options
context:
space:
mode:
authorAshley Holman <dscvlt@gmail.com>2014-05-23 12:09:59 -0500
committerAshley Holman <dscvlt@gmail.com>2014-06-03 17:37:34 +0930
commit65f78a111ff52c2212cc0a423662e7a41d1206dd (patch)
treee3f986034d79e48a13986e1a144a0f7b2a879a7f /src/qt/clientmodel.h
parent9d97e83bf677ce595c6b2dc5d6805c2fcb1bc05b (diff)
downloadbitcoin-65f78a111ff52c2212cc0a423662e7a41d1206dd.tar.xz
Qt: Add GUI view of peer information. #4133
Diffstat (limited to 'src/qt/clientmodel.h')
-rw-r--r--src/qt/clientmodel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qt/clientmodel.h b/src/qt/clientmodel.h
index cab853d92d..c18d30178b 100644
--- a/src/qt/clientmodel.h
+++ b/src/qt/clientmodel.h
@@ -9,6 +9,7 @@
class AddressTableModel;
class OptionsModel;
+class PeerTableModel;
class TransactionTableModel;
class CWallet;
@@ -42,6 +43,7 @@ public:
~ClientModel();
OptionsModel *getOptionsModel();
+ PeerTableModel *getPeerTableModel();
//! Return number of connections, default is in- and outbound (total)
int getNumConnections(unsigned int flags = CONNECTIONS_ALL) const;
@@ -71,6 +73,7 @@ public:
private:
OptionsModel *optionsModel;
+ PeerTableModel *peerTableModel;
int cachedNumBlocks;
bool cachedReindexing;