aboutsummaryrefslogtreecommitdiffstats
path: root/src/v4/qv4object.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/v4/qv4object.h')
-rw-r--r--src/v4/qv4object.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/v4/qv4object.h b/src/v4/qv4object.h
index f82f953970..a5ef09690c 100644
--- a/src/v4/qv4object.h
+++ b/src/v4/qv4object.h
@@ -155,17 +155,6 @@ struct Q_V4_EXPORT Object: Managed {
Value getValue(ExecutionContext *ctx, const Property *p, PropertyAttributes attrs) const {
return getValue(Value::fromObject(const_cast<Object *>(this)), ctx, p, attrs);
}
- Value getValueChecked(ExecutionContext *ctx, const Property *p, PropertyAttributes attrs) const {
- if (!p || attrs.isGeneric())
- return Value::undefinedValue();
- return getValue(Value::fromObject(const_cast<Object *>(this)), ctx, p, attrs);
- }
- Value getValueChecked(ExecutionContext *ctx, const Property *p, PropertyAttributes attrs, bool *exists) const {
- *exists = p && !attrs.isGeneric();
- if (!*exists)
- return Value::undefinedValue();
- return getValue(Value::fromObject(const_cast<Object *>(this)), ctx, p, attrs);
- }
void putValue(ExecutionContext *ctx, Property *pd, PropertyAttributes attrs, const Value &value);