on xenial help sign in
Update qmltypes.
0c27874Michał Sawicz
plugins/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 plugins'
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+}
plugins/Powerd/Powerd.qmltypes+6−13
@@ -15,19 +15,12 @@ Module {
15 isSingleton: true
15 isSingleton: true
16 exportMetaObjectRevisions: [0]
16 exportMetaObjectRevisions: [0]
17 Enum {
17 Enum {
18− name: "DisplayFlag"
18+ name: "DisplayStateChangeReason"
19 values: {
19 values: {
20− "UseProximity": 1,
20+ "Unknown": 0,
21− "DisableAutoBrightness": 2,
21+ "Inactivity": 1,
22− "Bright": 4
22+ "PowerKey": 2,
23− }
23+ "Proximity": 3
24− }
25− Enum {
26− name: "DisplayFlags"
27− values: {
28− "UseProximity": 1,
29− "DisableAutoBrightness": 2,
30− "Bright": 4
31 }
24 }
32 }
25 }
33 Enum {
26 Enum {
@@ -40,7 +33,7 @@ Module {
40 Signal {
33 Signal {
41 name: "displayPowerStateChange"
34 name: "displayPowerStateChange"
42 Parameter { name: "status"; type: "int" }
35 Parameter { name: "status"; type: "int" }
43− Parameter { name: "flags"; type: "uint" }
36+ Parameter { name: "reason"; type: "int" }
44 }
37 }
45 }
38 }
46}
39}
tests/mocks/Powerd/Powerd.qmltypes+6−13
@@ -15,19 +15,12 @@ Module {
15 isSingleton: true
15 isSingleton: true
16 exportMetaObjectRevisions: [0]
16 exportMetaObjectRevisions: [0]
17 Enum {
17 Enum {
18− name: "DisplayFlag"
18+ name: "DisplayStateChangeReason"
19 values: {
19 values: {
20− "UseProximity": 1,
20+ "Unknown": 0,
21− "DisableAutoBrightness": 2,
21+ "Inactivity": 1,
22− "Bright": 4
22+ "PowerKey": 2,
23− }
23+ "Proximity": 3
24− }
25− Enum {
26− name: "DisplayFlags"
27− values: {
28− "UseProximity": 1,
29− "DisableAutoBrightness": 2,
30− "Bright": 4
31 }
24 }
32 }
25 }
33 Enum {
26 Enum {
@@ -40,7 +33,7 @@ Module {
40 Signal {
33 Signal {
41 name: "displayPowerStateChange"
34 name: "displayPowerStateChange"
42 Parameter { name: "status"; type: "int" }
35 Parameter { name: "status"; type: "int" }
43− Parameter { name: "flags"; type: "uint" }
36+ Parameter { name: "reason"; type: "int" }
44 }
37 }
45 }
38 }
46}
39}
tests/mocks/Unity/Unity.qmltypes+1
@@ -272,6 +272,7 @@ Module {
272 Property { name: "isActive"; type: "bool" }
272 Property { name: "isActive"; type: "bool" }
273 Property { name: "currentDepartmentId"; type: "string"; isReadonly: true }
273 Property { name: "currentDepartmentId"; type: "string"; isReadonly: true }
274 Property { name: "hasDepartments"; type: "bool"; isReadonly: true }
274 Property { name: "hasDepartments"; type: "bool"; isReadonly: true }
275+ Property { name: "customizations"; type: "QVariantMap"; isReadonly: true }
275 Signal { name: "showDash" }
276 Signal { name: "showDash" }
276 Signal { name: "hideDash" }
277 Signal { name: "hideDash" }
277 Signal {
278 Signal {