diff options
author | Dominik Holland <dominik.holland@qt.io> | 2021-05-27 17:43:38 +0200 |
---|---|---|
committer | Dominik Holland <dominik.holland@qt.io> | 2021-05-28 14:13:31 +0200 |
commit | b2107c897eb0a945c2a3b756322f261c549c13aa (patch) | |
tree | 72394e20f7996995caa05d27a156f65e9096a918 /examples/ivicore/qface-tutorial/chapter6-own-backend/instrument-cluster/Cluster.qml | |
parent | e63abd2a122a21623e0c623b94f4719149c1eca7 (diff) |
ivigenerator: Remove the "Module" postfix in the autogenerated classes
The module class which is autogenerated by the ivigenerator always got
a postfix which was used to prevent compilation errors when module and
interface had the same name.
As we don't use any extra postfix for structs or interfaces either
the "Module" postfix is now dropped as well and the module should rather
be renamed already in the IDL file instead.
Change-Id: I91bf95e824436e65e374aaf397ecd5c548444589
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Diffstat (limited to 'examples/ivicore/qface-tutorial/chapter6-own-backend/instrument-cluster/Cluster.qml')
-rw-r--r-- | examples/ivicore/qface-tutorial/chapter6-own-backend/instrument-cluster/Cluster.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/ivicore/qface-tutorial/chapter6-own-backend/instrument-cluster/Cluster.qml b/examples/ivicore/qface-tutorial/chapter6-own-backend/instrument-cluster/Cluster.qml index 3833d67..9ed127d 100644 --- a/examples/ivicore/qface-tutorial/chapter6-own-backend/instrument-cluster/Cluster.qml +++ b/examples/ivicore/qface-tutorial/chapter6-own-backend/instrument-cluster/Cluster.qml @@ -53,7 +53,7 @@ import QtQuick 2.1 import QtQuick.Window 2.2 -import Example.IVI.InstrumentCluster 1.0 +import Example.IVI.InstrumentClusterModule 1.0 Window { id: root @@ -74,7 +74,7 @@ Window { anchors.leftMargin: 0.1 * width value: instrumentCluster.speed - metricSystem: instrumentCluster.systemType === InstrumentCluster.Metric + metricSystem: instrumentCluster.systemType === InstrumentClusterModule.Metric } RightDial { |