! \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. */
| 12124 | Note that this function does not change the parent setting in \a pos. |
| 12125 | */ |
| 12126 | void 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 |
no test coverage detected