diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-02-26 11:11:06 +0100 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-03-13 09:01:10 +0100 |
commit | 8178bd345530f9687d7f4159350b9337615bb3c0 (patch) | |
tree | 67433f30b9213f496503567da66fcab63ff13e85 /src/qml/jsapi/qjsvalue.h | |
parent | 8592ae4096f3f9c2b08b87ad2fcbbbfadf75f2d7 (diff) |
QJSValue: Make call* const (Qt 6 TODO)
Change-Id: I3a6c83ffc203bf27121f460ba23d31a39d1493ee
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/jsapi/qjsvalue.h')
-rw-r--r-- | src/qml/jsapi/qjsvalue.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/jsapi/qjsvalue.h b/src/qml/jsapi/qjsvalue.h index 2f95e0ff31..b491080e56 100644 --- a/src/qml/jsapi/qjsvalue.h +++ b/src/qml/jsapi/qjsvalue.h @@ -144,9 +144,9 @@ public: bool deleteProperty(const QString &name); bool isCallable() const; - QJSValue call(const QJSValueList &args = QJSValueList()); // ### Qt6: Make const - QJSValue callWithInstance(const QJSValue &instance, const QJSValueList &args = QJSValueList()); // ### Qt6: Make const - QJSValue callAsConstructor(const QJSValueList &args = QJSValueList()); // ### Qt6: Make const + QJSValue call(const QJSValueList &args = QJSValueList()) const; + QJSValue callWithInstance(const QJSValue &instance, const QJSValueList &args = QJSValueList()) const; + QJSValue callAsConstructor(const QJSValueList &args = QJSValueList()) const; ErrorType errorType() const; #ifdef QT_DEPRECATED |