summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmldeclarativedata_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qmldeclarativedata_p.h')
-rw-r--r--src/declarative/qml/qmldeclarativedata_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/declarative/qml/qmldeclarativedata_p.h b/src/declarative/qml/qmldeclarativedata_p.h
index ade961f..f6ecc3d 100644
--- a/src/declarative/qml/qmldeclarativedata_p.h
+++ b/src/declarative/qml/qmldeclarativedata_p.h
@@ -54,12 +54,14 @@
//
#include <private/qobject_p.h>
+#include <QtScript/qscriptvalue.h>
QT_BEGIN_NAMESPACE
class QmlCompiledData;
class QmlAbstractBinding;
class QmlContext;
+class QmlPropertyCache;
class QmlDeclarativeData : public QDeclarativeData
{
public:
@@ -85,6 +87,9 @@ public:
QHash<int, QObject *> *attachedProperties;
+ QScriptValue scriptValue;
+ QmlPropertyCache *propertyCache;
+
static QmlDeclarativeData *get(const QObject *object, bool create = false) {
QObjectPrivate *priv =
QObjectPrivate::get(const_cast<QObject *>(object));