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

Method childCount

launcher/ui/instanceview/AccessibleInstanceView.cpp:382–388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380}
381
382int AccessibleInstanceView::childCount() const
383{
384 if (!view()->model()) {
385 return 0;
386 }
387 return (view()->model()->rowCount()) * (view()->model()->columnCount());
388}
389
390int AccessibleInstanceView::indexOfChild(const QAccessibleInterface *iface) const
391{

Callers

nothing calls this directly

Calls 3

modelMethod · 0.80
rowCountMethod · 0.45
columnCountMethod · 0.45

Tested by

no test coverage detected