diff options
Diffstat (limited to 'examples/ivicore/qface-tutorial/chapter2-enums-structs')
-rw-r--r-- | examples/ivicore/qface-tutorial/chapter2-enums-structs/instrument-cluster.qface | 2 | ||||
-rw-r--r-- | examples/ivicore/qface-tutorial/chapter2-enums-structs/instrument-cluster/Cluster.qml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/ivicore/qface-tutorial/chapter2-enums-structs/instrument-cluster.qface b/examples/ivicore/qface-tutorial/chapter2-enums-structs/instrument-cluster.qface index 5e74475..71d468b 100644 --- a/examples/ivicore/qface-tutorial/chapter2-enums-structs/instrument-cluster.qface +++ b/examples/ivicore/qface-tutorial/chapter2-enums-structs/instrument-cluster.qface @@ -1,4 +1,4 @@ -module Example.IVI.InstrumentCluster 1.0 +module Example.IVI.InstrumentClusterModule 1.0 interface InstrumentCluster { readonly int speed; diff --git a/examples/ivicore/qface-tutorial/chapter2-enums-structs/instrument-cluster/Cluster.qml b/examples/ivicore/qface-tutorial/chapter2-enums-structs/instrument-cluster/Cluster.qml index 1f73533..a475a9d 100644 --- a/examples/ivicore/qface-tutorial/chapter2-enums-structs/instrument-cluster/Cluster.qml +++ b/examples/ivicore/qface-tutorial/chapter2-enums-structs/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 { |