summaryrefslogtreecommitdiffstats
path: root/src/script/bridge/qscriptobject_p.h
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2010-01-05 10:05:30 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2010-01-05 10:05:30 (GMT)
commitd14ac9914753220e54f3b5cd94d122325d499776 (patch)
treeda5123b02cf72d8b7151116cf3bd16543e2ffdf0 /src/script/bridge/qscriptobject_p.h
parent617773f717e590b7945ccf0635e2ff64303135cc (diff)
downloadQt-d14ac9914753220e54f3b5cd94d122325d499776.zip
Qt-d14ac9914753220e54f3b5cd94d122325d499776.tar.gz
Qt-d14ac9914753220e54f3b5cd94d122325d499776.tar.bz2
Implement QScript::QObjectDelegate::getOwnPropertyDescriptor
This is needed for the fix for QTBUG-5749 that follow Reviewed-by: Kent Hansen Task-number: QTBUG-5749
Diffstat (limited to 'src/script/bridge/qscriptobject_p.h')
-rw-r--r--src/script/bridge/qscriptobject_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/script/bridge/qscriptobject_p.h b/src/script/bridge/qscriptobject_p.h
index a4faa06..f4b7140 100644
--- a/src/script/bridge/qscriptobject_p.h
+++ b/src/script/bridge/qscriptobject_p.h
@@ -63,6 +63,7 @@ public:
virtual bool getOwnPropertySlot(JSC::ExecState*,
const JSC::Identifier& propertyName,
JSC::PropertySlot&);
+ virtual bool getOwnPropertyDescriptor(JSC::ExecState*, const JSC::Identifier&, JSC::PropertyDescriptor&);
virtual void put(JSC::ExecState* exec, const JSC::Identifier& propertyName,
JSC::JSValue, JSC::PutPropertySlot&);
virtual bool deleteProperty(JSC::ExecState*,
@@ -121,6 +122,9 @@ public:
virtual bool getOwnPropertySlot(QScriptObject*, JSC::ExecState*,
const JSC::Identifier& propertyName,
JSC::PropertySlot&);
+ virtual bool getOwnPropertyDescriptor(QScriptObject*, JSC::ExecState*,
+ const JSC::Identifier& propertyName,
+ JSC::PropertyDescriptor&);
virtual void put(QScriptObject*, JSC::ExecState* exec, const JSC::Identifier& propertyName,
JSC::JSValue, JSC::PutPropertySlot&);
virtual bool deleteProperty(QScriptObject*, JSC::ExecState*,