summaryrefslogtreecommitdiffstats
path: root/src/script
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2011-03-11 13:42:58 (GMT)
committerKent Hansen <kent.hansen@nokia.com>2011-03-11 13:47:44 (GMT)
commitfefc004a71b6744e3ad7d2fe0e1d45824beb3c3a (patch)
tree314a5d32dcfd60b0f2da417e551a03d00bb20004 /src/script
parent0d67f69f6b49841cdef5cd48176598e4bbb349d6 (diff)
downloadQt-fefc004a71b6744e3ad7d2fe0e1d45824beb3c3a.zip
Qt-fefc004a71b6744e3ad7d2fe0e1d45824beb3c3a.tar.gz
Qt-fefc004a71b6744e3ad7d2fe0e1d45824beb3c3a.tar.bz2
Deprecate QScriptValue::UserRange
QScriptValue::PropertyFlags should only represent standard (ECMA) attributes. Since we can't guarantee that the back-end will be able to retain extra "user" bits, we don't want users to write code that rely on them. Task-number: QTBUG-15571 Reviewed-by: Jedrzej Nowacki
Diffstat (limited to 'src/script')
-rw-r--r--src/script/api/qscriptvalue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/api/qscriptvalue.cpp b/src/script/api/qscriptvalue.cpp
index 2b54f1f..2a22c72 100644
--- a/src/script/api/qscriptvalue.cpp
+++ b/src/script/api/qscriptvalue.cpp
@@ -149,7 +149,7 @@
\value KeepExistingFlags This value is used to indicate to setProperty() that the property's flags should be left unchanged. If the property doesn't exist, the default flags (0) will be used.
- \value UserRange Flags in this range are not used by Qt Script, and can be used for custom purposes.
+ \omitvalue UserRange Flags in this range are not used by Qt Script, and can be used for custom purposes.
*/
/*!