diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2012-01-17 09:12:10 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-01 08:37:49 +0100 |
commit | be46366689eb2ed26c00b516c17b42d12c12070e (patch) | |
tree | f667331cd66eab1641cd0221d444718dedeaf927 /src/declarative/qml/v8/qjsvalue.h | |
parent | 3a017cc96292dbda4ca9fd2ca5ac7cf8b39cd43e (diff) |
Remove QJSValue::instanceOf() function
Rationale: This is a remnant from QtScript. There is no good reason
for providing this type of low-level "prototype inheritance chain"
checks in this high-level QJSValue class. If you want to check if an
object is of the "right type", you can check if it has the
properties you require using property().
Task-number: QTBUG-23604
Change-Id: I3a274212cc57c38228fab73423af481e1b95d8a5
Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
Diffstat (limited to 'src/declarative/qml/v8/qjsvalue.h')
-rw-r--r-- | src/declarative/qml/v8/qjsvalue.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/declarative/qml/v8/qjsvalue.h b/src/declarative/qml/v8/qjsvalue.h index 98d04f9155..f0be07e725 100644 --- a/src/declarative/qml/v8/qjsvalue.h +++ b/src/declarative/qml/v8/qjsvalue.h @@ -142,8 +142,6 @@ public: QT_DEPRECATED qint32 toInt32() const; QT_DEPRECATED quint32 toUInt32() const; - QT_DEPRECATED bool instanceOf(const QJSValue &other) const; - QT_DEPRECATED QJSValue::PropertyFlags propertyFlags(const QString &name) const; QT_DEPRECATED QJSValue call(const QJSValue &thisObject = QJSValue(), |