summaryrefslogtreecommitdiffstats
path: root/src/script/bridge/qscriptobject_p.h
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-08-04 14:47:08 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-08-04 14:48:15 (GMT)
commit28e8cb97ed2813a6baac36f1795b3ba9c71892c2 (patch)
tree2110883da644ecb4e8694414dd38319dc42c2393 /src/script/bridge/qscriptobject_p.h
parent394f62d779e6e120ce2fc19bd61ec64bd29a87a9 (diff)
downloadQt-28e8cb97ed2813a6baac36f1795b3ba9c71892c2.zip
Qt-28e8cb97ed2813a6baac36f1795b3ba9c71892c2.tar.gz
Qt-28e8cb97ed2813a6baac36f1795b3ba9c71892c2.tar.bz2
adapt to commit 014c4c63066fd3920594e6a58b02f314b5c88cdf
Diffstat (limited to 'src/script/bridge/qscriptobject_p.h')
-rw-r--r--src/script/bridge/qscriptobject_p.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/script/bridge/qscriptobject_p.h b/src/script/bridge/qscriptobject_p.h
index 17e5e6b..b52e654 100644
--- a/src/script/bridge/qscriptobject_p.h
+++ b/src/script/bridge/qscriptobject_p.h
@@ -85,7 +85,8 @@ public:
virtual void put(JSC::ExecState* exec, const JSC::Identifier& propertyName,
JSC::JSValue, JSC::PutPropertySlot&);
virtual bool deleteProperty(JSC::ExecState*,
- const JSC::Identifier& propertyName);
+ const JSC::Identifier& propertyName,
+ bool checkDontDelete = true);
virtual bool getPropertyAttributes(JSC::ExecState*, const JSC::Identifier&,
unsigned&) const;
virtual void getPropertyNames(JSC::ExecState*, JSC::PropertyNameArray&, bool includeNonEnumerable = false);
@@ -139,7 +140,8 @@ public:
virtual void put(QScriptObject*, JSC::ExecState* exec, const JSC::Identifier& propertyName,
JSC::JSValue, JSC::PutPropertySlot&);
virtual bool deleteProperty(QScriptObject*, JSC::ExecState*,
- const JSC::Identifier& propertyName);
+ const JSC::Identifier& propertyName,
+ bool checkDontDelete = true);
virtual bool getPropertyAttributes(const QScriptObject*, JSC::ExecState*,
const JSC::Identifier&, unsigned&) const;
virtual void getPropertyNames(QScriptObject*, JSC::ExecState*, JSC::PropertyNameArray&,