MCPcopy Create free account
hub / github.com/KDE/labplot / indexOfChild

Method indexOfChild

src/backend/core/AbstractAspect.cpp:1240–1246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1238}
1239
1240int AbstractAspectPrivate::indexOfChild(const AbstractAspect* child) const {
1241 for (int i = 0; i < m_children.size(); ++i)
1242 if (m_children.at(i) == child)
1243 return i;
1244
1245 return -1;
1246}

Callers 6

insertChildBeforeMethod · 0.45
insertChildBeforeFastMethod · 0.45
removeChildMethod · 0.45
AspectChildMoveCmdMethod · 0.45
moveMethod · 0.45
redoMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected