on xenial help sign in
update qmltypes
be8d9b4Nick Dedekind
plugins/Unity/Indicators/Indicators.qmltypes+18−7
@@ -7,6 +7,14 @@ import QtQuick.tooling 1.1
7// 'qmlplugindump -notrelocatable Unity.Indicators 0.1 plugins'
7// 'qmlplugindump -notrelocatable Unity.Indicators 0.1 plugins'
8
8
9Module {
9Module {
10+ Component {
11+ name: "ActionRootState"
12+ prototype: "RootStateObject"
13+ exports: ["Unity.Indicators/ActionRootState 0.1"]
14+ exportMetaObjectRevisions: [0]
15+ Property { name: "actionGroup"; type: "QDBusActionGroup"; isPointer: true }
16+ Property { name: "actionName"; type: "string" }
17+ }
10 Component {
18 Component {
11 name: "ActionState"
19 name: "ActionState"
12 prototype: "QObject"
20 prototype: "QObject"
@@ -23,7 +31,6 @@ Module {
23 }
31 }
24 }
32 }
25 }
33 }
26− Component { name: "ActionStateParser"; prototype: "QObject" }
27 Component {
34 Component {
28 name: "FlatMenuProxyModelRole"
35 name: "FlatMenuProxyModelRole"
29 prototype: "QObject"
36 prototype: "QObject"
@@ -148,6 +155,14 @@ Module {
148 exportMetaObjectRevisions: [0]
155 exportMetaObjectRevisions: [0]
149 Property { name: "active"; type: "bool"; isReadonly: true }
156 Property { name: "active"; type: "bool"; isReadonly: true }
150 }
157 }
158+ Component {
159+ name: "ModelActionRootState"
160+ prototype: "RootStateObject"
161+ exports: ["Unity.Indicators/ModelActionRootState 0.1"]
162+ exportMetaObjectRevisions: [0]
163+ Property { name: "menu"; type: "UnityMenuModel"; isPointer: true }
164+ Signal { name: "indexChanged" }
165+ }
151 Component {
166 Component {
152 name: "ModelPrinter"
167 name: "ModelPrinter"
153 prototype: "QObject"
168 prototype: "QObject"
@@ -194,11 +209,8 @@ Module {
194 }
209 }
195 Component { name: "QIdentityProxyModel"; prototype: "QAbstractProxyModel" }
210 Component { name: "QIdentityProxyModel"; prototype: "QAbstractProxyModel" }
196 Component {
211 Component {
197− name: "RootActionState"
212+ name: "RootStateObject"
198− prototype: "ActionStateParser"
213+ prototype: "QObject"
199− exports: ["Unity.Indicators/RootActionState 0.1"]
200− exportMetaObjectRevisions: [0]
201− Property { name: "menu"; type: "UnityMenuModel"; isPointer: true }
202 Property { name: "valid"; type: "bool"; isReadonly: true }
214 Property { name: "valid"; type: "bool"; isReadonly: true }
203 Property { name: "title"; type: "string"; isReadonly: true }
215 Property { name: "title"; type: "string"; isReadonly: true }
204 Property { name: "leftLabel"; type: "string"; isReadonly: true }
216 Property { name: "leftLabel"; type: "string"; isReadonly: true }
@@ -207,7 +219,6 @@ Module {
207 Property { name: "accessibleName"; type: "string"; isReadonly: true }
219 Property { name: "accessibleName"; type: "string"; isReadonly: true }
208 Property { name: "visible"; type: "bool"; isReadonly: true }
220 Property { name: "visible"; type: "bool"; isReadonly: true }
209 Signal { name: "updated" }
221 Signal { name: "updated" }
210− Signal { name: "indexChanged" }
211 }
222 }
212 Component {
223 Component {
213 name: "UnityMenuModelCache"
224 name: "UnityMenuModelCache"
tests/mocks/Lights/Lights.qmltypesnew file+45
@@ -0,0 +1,45 @@
1+import QtQuick.tooling 1.1
2+
3+// This file describes the plugin-supplied types contained in the library.
4+// It is used for QML tooling purposes only.
5+//
6+// This file was auto-generated by:
7+// 'qmlplugindump -notrelocatable Lights 0.1 tests/mocks'
8+
9+Module {
10+ Component {
11+ name: "Lights"
12+ prototype: "QObject"
13+ exports: ["Lights/Lights 0.1"]
14+ isCreatable: false
15+ isSingleton: true
16+ exportMetaObjectRevisions: [0]
17+ Enum {
18+ name: "State"
19+ values: {
20+ "Off": 0,
21+ "On": 1
22+ }
23+ }
24+ Property { name: "state"; type: "State" }
25+ Property { name: "color"; type: "QColor" }
26+ Property { name: "onMillisec"; type: "int" }
27+ Property { name: "offMillisec"; type: "int" }
28+ Signal {
29+ name: "stateChanged"
30+ Parameter { name: "newState"; type: "State" }
31+ }
32+ Signal {
33+ name: "colorChanged"
34+ Parameter { name: "color"; type: "QColor" }
35+ }
36+ Signal {
37+ name: "onMillisecChanged"
38+ Parameter { name: "onMs"; type: "int" }
39+ }
40+ Signal {
41+ name: "offMillisecChanged"
42+ Parameter { name: "offMs"; type: "int" }
43+ }
44+ }
45+}