diff options
author | Karsten Heimrich <karsten.heimrich@qt.io> | 2020-06-12 14:37:14 +0200 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@qt.io> | 2020-06-12 14:59:41 +0200 |
commit | a59206d764c8241240f4bd0e0e29f7130461b058 (patch) | |
tree | 44510614a8b7c2bb43a631d7d72e9e2f48e726c9 /src | |
parent | cbd857b53f0c525e398b33889325f256699977bc (diff) |
Bump dependency version and fix compile errors
Change-Id: I8ebce5c3f49dd07e6de2aa847625a3c5f677c756
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/activeqt/container/qaxbase.cpp | 8 | ||||
-rw-r--r-- | src/activeqt/control/qaxserver.cpp | 4 |
2 files changed, 2 insertions, 10 deletions
diff --git a/src/activeqt/container/qaxbase.cpp b/src/activeqt/container/qaxbase.cpp index 6e20ae4..3845916 100644 --- a/src/activeqt/container/qaxbase.cpp +++ b/src/activeqt/container/qaxbase.cpp @@ -2895,7 +2895,6 @@ static void addMetaProperty(QMetaObjectBuilder &builder, const QByteArray &name, propertyBuilder.setDesignable(flags & Designable); propertyBuilder.setScriptable(flags & Scriptable); propertyBuilder.setStored(flags & Stored); - propertyBuilder.setEditable(flags & Editable); propertyBuilder.setUser(flags & User); } @@ -3513,13 +3512,6 @@ int QAxBasePrivate::qtMetaCall(QMetaObject::Call call, int id, void **v) case QMetaObject::ResetProperty: id = q->internalProperty(call, id, v); break; - case QMetaObject::QueryPropertyScriptable: - case QMetaObject::QueryPropertyDesignable: - case QMetaObject::QueryPropertyStored: - case QMetaObject::QueryPropertyEditable: - case QMetaObject::QueryPropertyUser: - id -= mo->propertyCount(); - break; default: break; } diff --git a/src/activeqt/control/qaxserver.cpp b/src/activeqt/control/qaxserver.cpp index 7932b1d..a103290 100644 --- a/src/activeqt/control/qaxserver.cpp +++ b/src/activeqt/control/qaxserver.cpp @@ -962,9 +962,9 @@ static HRESULT classIDL(QObject *o, const QMetaObject *mo, const QString &classN out << "\t\t[id(" << id << ')'; if (!property.isWritable()) out << ", readonly"; - if (isBindable && property.isScriptable(o)) + if (isBindable && property.isScriptable()) out << ", bindable"; - if (!property.isDesignable(o)) + if (!property.isDesignable()) out << ", nonbrowsable"; if (isBindable) out << ", requestedit"; |