MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / items

Method items

launcher/ui/instanceview/VisualGroup.cpp:259–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259QList<QModelIndex> VisualGroup::items() const
260{
261 QList<QModelIndex> indices;
262 for (int i = 0; i < view->model()->rowCount(); ++i) {
263 const QModelIndex index = view->model()->index(i, 0);
264 if (index.data(InstanceViewRoles::GroupRole).toString() == text) {
265 indices.append(index);
266 }
267 }
268 return indices;
269}

Callers

nothing calls this directly

Calls 6

modelMethod · 0.80
appendMethod · 0.80
rowCountMethod · 0.45
indexMethod · 0.45
toStringMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected