diff options
Diffstat (limited to 'examples/ivicore/qface-tutorial/chapter4-simulation-behavior')
3 files changed, 7 insertions, 7 deletions
diff --git a/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/backend_simulator/simulation.qml b/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/backend_simulator/simulation.qml index 39c0ca4..5d22939 100644 --- a/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/backend_simulator/simulation.qml +++ b/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/backend_simulator/simulation.qml @@ -52,13 +52,13 @@ ****************************************************************************/ import QtQuick 2.10 -import Example.IVI.InstrumentCluster.simulation 1.0 +import Example.IVI.InstrumentClusterModule.simulation 1.0 QtObject { property var settings : IviSimulator.findData(IviSimulator.simulationData, "InstrumentCluster") property bool defaultInitialized: false property LoggingCategory qLcInstrumentCluster: LoggingCategory { - name: "example.ivi.instrumentcluster.simulation.instrumentclusterbackend" + name: "example.ivi.instrumentclustermodule.simulation.instrumentclusterbackend" } property var backend : InstrumentClusterBackend { @@ -107,7 +107,7 @@ QtObject { ScriptAction { script: { - backend.currentWarning = InstrumentCluster.warning("red","LOW FUEL", "images/fuelsymbol_orange.png") + backend.currentWarning = InstrumentClusterModule.warning("red","LOW FUEL", "images/fuelsymbol_orange.png") } } @@ -120,7 +120,7 @@ QtObject { ScriptAction { script: { - backend.currentWarning = InstrumentCluster.warning() + backend.currentWarning = InstrumentClusterModule.warning() } } } diff --git a/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/instrument-cluster.qface b/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/instrument-cluster.qface index f6a5c9f..b06dffc 100644 --- a/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/instrument-cluster.qface +++ b/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/instrument-cluster.qface @@ -1,5 +1,5 @@ @config_simulator: { simulationFile: "qrc:/simulation.qml" } -module Example.IVI.InstrumentCluster 1.0 +module Example.IVI.InstrumentClusterModule 1.0 interface InstrumentCluster { readonly int speed; diff --git a/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/instrument-cluster/Cluster.qml b/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/instrument-cluster/Cluster.qml index db33660..86b996e 100644 --- a/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/instrument-cluster/Cluster.qml +++ b/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/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 { |