diff options
author | Volker Hilsheimer <volker.hilsheimer@nokia.com> | 2009-07-19 20:42:08 (GMT) |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@nokia.com> | 2009-07-19 20:42:08 (GMT) |
commit | 7a1891b2f308377e67204bbc812716cbc148af4a (patch) | |
tree | 02ab4fa56d973ab02e338a75671f60741b52d2b2 /src/script | |
parent | 50624a969d130ec55a6fd8e908b5b5e4e17636fb (diff) | |
download | Qt-7a1891b2f308377e67204bbc812716cbc148af4a.zip Qt-7a1891b2f308377e67204bbc812716cbc148af4a.tar.gz Qt-7a1891b2f308377e67204bbc812716cbc148af4a.tar.bz2 |
Doc: add \since 4.6 for new APIs
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/qscriptvalue.cpp | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/script/qscriptvalue.cpp b/src/script/qscriptvalue.cpp index 97ce61a..48e1318 100644 --- a/src/script/qscriptvalue.cpp +++ b/src/script/qscriptvalue.cpp @@ -574,9 +574,11 @@ void QScriptValue::setPrototype(const QScriptValue &prototype) } /*! - Returns the scope object of this QScriptValue. This function is only - relevant for function objects. The scope determines how variables are - resolved when the function is invoked. + \since 4.6 + + Returns the scope object of this QScriptValue. This function is only + relevant for function objects. The scope determines how variables are + resolved when the function is invoked. */ QScriptValue QScriptValue::scope() const { @@ -588,9 +590,11 @@ QScriptValue QScriptValue::scope() const } /*! - Sets the \a scope object of this QScriptValue. This function is only - relevant for function objects. Changing the scope is useful when creating - closures; see \l{Nested Functions and the Scope Chain}. + \since 4.6 + + Sets the \a scope object of this QScriptValue. This function is only + relevant for function objects. Changing the scope is useful when creating + closures; see \l{Nested Functions and the Scope Chain}. */ void QScriptValue::setScope(const QScriptValue &scope) { |