Changeset View
Changeset View
Standalone View
Standalone View
src/qt/clientmodel.h
Show All 35 Lines | public: | ||||
enum NumConnections { | enum NumConnections { | ||||
CONNECTIONS_NONE = 0, | CONNECTIONS_NONE = 0, | ||||
CONNECTIONS_IN = (1U << 0), | CONNECTIONS_IN = (1U << 0), | ||||
CONNECTIONS_OUT = (1U << 1), | CONNECTIONS_OUT = (1U << 1), | ||||
CONNECTIONS_ALL = (CONNECTIONS_IN | CONNECTIONS_OUT), | CONNECTIONS_ALL = (CONNECTIONS_IN | CONNECTIONS_OUT), | ||||
}; | }; | ||||
explicit ClientModel(interfaces::Node &node, OptionsModel *optionsModel, | explicit ClientModel(interfaces::Node &node, OptionsModel *optionsModel, | ||||
QObject *parent = 0); | QObject *parent = nullptr); | ||||
~ClientModel(); | ~ClientModel(); | ||||
interfaces::Node &node() const { return m_node; } | interfaces::Node &node() const { return m_node; } | ||||
OptionsModel *getOptionsModel(); | OptionsModel *getOptionsModel(); | ||||
PeerTableModel *getPeerTableModel(); | PeerTableModel *getPeerTableModel(); | ||||
BanTableModel *getBanTableModel(); | BanTableModel *getBanTableModel(); | ||||
//! Return number of connections, default is in- and outbound (total) | //! Return number of connections, default is in- and outbound (total) | ||||
▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines |