diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-02 08:02:14 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-05 02:40:48 (GMT) |
commit | 5b37c01aa721057ad0cbef16a79cf179e3c53934 (patch) | |
tree | bc09b0ffc8cfec17260b449634560082905be62d /src/declarative/qml/qmlcontextscriptclass_p.h | |
parent | a712a6243be29dbfa49c3d1705c8b1babd8c7a1a (diff) | |
download | Qt-5b37c01aa721057ad0cbef16a79cf179e3c53934.zip Qt-5b37c01aa721057ad0cbef16a79cf179e3c53934.tar.gz Qt-5b37c01aa721057ad0cbef16a79cf179e3c53934.tar.bz2 |
Update to new QScriptDeclarativeClass API
Diffstat (limited to 'src/declarative/qml/qmlcontextscriptclass_p.h')
-rw-r--r-- | src/declarative/qml/qmlcontextscriptclass_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/qml/qmlcontextscriptclass_p.h b/src/declarative/qml/qmlcontextscriptclass_p.h index a00e567..acb8926 100644 --- a/src/declarative/qml/qmlcontextscriptclass_p.h +++ b/src/declarative/qml/qmlcontextscriptclass_p.h @@ -70,10 +70,10 @@ public: QScriptValue newContext(QmlContext *); protected: - virtual QScriptClass::QueryFlags queryProperty(const Object &, const Identifier &, + virtual QScriptClass::QueryFlags queryProperty(Object *, const Identifier &, QScriptClass::QueryFlags flags); - virtual QScriptValue property(const Object &, const Identifier &); - virtual void setProperty(const Object &, const Identifier &name, const QScriptValue &); + virtual QScriptValue property(Object *, const Identifier &); + virtual void setProperty(Object *, const Identifier &name, const QScriptValue &); private: QmlEngine *engine; |