6 #ifndef RAVEN_QT_BANTABLEMODEL_H 7 #define RAVEN_QT_BANTABLEMODEL_H 11 #include <QAbstractTableModel> 12 #include <QStringList> 26 column(nColumn), order(fOrder) {}
45 void startAutoRefresh();
46 void stopAutoRefresh();
55 int rowCount(
const QModelIndex &parent)
const;
56 int columnCount(
const QModelIndex &parent)
const;
57 QVariant data(
const QModelIndex &index,
int role)
const;
58 QVariant headerData(
int section, Qt::Orientation orientation,
int role)
const;
59 QModelIndex index(
int row,
int column,
const QModelIndex &parent)
const;
60 Qt::ItemFlags
flags(
const QModelIndex &index)
const;
61 void sort(
int column, Qt::SortOrder order);
71 std::unique_ptr<BanTablePriv>
priv;
74 #endif // RAVEN_QT_BANTABLEMODEL_H
ClientModel * clientModel
std::unique_ptr< BanTablePriv > priv
Model for Raven network client.
BannedNodeLessThan(int nColumn, Qt::SortOrder fOrder)
Qt model providing information about connected peers, similar to the "getpeerinfo" RPC call...