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

Method columnCount

src/qt/bantablemodel.cpp:105–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105int BanTableModel::columnCount(const QModelIndex &parent) const
106{
107 if (parent.isValid()) {
108 return 0;
109 }
110 return columns.length();
111}
112
113QVariant BanTableModel::data(const QModelIndex &index, int role) const
114{

Callers

nothing calls this directly

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected