MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / headerData

Method headerData

src/qt/bantablemodel.cpp:133–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133QVariant BanTableModel::headerData(int section, Qt::Orientation orientation, int role) const
134{
135 if(orientation == Qt::Horizontal)
136 {
137 if(role == Qt::DisplayRole && section < columns.size())
138 {
139 return columns[section];
140 }
141 }
142 return QVariant();
143}
144
145Qt::ItemFlags BanTableModel::flags(const QModelIndex &index) const
146{

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected