MCPcopy Create free account
hub / github.com/KDAB/GammaRay / rowCount

Method rowCount

plugins/statemachineviewer/transitionmodel.cpp:129–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129int TransitionModel::rowCount(const QModelIndex &parent) const
130{
131 Q_D(const TransitionModel);
132 if (!d->m_state)
133 return 0;
134 return d->children(d->mapModelIndex2QObject(parent)).size();
135}
136
137QModelIndex TransitionModel::index(int row, int column, const QModelIndex &parent) const
138{

Callers

nothing calls this directly

Calls 3

mapModelIndex2QObjectMethod · 0.80
sizeMethod · 0.45
childrenMethod · 0.45

Tested by

no test coverage detected