Qt model providing information about connected peers, similar to the "getpeerinfo" RPC call.
More...
#include <peertablemodel.h>
Qt model providing information about connected peers, similar to the "getpeerinfo" RPC call.
Used by the rpc console UI.
Definition at line 44 of file peertablemodel.h.
◆ ColumnIndex
Enumerator |
---|
NetNodeId | |
Address | |
Ping | |
Sent | |
Received | |
Subversion | |
Definition at line 56 of file peertablemodel.h.
◆ PeerTableModel()
PeerTableModel::PeerTableModel |
( |
ClientModel * |
parent = 0 | ) |
|
|
explicit |
◆ ~PeerTableModel()
PeerTableModel::~PeerTableModel |
( |
| ) |
|
◆ columnCount()
int PeerTableModel::columnCount |
( |
const QModelIndex & |
parent | ) |
const |
◆ data()
QVariant PeerTableModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
◆ flags()
Qt::ItemFlags PeerTableModel::flags |
( |
const QModelIndex & |
index | ) |
const |
◆ getNodeStats()
◆ getRowByNodeId()
int PeerTableModel::getRowByNodeId |
( |
NodeId |
nodeid | ) |
|
◆ headerData()
QVariant PeerTableModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role |
|
) |
| const |
◆ index()
QModelIndex PeerTableModel::index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent |
|
) |
| const |
◆ refresh
void PeerTableModel::refresh |
( |
| ) |
|
|
slot |
◆ rowCount()
int PeerTableModel::rowCount |
( |
const QModelIndex & |
parent | ) |
const |
◆ sort()
void PeerTableModel::sort |
( |
int |
column, |
|
|
Qt::SortOrder |
order |
|
) |
| |
◆ startAutoRefresh()
void PeerTableModel::startAutoRefresh |
( |
| ) |
|
◆ stopAutoRefresh()
void PeerTableModel::stopAutoRefresh |
( |
| ) |
|
◆ clientModel
◆ columns
QStringList PeerTableModel::columns |
|
private |
◆ priv
◆ timer
QTimer* PeerTableModel::timer |
|
private |
The documentation for this class was generated from the following files: