diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2011-03-11 13:38:22 (GMT) |
---|---|---|
committer | Kent Hansen <kent.hansen@nokia.com> | 2011-03-11 13:38:22 (GMT) |
commit | 0d67f69f6b49841cdef5cd48176598e4bbb349d6 (patch) | |
tree | efad03d0d4c00fc69e773b7894237622f228914e /src/script | |
parent | 55dbdc58122da56d9a2b869164f980dde3f91fb3 (diff) | |
download | Qt-0d67f69f6b49841cdef5cd48176598e4bbb349d6.zip Qt-0d67f69f6b49841cdef5cd48176598e4bbb349d6.tar.gz Qt-0d67f69f6b49841cdef5cd48176598e4bbb349d6.tar.bz2 |
Deprecate QScriptValue::QObjectMember
This property flag serves no valid use case.
We don't want users to write code that depends on whether the
property is a Qt/C++ property or a JS property.
Task-number: QTBUG-17760
Reviewed-by: Jedrzej Nowacki
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/api/qscriptvalue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/api/qscriptvalue.cpp b/src/script/api/qscriptvalue.cpp index 4772fa1..2b54f1f 100644 --- a/src/script/api/qscriptvalue.cpp +++ b/src/script/api/qscriptvalue.cpp @@ -145,7 +145,7 @@ \value PropertySetter The property is defined by a function which will be called to set the property value. - \value QObjectMember This flag is used to indicate that an existing property is a QObject member (a property or method). + \omitvalue QObjectMember This flag is used to indicate that an existing property is a QObject member (a property or method). \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. |