on xenial help sign in
Add missing qmltypes
commit63856ad6ad0986a2bbce9453a38b40f46466c373 authorMichał Sawicz <michal.sawicz@canonical.com> dateThu 14 Aug 2014, 15:33 (12 years ago) parent4909579
3 files changed+137
plugins/Unity/DashCommunicator/DashCommunicator.qmltypes+34 tests/mocks/Ubuntu/Telephony/Telephony.qmltypes+57 tests/mocks/Unity/DashCommunicator/DashCommunicator.qmltypes+46
plugins/Unity/DashCommunicator/DashCommunicator.qmltypesnew file+34
@@ -0,0 +1,34 @@
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 Unity.DashCommunicator 0.1 plugins'
8+
9+Module {
10+ Component {
11+ name: "DashCommunicator"
12+ prototype: "QObject"
13+ exports: ["Unity.DashCommunicator/DashCommunicator 0.1"]
14+ exportMetaObjectRevisions: [0]
15+ Method {
16+ name: "setCurrentScope"
17+ Parameter { name: "scopeId"; type: "string" }
18+ Parameter { name: "animate"; type: "bool" }
19+ Parameter { name: "reset"; type: "bool" }
20+ }
21+ }
22+ Component {
23+ name: "DashCommunicatorService"
24+ prototype: "QObject"
25+ exports: ["Unity.DashCommunicator/DashCommunicatorService 0.1"]
26+ exportMetaObjectRevisions: [0]
27+ Signal {
28+ name: "setCurrentScopeRequested"
29+ Parameter { name: "scopeId"; type: "string" }
30+ Parameter { name: "animate"; type: "bool" }
31+ Parameter { name: "reset"; type: "bool" }
32+ }
33+ }
34+}
tests/mocks/Ubuntu/Telephony/Telephony.qmltypesnew file+57
@@ -0,0 +1,57 @@
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 Ubuntu.Telephony 0.1 tests/mocks'
8+
9+Module {
10+ Component {
11+ name: "ContactWatcherData"
12+ prototype: "QObject"
13+ exports: ["Ubuntu.Telephony/ContactWatcherData 0.1"]
14+ isCreatable: false
15+ exportMetaObjectRevisions: [0]
16+ Property { name: "contactData"; type: "QVariant" }
17+ }
18+ Component {
19+ name: "MockCallEntry"
20+ prototype: "QObject"
21+ exports: ["Ubuntu.Telephony/CallEntry 0.1"]
22+ exportMetaObjectRevisions: [0]
23+ Property { name: "phoneNumber"; type: "string" }
24+ Property { name: "isConference"; type: "bool" }
25+ Property { name: "elapsedTime"; type: "int"; isReadonly: true }
26+ }
27+ Component {
28+ name: "MockCallManager"
29+ prototype: "QObject"
30+ exports: ["Ubuntu.Telephony/CallManager 0.1"]
31+ isCreatable: false
32+ exportMetaObjectRevisions: [0]
33+ Property { name: "foregroundCall"; type: "QObject"; isPointer: true }
34+ Property { name: "backgroundCall"; type: "QObject"; isPointer: true }
35+ Property { name: "hasCalls"; type: "bool"; isReadonly: true }
36+ Property { name: "callIndicatorVisible"; type: "bool" }
37+ }
38+ Component {
39+ name: "MockContactWatcher"
40+ prototype: "QObject"
41+ exports: ["Ubuntu.Telephony/ContactWatcher 0.1"]
42+ exportMetaObjectRevisions: [0]
43+ Property { name: "phoneNumber"; type: "string" }
44+ Property { name: "alias"; type: "string"; isReadonly: true }
45+ }
46+ Component {
47+ name: "MockTelepathyHelper"
48+ prototype: "QObject"
49+ exports: ["Ubuntu.Telephony/TelepathyHelper 0.1"]
50+ isCreatable: false
51+ exportMetaObjectRevisions: [0]
52+ Method {
53+ name: "registerChannelObserver"
54+ Parameter { name: "name"; type: "string" }
55+ }
56+ }
57+}
tests/mocks/Unity/DashCommunicator/DashCommunicator.qmltypesnew file+46
@@ -0,0 +1,46 @@
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 Unity.DashCommunicator 0.1 tests/mocks'
8+
9+Module {
10+ Component {
11+ name: "DashCommunicator"
12+ prototype: "QObject"
13+ exports: ["Unity.DashCommunicator/DashCommunicator 0.1"]
14+ exportMetaObjectRevisions: [0]
15+ Signal {
16+ name: "setCurrentScopeCalled"
17+ Parameter { name: "scopeId"; type: "string" }
18+ Parameter { name: "animate"; type: "bool" }
19+ Parameter { name: "reset"; type: "bool" }
20+ }
21+ Method {
22+ name: "setCurrentScope"
23+ Parameter { name: "scopeId"; type: "string" }
24+ Parameter { name: "animate"; type: "bool" }
25+ Parameter { name: "reset"; type: "bool" }
26+ }
27+ }
28+ Component {
29+ name: "DashCommunicatorService"
30+ prototype: "QObject"
31+ exports: ["Unity.DashCommunicator/DashCommunicatorService 0.1"]
32+ exportMetaObjectRevisions: [0]
33+ Signal {
34+ name: "setCurrentScopeRequested"
35+ Parameter { name: "scopeId"; type: "string" }
36+ Parameter { name: "animate"; type: "bool" }
37+ Parameter { name: "reset"; type: "bool" }
38+ }
39+ Method {
40+ name: "mockSetCurrentScope"
41+ Parameter { name: "scopeId"; type: "string" }
42+ Parameter { name: "animate"; type: "bool" }
43+ Parameter { name: "reset"; type: "bool" }
44+ }
45+ }
46+}