summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativeengine.h
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-03-16 15:05:20 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-03-16 15:05:20 (GMT)
commitdbcca9a809c9a5eb47f5c9236eb84c5baba7c560 (patch)
treee57f650d04872261f8e03ecbdd4f9634b03c6a56 /src/declarative/qml/qdeclarativeengine.h
parentb83172f8cfb4439f17c96886f0c6046a885370f6 (diff)
parentd5e7356a16e51c544b7c5d148af7dcc70a7d6532 (diff)
downloadQt-dbcca9a809c9a5eb47f5c9236eb84c5baba7c560.zip
Qt-dbcca9a809c9a5eb47f5c9236eb84c5baba7c560.tar.gz
Qt-dbcca9a809c9a5eb47f5c9236eb84c5baba7c560.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (100 commits) Remove test in .pro file also Remove unneeded #include and add needed header to .pri Add easing changes to QmlChanges.txt Update more animation on property value source docs. Doc fixes. QmlChanges.txt cleanup. Remove WorkerListModel and integrate its functionality into ListModel. Split post alpha API changes into a separate section. Optimize drawPixmapFragments for the GL2 paint engine. Optimize QRegion::intersects(QRect). Compile with user defined Qt namespace Fix regression from previous commit Import "content" with as qualifier to support network without qmldir Small fixes to photoviewer demo Little more doc on QabstractItemModel and QML. Fix benchmark. Add basic QUrl benchmarks. Add busy indicator to photoviewer demo Set maximumExtents correctly for highlightRangeMode: StrictlyEnforceRange fix installation of imports libraries ...
Diffstat (limited to 'src/declarative/qml/qdeclarativeengine.h')
-rw-r--r--src/declarative/qml/qdeclarativeengine.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/declarative/qml/qdeclarativeengine.h b/src/declarative/qml/qdeclarativeengine.h
index fd66358..19e81b6 100644
--- a/src/declarative/qml/qdeclarativeengine.h
+++ b/src/declarative/qml/qdeclarativeengine.h
@@ -98,6 +98,10 @@ public:
static QDeclarativeContext *contextForObject(const QObject *);
static void setContextForObject(QObject *, QDeclarativeContext *);
+ enum ObjectOwnership { CppOwnership, JavaScriptOwnership };
+ static void setObjectOwnership(QObject *, ObjectOwnership);
+ static ObjectOwnership objectOwnership(QObject *);
+
Q_SIGNALS:
void quit ();