MCPcopy Create free account
hub / github.com/Neverous/efibooteditor / rowCount

Method rowCount

src/bootentrylistmodel.cpp:25–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25auto BootEntryListModel::rowCount(const QModelIndex &parent) const -> int
26{
27 if(parent.isValid())
28 return 0;
29
30 return static_cast<int>(entries.count());
31}
32
33auto BootEntryListModel::data(const QModelIndex &index, int role) const -> QVariant
34{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected