Bitcoin ABC 0.26.3
P2P Digital Currency
|
Qt model providing information about connected peers, similar to the "getpeerinfo" RPC call. More...
#include <bantablemodel.h>
Public Types | |
enum | ColumnIndex { Address = 0 , Bantime = 1 } |
Public Member Functions | |
BanTableModel (interfaces::Node &node, QObject *parent) | |
~BanTableModel () | |
void | startAutoRefresh () |
void | stopAutoRefresh () |
Methods overridden from QAbstractTableModel | |
interfaces::Node & | m_node |
QStringList | columns |
std::unique_ptr< BanTablePriv > | priv |
int | rowCount (const QModelIndex &parent) const override |
int | columnCount (const QModelIndex &parent) const override |
QVariant | data (const QModelIndex &index, int role) const override |
QVariant | headerData (int section, Qt::Orientation orientation, int role) const override |
QModelIndex | index (int row, int column, const QModelIndex &parent) const override |
Qt::ItemFlags | flags (const QModelIndex &index) const override |
void | sort (int column, Qt::SortOrder order) override |
bool | shouldShow () |
void | refresh () |
Qt model providing information about connected peers, similar to the "getpeerinfo" RPC call.
Used by the rpc console UI.
Definition at line 42 of file bantablemodel.h.
Enumerator | |
---|---|
Address | |
Bantime |
Definition at line 51 of file bantablemodel.h.
|
explicit |
BanTableModel::~BanTableModel | ( | ) |
Definition at line 90 of file bantablemodel.cpp.
|
override |
|
override |
Definition at line 104 of file bantablemodel.cpp.
|
override |
|
override |
Definition at line 144 of file bantablemodel.cpp.
|
slot |
Definition at line 155 of file bantablemodel.cpp.
|
override |
bool BanTableModel::shouldShow | ( | ) |
void BanTableModel::startAutoRefresh | ( | ) |
void BanTableModel::stopAutoRefresh | ( | ) |
|
private |
Definition at line 73 of file bantablemodel.h.
|
private |
Definition at line 72 of file bantablemodel.h.
|
private |
Definition at line 74 of file bantablemodel.h.