summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorVadim Popov <vadim.popov@pelagicore.com>2017-05-17 17:54:25 +0200
committerVadim Popov <vadim.popov@pelagicore.com>2017-06-13 13:10:05 +0000
commita202116603c4bcba6e5da3a90988e35ea17dd204 (patch)
treed4d54e4c4477ac584c42470fbee21b1c52525c9c /examples
parent2bb1904b49c2c0afe416c80191a36ca2daf174b5 (diff)
downloadqtivi-a202116603c4bcba6e5da3a90988e35ea17dd204.tar.gz
Provide a way to specify interface alias name used from QML
For the IDL to be able to specify the name of the class under which it should be available from QML, there has been added a new annotation named "qml_type" Task-number: QTAUTO-291 Change-Id: Ia9d8beeffa8284b041b4dc095e00e9485ba300fd Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/core/qface-ivi-climate/example-ivi-climate.qface2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/core/qface-ivi-climate/example-ivi-climate.qface b/examples/core/qface-ivi-climate/example-ivi-climate.qface
index 17bca97..cd83698 100644
--- a/examples/core/qface-ivi-climate/example-ivi-climate.qface
+++ b/examples/core/qface-ivi-climate/example-ivi-climate.qface
@@ -7,7 +7,7 @@ module example.ivi.climate 1.0;
* The ClimateControl provides a QML interface to the climate control
* of the vehicle.
*/
-@config: { zoned: true, id: "example.qtivi.ClimateControl/1.0" }
+@config: { zoned: true, id: "example.qtivi.ClimateControl/1.0", qml_type: "UiClimateControl" }
interface ClimateControl {
/**
* @brief Value is true if the air conditioning is enabled.