diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-09-30 01:07:07 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-05 02:39:02 (GMT) |
commit | 49527e854a9edb0a92e64264d6efac6be46cf0ed (patch) | |
tree | 2bcc8dad3c1e6c0a239eac5e3188c2ec8eada602 /src/declarative/qml/qmldeclarativedata_p.h | |
parent | c4190288ca68eca9b84ccab67d860517a6a8e7c5 (diff) | |
download | Qt-49527e854a9edb0a92e64264d6efac6be46cf0ed.zip Qt-49527e854a9edb0a92e64264d6efac6be46cf0ed.tar.gz Qt-49527e854a9edb0a92e64264d6efac6be46cf0ed.tar.bz2 |
Create a property cache for synthesized metaobjects
Diffstat (limited to 'src/declarative/qml/qmldeclarativedata_p.h')
-rw-r--r-- | src/declarative/qml/qmldeclarativedata_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/qml/qmldeclarativedata_p.h b/src/declarative/qml/qmldeclarativedata_p.h index ade961f..b4c87b8 100644 --- a/src/declarative/qml/qmldeclarativedata_p.h +++ b/src/declarative/qml/qmldeclarativedata_p.h @@ -60,6 +60,7 @@ QT_BEGIN_NAMESPACE class QmlCompiledData; class QmlAbstractBinding; class QmlContext; +class QmlPropertyCache; class QmlDeclarativeData : public QDeclarativeData { public: @@ -85,6 +86,8 @@ public: QHash<int, QObject *> *attachedProperties; + QmlPropertyCache *propertyCache; + static QmlDeclarativeData *get(const QObject *object, bool create = false) { QObjectPrivate *priv = QObjectPrivate::get(const_cast<QObject *>(object)); |