summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmldeclarativedata_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-10-06 00:36:07 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-10-06 00:36:07 (GMT)
commit54e8e22a49148b089fd02895ead5c27aaf62e18e (patch)
tree71495fe7251b00c5dd103f95092eb111d845dcef /src/declarative/qml/qmldeclarativedata_p.h
parentb411c4db37bcbb5152bf8e8b225e259c05c46b59 (diff)
downloadQt-54e8e22a49148b089fd02895ead5c27aaf62e18e.zip
Qt-54e8e22a49148b089fd02895ead5c27aaf62e18e.tar.gz
Qt-54e8e22a49148b089fd02895ead5c27aaf62e18e.tar.bz2
Share QScriptValue's where possible
Also add an autotest for object comparisons
Diffstat (limited to 'src/declarative/qml/qmldeclarativedata_p.h')
-rw-r--r--src/declarative/qml/qmldeclarativedata_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/qml/qmldeclarativedata_p.h b/src/declarative/qml/qmldeclarativedata_p.h
index b4c87b8..f6ecc3d 100644
--- a/src/declarative/qml/qmldeclarativedata_p.h
+++ b/src/declarative/qml/qmldeclarativedata_p.h
@@ -54,6 +54,7 @@
//
#include <private/qobject_p.h>
+#include <QtScript/qscriptvalue.h>
QT_BEGIN_NAMESPACE
@@ -86,6 +87,7 @@ public:
QHash<int, QObject *> *attachedProperties;
+ QScriptValue scriptValue;
QmlPropertyCache *propertyCache;
static QmlDeclarativeData *get(const QObject *object, bool create = false) {