summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qkeysequence.cpp
diff options
context:
space:
mode:
authorAxel Spoerl <[email protected]>2025-08-21 11:45:41 +0200
committerAxel Spoerl <[email protected]>2025-08-22 10:55:15 +0200
commitac47344ed735462b9aa562789f632ea474746d82 (patch)
treefb50f631fed2fdddf6d8eaefdb2851d52e95e156 /src/gui/kernel/qkeysequence.cpp
parent35dbd1c3f4beec55812c633c1c1ccedc4a71335a (diff)
Implement QObject::isQmlObjectType()HEADdev
QObject::isQuickItemType() indicates whether a QObject inherits QQuickItem. However, QML code can add plain QObjects, which are not QQuickItems. It could not be established whether QObject was created by the QML engine without including private headers. Implement QObject::isQmlObjectType(), returning true a QObject was created by the QML engine, or ownership has been set via QJSEngine API. Add documentation. An autotest has to be added in qtdeclarative. Task-number: QTBUG-139351 Change-Id: I783ab3384118d02a0a7d4aaf6b375d3ec0a9969b Reviewed-by: Ulf Hermann <[email protected]> Reviewed-by: Fabian Kosmale <[email protected]> Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'src/gui/kernel/qkeysequence.cpp')
0 files changed, 0 insertions, 0 deletions