aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/qml/doc/src/qmlfunctions.qdoc8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/qml/doc/src/qmlfunctions.qdoc b/src/qml/doc/src/qmlfunctions.qdoc
index 7d668a4a11..b4b8fce162 100644
--- a/src/qml/doc/src/qmlfunctions.qdoc
+++ b/src/qml/doc/src/qmlfunctions.qdoc
@@ -414,7 +414,7 @@
*/
/*!
- \fn int qmlProtectModule(const QString &uri, int versionMajor);
+ \fn bool qmlProtectModule(const char* uri, int majVersion);
\relates QQmlEngine
This function protects a module from having types registered into it. This
@@ -434,7 +434,9 @@
#include <QtQml> to use this function.
- Returns true if the module was found and locked, otherwise returns false.
- The module must contain exported types in order to be found.
+ Returns true if the module with \a uri as a \l{Identified Modules}
+ {module identifier} and \a majVersion as a major version number was found
+ and locked, otherwise returns false. The module must contain exported types
+ in order to be found.
*/