diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-06 00:36:07 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-06 00:36:07 (GMT) |
commit | 54e8e22a49148b089fd02895ead5c27aaf62e18e (patch) | |
tree | 71495fe7251b00c5dd103f95092eb111d845dcef /src/declarative/qml/qmldeclarativedata_p.h | |
parent | b411c4db37bcbb5152bf8e8b225e259c05c46b59 (diff) | |
download | Qt-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.h | 2 |
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) { |