MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / addChildY

Method addChildY

3rdparty/qcustomplot/qcustomplot.cpp:12126–12132  ·  view source on GitHub ↗

! \internal Adds \a pos to the childY list of this anchor, which keeps track of which children use this anchor as parent anchor for the respective coordinate. This is necessary to notify the children prior to destruction of the anchor. Note that this function does not change the parent setting in \a pos. */

Source from the content-addressed store, hash-verified

12124 Note that this function does not change the parent setting in \a pos.
12125*/
12126void QCPItemAnchor::addChildY(QCPItemPosition *pos)
12127{
12128 if (!mChildrenY.contains(pos))
12129 mChildrenY.insert(pos);
12130 else
12131 qDebug() << Q_FUNC_INFO << "provided pos is child already" << reinterpret_cast<quintptr>(pos);
12132}
12133
12134/*! \internal
12135

Callers 1

setParentAnchorYMethod · 0.80

Calls 2

insertMethod · 0.80
containsMethod · 0.45

Tested by

no test coverage detected