MCPcopy Create free account
hub / github.com/ElementsProject/elements / columnCount

Method columnCount

src/qt/peertablemodel.cpp:54–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54int PeerTableModel::columnCount(const QModelIndex& parent) const
55{
56 if (parent.isValid()) {
57 return 0;
58 }
59 return columns.length();
60}
61
62QVariant PeerTableModel::data(const QModelIndex& index, int role) const
63{

Callers

nothing calls this directly

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected