summaryrefslogtreecommitdiffstats
path: root/src/script/bridge/qscriptactivationobject_p.h
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-08-18 12:26:14 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-08-18 12:26:14 (GMT)
commit91cb5464a35d2f461644677973ffdcc91985e7fd (patch)
tree91707880b76513c7a43a4de22b97ea5f2c98d226 /src/script/bridge/qscriptactivationobject_p.h
parenta2af6621a00cf0be03077132a271b2620a725bee (diff)
downloadQt-91cb5464a35d2f461644677973ffdcc91985e7fd.zip
Qt-91cb5464a35d2f461644677973ffdcc91985e7fd.tar.gz
Qt-91cb5464a35d2f461644677973ffdcc91985e7fd.tar.bz2
implement getter/setter proxying for Global Object and activation object
Diffstat (limited to 'src/script/bridge/qscriptactivationobject_p.h')
-rw-r--r--src/script/bridge/qscriptactivationobject_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/script/bridge/qscriptactivationobject_p.h b/src/script/bridge/qscriptactivationobject_p.h
index fd7b0be..cb28341 100644
--- a/src/script/bridge/qscriptactivationobject_p.h
+++ b/src/script/bridge/qscriptactivationobject_p.h
@@ -78,6 +78,11 @@ public:
virtual bool deleteProperty(JSC::ExecState*, const JSC::Identifier& propertyName, bool checkDontDelete = true);
+ virtual void defineGetter(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSObject* getterFunction);
+ virtual void defineSetter(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSObject* setterFunction);
+ virtual JSC::JSValue lookupGetter(JSC::ExecState*, const JSC::Identifier& propertyName);
+ virtual JSC::JSValue lookupSetter(JSC::ExecState*, const JSC::Identifier& propertyName);
+
virtual const JSC::ClassInfo* classInfo() const { return &info; }
static const JSC::ClassInfo info;