diff options
Diffstat (limited to 'src/qt/bantablemodel.h')
-rw-r--r-- | src/qt/bantablemodel.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/qt/bantablemodel.h b/src/qt/bantablemodel.h index 636ec1f3b1..4c171e6fbe 100644 --- a/src/qt/bantablemodel.h +++ b/src/qt/bantablemodel.h @@ -15,6 +15,10 @@ class ClientModel; class BanTablePriv; +namespace interface { + class Node; +} + struct CCombinedBan { CSubNet subnet; CBanEntry banEntry; @@ -41,7 +45,7 @@ class BanTableModel : public QAbstractTableModel Q_OBJECT public: - explicit BanTableModel(ClientModel *parent = 0); + explicit BanTableModel(interface::Node& node, ClientModel *parent = 0); ~BanTableModel(); void startAutoRefresh(); void stopAutoRefresh(); @@ -67,6 +71,7 @@ public Q_SLOTS: void refresh(); private: + interface::Node& m_node; ClientModel *clientModel; QStringList columns; std::unique_ptr<BanTablePriv> priv; |