QDoc: Make QmlTypeNode::inherits() const-correct
The inherits() method walks the QML base type chain through
qmlBaseNode() and compares pointers. It doesn't modify the
object or its parameter. The missing const qualifiers prevent
callers from using it on const QmlTypeNode instances, which
blocks const-correct API design in downstream components.
Task-number: QTBUG-144552
Change-Id: Ife3b8406a2e0799ead5e964eb0054faf3d3f8f75
Reviewed-by: David Boddie <david.boddie@qt.io>
| commit | 24a53911638c8014067f6a6c45184eb815d296ea |
| parent | 583eb2e22595cb47b3101fa5556fae43a6373094 |
| author | Paul Wicking <paul.wicking@qt.io> |
| committer | Paul Wicking <paul.wicking@qt.io> |
| commit time | Wed, 11 Mar 2026 15:00:29 +0100 |