aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2018-10-26 14:46:48 +0200
committerMitch Curtis <mitch.curtis@qt.io>2018-11-07 08:48:37 +0000
commit900786226404c915f3b2eb2840a1f3eb391db69b (patch)
treebe455483f5f7ced303200fde8404fe805fef4daf /src/qml/qml
parentb1f07986c30978ed6636457e8d3f4a65c5db38a3 (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.cpp3
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());