blob: d36aa5a2cf5467296437f54521689a8f0edfb48e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import QtQml 2.2
import QtQml.Models 2.2
import "."
{{interface.comment}}
QtObject {
id: root
{% for property in interface.properties %}
{{property.comment}}
readonly property {{property|propertyType}} {{property}} : _provider.{{property}}
{% endfor %}
{% for operation in interface.operations %}
{{operation.comment}}
readonly property var {{operation}} : _provider.{{operation}}
{% endfor %}
property {{interface}}Provider _provider: {{interface}}Provider {}
}
|