diff options
author | Vadim Popov <vadim.popov@pelagicore.com> | 2017-05-17 17:54:25 +0200 |
---|---|---|
committer | Vadim Popov <vadim.popov@pelagicore.com> | 2017-06-13 13:10:05 +0000 |
commit | a202116603c4bcba6e5da3a90988e35ea17dd204 (patch) | |
tree | d4d54e4c4477ac584c42470fbee21b1c52525c9c /examples | |
parent | 2bb1904b49c2c0afe416c80191a36ca2daf174b5 (diff) | |
download | qtivi-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.qface | 2 |
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. |