MCPcopy Create free account
hub / github.com/collin80/SavvyCAN / removeChild

Method removeChild

qcustomplot.cpp:1221–1229  ·  view source on GitHub ↗

! \internal Removes the \a layerable from the list of this layer. This function does not change the \a mLayer member of \a layerable. (Use QCPLayerable::setLayer to change the layer of an object, not this function.) \see addChild */

Source from the content-addressed store, hash-verified

1219 \see addChild
1220*/
1221void QCPLayer::removeChild(QCPLayerable *layerable)
1222{
1223 if (mChildren.removeOne(layerable))
1224 {
1225 if (!mPaintBuffer.isNull())
1226 mPaintBuffer.data()->setInvalidated();
1227 } else
1228 qDebug() << Q_FUNC_INFO << "layerable is not child of this layer" << reinterpret_cast<quintptr>(layerable);
1229}
1230
1231
1232////////////////////////////////////////////////////////////////////////////////////////////////////

Callers 3

~QCPLayerableMethod · 0.80
moveToLayerMethod · 0.80
setMarginGroupMethod · 0.80

Calls 2

setInvalidatedMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected