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

Method headerData

src/qt/peertablemodel.cpp:188–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188QVariant PeerTableModel::headerData(int section, Qt::Orientation orientation, int role) const
189{
190 if(orientation == Qt::Horizontal)
191 {
192 if(role == Qt::DisplayRole && section < columns.size())
193 {
194 return columns[section];
195 }
196 }
197 return QVariant();
198}
199
200Qt::ItemFlags PeerTableModel::flags(const QModelIndex &index) const
201{

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected