 |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
Go to the documentation of this file.
5 #ifndef BITCOIN_QT_PEERTABLEMODEL_H
6 #define BITCOIN_QT_PEERTABLEMODEL_H
11 #include <QAbstractTableModel>
12 #include <QStringList>
65 int rowCount(
const QModelIndex& parent)
const;
67 QVariant
data(
const QModelIndex&
index,
int role)
const;
68 QVariant
headerData(
int section, Qt::Orientation orientation,
int role)
const;
69 QModelIndex
index(
int row,
int column,
const QModelIndex& parent)
const;
70 Qt::ItemFlags
flags(
const QModelIndex&
index)
const;
71 void sort(
int column, Qt::SortOrder order);
84 #endif // BITCOIN_QT_PEERTABLEMODEL_H
NodeLessThan(int nColumn, Qt::SortOrder fOrder)
QVariant data(const QModelIndex &index, int role) const
bool operator()(const CNodeCombinedStats &left, const CNodeCombinedStats &right) const
Qt::ItemFlags flags(const QModelIndex &index) const
int columnCount(const QModelIndex &parent) const
bool fNodeStateStatsAvailable
ClientModel * clientModel
Qt model providing information about connected peers, similar to the "getpeerinfo" RPC call.
const CNodeCombinedStats * getNodeStats(int idx)
QModelIndex index(int row, int column, const QModelIndex &parent) const
Model for PRCY network client.
PeerTableModel(ClientModel *parent=0)
int getRowByNodeId(NodeId nodeid)
void sort(int column, Qt::SortOrder order)
QVariant headerData(int section, Qt::Orientation orientation, int role) const
int rowCount(const QModelIndex &parent) const
CNodeStateStats nodeStateStats