Qt model providing information about banned peers, similar to the "getpeerinfo" RPC call.
More...
#include <bantablemodel.h>
|
| 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 () |
| bool | unban (const QModelIndex &index) |
| void | refresh () |
Qt model providing information about banned peers, similar to the "getpeerinfo" RPC call.
Used by the rpc console UI.
Definition at line 43 of file bantablemodel.h.
◆ ColumnIndex
◆ BanTableModel()
◆ ~BanTableModel()
| BanTableModel::~BanTableModel |
( |
| ) |
|
|
default |
◆ columnCount()
| int BanTableModel::columnCount |
( |
const QModelIndex & | parent | ) |
const |
|
override |
◆ data()
| QVariant BanTableModel::data |
( |
const QModelIndex & | index, |
|
|
int | role ) const |
|
override |
◆ flags()
| Qt::ItemFlags BanTableModel::flags |
( |
const QModelIndex & | index | ) |
const |
|
override |
◆ headerData()
| QVariant BanTableModel::headerData |
( |
int | section, |
|
|
Qt::Orientation | orientation, |
|
|
int | role ) const |
|
override |
◆ index()
| QModelIndex BanTableModel::index |
( |
int | row, |
|
|
int | column, |
|
|
const QModelIndex & | parent ) const |
|
override |
◆ refresh
| void BanTableModel::refresh |
( |
| ) |
|
|
slot |
◆ rowCount()
| int BanTableModel::rowCount |
( |
const QModelIndex & | parent | ) |
const |
|
override |
◆ shouldShow()
| bool BanTableModel::shouldShow |
( |
| ) |
|
◆ sort()
| void BanTableModel::sort |
( |
int | column, |
|
|
Qt::SortOrder | order ) |
|
override |
◆ startAutoRefresh()
| void BanTableModel::startAutoRefresh |
( |
| ) |
|
◆ stopAutoRefresh()
| void BanTableModel::stopAutoRefresh |
( |
| ) |
|
◆ unban()
| bool BanTableModel::unban |
( |
const QModelIndex & | index | ) |
|
◆ columns
| QStringList BanTableModel::columns |
|
private |
◆ m_node
◆ priv
The documentation for this class was generated from the following files: