diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2018-10-26 14:46:48 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2018-11-07 08:48:37 +0000 |
commit | 900786226404c915f3b2eb2840a1f3eb391db69b (patch) | |
tree | be455483f5f7ced303200fde8404fe805fef4daf /src/qml/qml | |
parent | b1f07986c30978ed6636457e8d3f4a65c5db38a3 (diff) |
Doc: improve qmlRegisterInterface() documentation
Change-Id: I5e8b63a287c65baf1eb53957cc5a9585176db284
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/qml')
-rw-r--r-- | src/qml/qml/qqmlmetatype.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlmetatype.cpp b/src/qml/qml/qqmlmetatype.cpp index ba8d5831ad..11806a89a0 100644 --- a/src/qml/qml/qqmlmetatype.cpp +++ b/src/qml/qml/qqmlmetatype.cpp @@ -2244,6 +2244,9 @@ QQmlMetaType::TypeCategory QQmlMetaType::typeCategory(int userType) return Unknown; } +/*! + See qmlRegisterInterface() for information about when this will return true. +*/ bool QQmlMetaType::isInterface(int userType) { QMutexLocker lock(metaTypeDataLock()); |