diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-16 00:29:16 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-16 00:29:16 (GMT) |
commit | 8eec0b69e303d10582d04784a0bb200418272c4d (patch) | |
tree | cb0a4ef01f750df9dcf0b1ac8fcc00125da2c051 /src/declarative/qml/qmlobjectscriptclass_p.h | |
parent | e4e566272f41a27b7b160c6e1344d24f66ad022c (diff) | |
download | Qt-8eec0b69e303d10582d04784a0bb200418272c4d.zip Qt-8eec0b69e303d10582d04784a0bb200418272c4d.tar.gz Qt-8eec0b69e303d10582d04784a0bb200418272c4d.tar.bz2 |
Correctly pass context to QmlObjectScriptClass
Diffstat (limited to 'src/declarative/qml/qmlobjectscriptclass_p.h')
-rw-r--r-- | src/declarative/qml/qmlobjectscriptclass_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlobjectscriptclass_p.h b/src/declarative/qml/qmlobjectscriptclass_p.h index 3fcf009..8d5b5f6 100644 --- a/src/declarative/qml/qmlobjectscriptclass_p.h +++ b/src/declarative/qml/qmlobjectscriptclass_p.h @@ -79,7 +79,8 @@ public: QScriptClass::QueryFlags flags, QmlContext *evalContext); QScriptValue property(QObject *, const Identifier &); - void setProperty(QObject *, const Identifier &name, const QScriptValue &); + void setProperty(QObject *, const Identifier &name, const QScriptValue &, + QmlContext *evalContext = 0); protected: virtual QScriptClass::QueryFlags queryProperty(Object *, const Identifier &, |