diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-08-18 12:26:14 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-08-18 12:26:14 (GMT) |
commit | 91cb5464a35d2f461644677973ffdcc91985e7fd (patch) | |
tree | 91707880b76513c7a43a4de22b97ea5f2c98d226 /src/script/bridge/qscriptactivationobject_p.h | |
parent | a2af6621a00cf0be03077132a271b2620a725bee (diff) | |
download | Qt-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.h | 5 |
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; |