summaryrefslogtreecommitdiffstats
path: root/src/script/bridge/qscriptqobject_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/qscriptqobject_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/qscriptqobject_p.h')
-rw-r--r--src/script/bridge/qscriptqobject_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/script/bridge/qscriptqobject_p.h b/src/script/bridge/qscriptqobject_p.h
index 41900b5..0e7748d 100644
--- a/src/script/bridge/qscriptqobject_p.h
+++ b/src/script/bridge/qscriptqobject_p.h
@@ -78,6 +78,10 @@ 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&);