summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcontextscriptclass_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-10-02 08:02:14 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-10-05 02:40:48 (GMT)
commit5b37c01aa721057ad0cbef16a79cf179e3c53934 (patch)
treebc09b0ffc8cfec17260b449634560082905be62d /src/declarative/qml/qmlcontextscriptclass_p.h
parenta712a6243be29dbfa49c3d1705c8b1babd8c7a1a (diff)
downloadQt-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.h6
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;