summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlobjectscriptclass_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-10-16 00:29:16 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-10-16 00:29:16 (GMT)
commit8eec0b69e303d10582d04784a0bb200418272c4d (patch)
treecb0a4ef01f750df9dcf0b1ac8fcc00125da2c051 /src/declarative/qml/qmlobjectscriptclass_p.h
parente4e566272f41a27b7b160c6e1344d24f66ad022c (diff)
downloadQt-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.h3
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 &,