MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / rowCount

Method rowCount

launcher/ui/pages/modplatform/ModModel.h:23–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 ~ListModel() override;
22
23 inline auto rowCount(const QModelIndex& parent) const -> int override { return modpacks.size(); };
24 inline auto columnCount(const QModelIndex& parent) const -> int override { return 1; };
25 inline auto flags(const QModelIndex& index) const -> Qt::ItemFlags override { return QAbstractListModel::flags(index); };
26

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected