summaryrefslogtreecommitdiffstats
path: root/src/webengine/api/qquickwebenginescript.cpp
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2016-08-08 15:30:23 +0200
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2016-08-09 08:16:39 +0000
commitbde1c73d92dc353f2d5c4e93425d8e86bf672caa (patch)
tree122213d713a7fccb9801c2352c7d60b848d9ebe0 /src/webengine/api/qquickwebenginescript.cpp
parent3879f01f0ce065a1f9a16e5f898aed5111a62adc (diff)
Doc: Add type name to enumeration values to follow the doc convention
Change-Id: I86eea3a64a38f6ec9984f663499abffa03cd9eb2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/webengine/api/qquickwebenginescript.cpp')
-rw-r--r--src/webengine/api/qquickwebenginescript.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/webengine/api/qquickwebenginescript.cpp b/src/webengine/api/qquickwebenginescript.cpp
index 6d698c3c6..c57c0f21b 100644
--- a/src/webengine/api/qquickwebenginescript.cpp
+++ b/src/webengine/api/qquickwebenginescript.cpp
@@ -156,13 +156,13 @@ ASSERT_ENUMS_MATCH(QQuickWebEngineScript::DocumentCreation, UserScript::Document
The point in the loading process at which the script will be executed.
The default value is \c Deferred.
- \value DocumentCreation
+ \value WebEngineScript.DocumentCreation
The script will be executed as soon as the document is created. This is not suitable for
any DOM operation.
- \value DocumentReady
+ \value WebEngineScript.DocumentReady
The script will run as soon as the DOM is ready. This is equivalent to the
\c DOMContentLoaded event firing in JavaScript.
- \value Deferred
+ \value WebEngineScript.Deferred
The script will run when the page load finishes, or 500 ms after the document is ready,
whichever comes first.
*/
@@ -177,13 +177,13 @@ QQuickWebEngineScript::InjectionPoint QQuickWebEngineScript::injectionPoint() co
The world ID defining which isolated world the script is executed in.
- \value MainWorld
+ \value WebEngineScript.MainWorld
The world used by the page's web contents. It can be useful in order to expose custom
functionality to web contents in certain scenarios.
- \value ApplicationWorld
+ \value WebEngineScript.ApplicationWorld
The default isolated world used for application level functionality implemented in
JavaScript.
- \value UserWorld
+ \value WebEngineScript.UserWorld
The first isolated world to be used by scripts set by users if the application is not
making use of more worlds. As a rule of thumb, if that functionality is exposed to the
application users, each individual script should probably get its own isolated world.