diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2011-05-12 07:15:00 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2011-05-12 07:15:00 (GMT) |
commit | 51684a152f380ed86bb45303871c0881f138d6d9 (patch) | |
tree | 9afce594ecbf1685863f13f342b1c5608c49c7fa /src/declarative/qml/qdeclarativeengine_p.h | |
parent | b80c3b1b04c35ae1fa6d7119b6f7dac06ee6494b (diff) | |
parent | 5c830ed2a612b940c377fb4e8a2372655f175707 (diff) | |
download | Qt-51684a152f380ed86bb45303871c0881f138d6d9.zip Qt-51684a152f380ed86bb45303871c0881f138d6d9.tar.gz Qt-51684a152f380ed86bb45303871c0881f138d6d9.tar.bz2 |
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qml-staging into master-integration
* 'master' of scm.dev.nokia.troll.no:qt/qt-qml-staging:
QmlDebug: Fix QmlOstPlugin compilation failure
QmlDebug: Fix QmlOstPlugin compilation failure
Enable performance monitoring at application startup.
Augment documentation
QmlDebugger: removing slots in Live Preview
QmlDebugger: adding slots to items in Live Preview
Fixed license header
Fixed compile on Windows
Added forgotten file qdeclarativeobserverinterface_p.h
Removed some trailing whitespace
Introduced a CONFIG option that enables declarative debug services
Moved the QML Observer Service and related functionality into Qt
QDeclarativeDebugServer: Send hello answer before any service messages
Removed some superfluous semicolons
Diffstat (limited to 'src/declarative/qml/qdeclarativeengine_p.h')
-rw-r--r-- | src/declarative/qml/qdeclarativeengine_p.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/declarative/qml/qdeclarativeengine_p.h b/src/declarative/qml/qdeclarativeengine_p.h index 88b4e80..fd851f7 100644 --- a/src/declarative/qml/qdeclarativeengine_p.h +++ b/src/declarative/qml/qdeclarativeengine_p.h @@ -95,7 +95,6 @@ class QDeclarativeImportDatabase; class QDeclarativeObjectScriptClass; class QDeclarativeTypeNameScriptClass; class QDeclarativeValueTypeScriptClass; -class QScriptEngineDebugger; class QNetworkReply; class QNetworkAccessManager; class QDeclarativeNetworkAccessManagerFactory; @@ -332,14 +331,14 @@ public: /*! Returns a QDeclarativePropertyCache for \a obj if one is available. -If \a obj is null, being deleted or contains a dynamic meta object 0 +If \a obj is null, being deleted or contains a dynamic meta object 0 is returned. The returned cache is not referenced, so if it is to be stored, call addref(). */ -QDeclarativePropertyCache *QDeclarativeEnginePrivate::cache(QObject *obj) +QDeclarativePropertyCache *QDeclarativeEnginePrivate::cache(QObject *obj) { - if (!obj || QObjectPrivate::get(obj)->metaObject || QObjectPrivate::get(obj)->wasDeleted) + if (!obj || QObjectPrivate::get(obj)->metaObject || QObjectPrivate::get(obj)->wasDeleted) return 0; const QMetaObject *mo = obj->metaObject(); @@ -349,10 +348,10 @@ QDeclarativePropertyCache *QDeclarativeEnginePrivate::cache(QObject *obj) } /*! -Returns a QDeclarativePropertyCache for \a metaObject. +Returns a QDeclarativePropertyCache for \a metaObject. As the cache is persisted for the life of the engine, \a metaObject must be -a static "compile time" meta-object, or a meta-object that is otherwise known to +a static "compile time" meta-object, or a meta-object that is otherwise known to exist for the lifetime of the QDeclarativeEngine. The returned cache is not referenced, so if it is to be stored, call addref(). |