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

Method insertChildBefore

src/backend/core/AbstractAspect.cpp:551–553  ·  view source on GitHub ↗

* \brief Insert the given Aspect at a specific position in my list of children. */

Source from the content-addressed store, hash-verified

549 * \brief Insert the given Aspect at a specific position in my list of children.
550 */
551void AbstractAspect::insertChildBefore(AbstractAspect* child, AbstractAspect* before) {
552 insertChild(child, d->indexOfChild(before));
553}
554
555void AbstractAspect::insertChild(AbstractAspect* child, int index) {
556 Q_CHECK_PTR(child);

Callers 1

importToMethod · 0.80

Calls 1

indexOfChildMethod · 0.45

Tested by

no test coverage detected