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

Method addChildX

3rdparty/qcustomplot/qcustomplot.cpp:12098–12104  ·  view source on GitHub ↗

! \internal Adds \a pos to the childX 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

12096 Note that this function does not change the parent setting in \a pos.
12097*/
12098void QCPItemAnchor::addChildX(QCPItemPosition *pos)
12099{
12100 if (!mChildrenX.contains(pos))
12101 mChildrenX.insert(pos);
12102 else
12103 qDebug() << Q_FUNC_INFO << "provided pos is child already" << reinterpret_cast<quintptr>(pos);
12104}
12105
12106/*! \internal
12107

Callers 1

setParentAnchorXMethod · 0.80

Calls 2

insertMethod · 0.80
containsMethod · 0.45

Tested by

no test coverage detected