Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin/bitcoin
/ columnCount
Method
columnCount
src/qt/peertablemodel.cpp:50–56 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
48
}
49
50
int PeerTableModel::columnCount(const QModelIndex& parent) const
51
{
52
if (parent.isValid()) {
53
return 0;
54
}
55
return columns.length();
56
}
57
58
QVariant PeerTableModel::data(const QModelIndex& index, int role) const
59
{
Callers
nothing calls this directly
Calls
1
isValid
Method · 0.45
Tested by
no test coverage detected