5 #ifndef BITCOIN_QT_BANTABLEMODEL_H 6 #define BITCOIN_QT_BANTABLEMODEL_H 10 #include <QAbstractTableModel> 11 #include <QStringList> 29 : column(nColumn), order(fOrder) {}
47 void startAutoRefresh();
48 void stopAutoRefresh();
54 int rowCount(
const QModelIndex &parent)
const override;
55 int columnCount(
const QModelIndex &parent)
const override;
56 QVariant data(
const QModelIndex &index,
int role)
const override;
57 QVariant headerData(
int section, Qt::Orientation orientation,
58 int role)
const override;
59 QModelIndex index(
int row,
int column,
60 const QModelIndex &parent)
const override;
61 Qt::ItemFlags
flags(
const QModelIndex &index)
const override;
62 void sort(
int column, Qt::SortOrder order)
override;
72 std::unique_ptr<BanTablePriv>
priv;
75 #endif // BITCOIN_QT_BANTABLEMODEL_H
std::unique_ptr< BanTablePriv > priv
interfaces::Node & m_node
BannedNodeLessThan(int nColumn, Qt::SortOrder fOrder)
Qt model providing information about connected peers, similar to the "getpeerinfo" RPC call...
Top-level interface for a bitcoin node (bitcoind process).