summaryrefslogtreecommitdiffstats
path: root/src/script/api
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@nokia.com>2010-05-19 12:50:29 (GMT)
committerMartin Smith <martin.smith@nokia.com>2010-05-19 12:50:29 (GMT)
commit59deb35ed4925563b5bdc20db501c3aa2f033dea (patch)
treed7e3a5be4e81aeaf113e912755e55902e62bf81a /src/script/api
parent58ba7dc8a05353294e1530e1a94de7c9f130a845 (diff)
downloadQt-59deb35ed4925563b5bdc20db501c3aa2f033dea.zip
Qt-59deb35ed4925563b5bdc20db501c3aa2f033dea.tar.gz
Qt-59deb35ed4925563b5bdc20db501c3aa2f033dea.tar.bz2
doc: Fixed many broken links.
Diffstat (limited to 'src/script/api')
-rw-r--r--src/script/api/qscriptengine.cpp17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/script/api/qscriptengine.cpp b/src/script/api/qscriptengine.cpp
index 03d535c..86915bb 100644
--- a/src/script/api/qscriptengine.cpp
+++ b/src/script/api/qscriptengine.cpp
@@ -294,9 +294,20 @@ QT_BEGIN_NAMESPACE
This enum specifies the ownership when wrapping a C++ value, e.g. by using newQObject().
- \value QtOwnership The standard Qt ownership rules apply, i.e. the associated object will never be explicitly deleted by the script engine. This is the default. (QObject ownership is explained in \l{Object Trees and Object Ownership}.)
- \value ScriptOwnership The value is owned by the script environment. The associated data will be deleted when appropriate (i.e. after the garbage collector has discovered that there are no more live references to the value).
- \value AutoOwnership If the associated object has a parent, the Qt ownership rules apply (QtOwnership); otherwise, the object is owned by the script environment (ScriptOwnership).
+ \value QtOwnership The standard Qt ownership rules apply, i.e. the
+ associated object will never be explicitly deleted by the script
+ engine. This is the default. (QObject ownership is explained in
+ \l{Object Trees & Ownership}.)
+
+ \value ScriptOwnership The value is owned by the script
+ environment. The associated data will be deleted when appropriate
+ (i.e. after the garbage collector has discovered that there are no
+ more live references to the value).
+
+ \value AutoOwnership If the associated object has a parent, the Qt
+ ownership rules apply (QtOwnership); otherwise, the object is
+ owned by the script environment (ScriptOwnership).
+
*/
/*!