on 29019df help sign in
unity8/tests/mocks/Unity/Launcher/Launcher.qmltypes
171 lines 5.8 kB history raw
1import QtQuick.tooling 1.1
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.Launcher 0.1 tests/mocks'
9Module {
10 Component {
11 name: "MockLauncherItem"
12 prototype: "unity::shell::launcher::LauncherItemInterface"
13 exports: ["Unity.Launcher/LauncherItem 0.1"]
14 isCreatable: false
15 exportMetaObjectRevisions: [0]
16 }
17 Component {
18 name: "MockLauncherModel"
19 prototype: "unity::shell::launcher::LauncherModelInterface"
20 exports: ["Unity.Launcher/LauncherModel 0.1"]
21 isCreatable: false
22 isSingleton: true
23 exportMetaObjectRevisions: [0]
24 Signal {
25 name: "quickListTriggered"
26 Parameter { name: "appId"; type: "string" }
27 Parameter { name: "index"; type: "int" }
28 }
29 Method {
30 name: "get"
31 type: "unity::shell::launcher::LauncherItemInterface*"
32 Parameter { name: "index"; type: "int" }
33 }
34 Method {
35 name: "move"
36 Parameter { name: "oldIndex"; type: "int" }
37 Parameter { name: "newIndex"; type: "int" }
38 }
39 Method {
40 name: "pin"
41 Parameter { name: "appId"; type: "string" }
42 Parameter { name: "index"; type: "int" }
43 }
44 Method {
45 name: "pin"
46 Parameter { name: "appId"; type: "string" }
47 }
48 Method {
49 name: "requestRemove"
50 Parameter { name: "appId"; type: "string" }
51 }
52 Method {
53 name: "quickListActionInvoked"
54 Parameter { name: "appId"; type: "string" }
55 Parameter { name: "actionIndex"; type: "int" }
56 }
57 Method {
58 name: "setUser"
59 Parameter { name: "username"; type: "string" }
60 }
61 Method {
62 name: "getUrlForAppId"
63 type: "string"
64 Parameter { name: "appId"; type: "string" }
65 }
66 }
67 Component {
68 name: "MockQuickListModel"
69 prototype: "unity::shell::launcher::QuickListModelInterface"
70 exports: ["Unity.Launcher/QuickListModel 0.1"]
71 isCreatable: false
72 exportMetaObjectRevisions: [0]
73 }
74 Component {
75 name: "unity::shell::launcher::LauncherItemInterface"
76 prototype: "QObject"
77 exports: ["Unity.Launcher/LauncherItemInterface 0.1"]
78 isCreatable: false
79 exportMetaObjectRevisions: [0]
80 Property { name: "appId"; type: "string"; isReadonly: true }
81 Property { name: "name"; type: "string"; isReadonly: true }
82 Property { name: "icon"; type: "string"; isReadonly: true }
83 Property { name: "pinned"; type: "bool"; isReadonly: true }
84 Property { name: "running"; type: "bool"; isReadonly: true }
85 Property { name: "recent"; type: "bool"; isReadonly: true }
86 Property { name: "progress"; type: "int"; isReadonly: true }
87 Property { name: "count"; type: "int"; isReadonly: true }
88 Property { name: "focused"; type: "bool"; isReadonly: true }
89 Property {
90 name: "quickList"
91 type: "unity::shell::launcher::QuickListModelInterface"
92 isReadonly: true
93 isPointer: true
94 }
95 Signal {
96 name: "pinnedChanged"
97 Parameter { name: "pinned"; type: "bool" }
98 }
99 Signal {
100 name: "runningChanged"
101 Parameter { name: "running"; type: "bool" }
102 }
103 Signal {
104 name: "recentChanged"
105 Parameter { name: "running"; type: "bool" }
106 }
107 Signal {
108 name: "progressChanged"
109 Parameter { name: "progress"; type: "int" }
110 }
111 Signal {
112 name: "countChanged"
113 Parameter { name: "count"; type: "int" }
114 }
115 Signal {
116 name: "focusedChanged"
117 Parameter { name: "focused"; type: "bool" }
118 }
119 }
120 Component {
121 name: "unity::shell::launcher::LauncherModelInterface"
122 prototype: "QAbstractListModel"
123 exports: ["Unity.Launcher/LauncherModelInterface 0.1"]
124 isCreatable: false
125 exportMetaObjectRevisions: [0]
126 Property {
127 name: "applicationManager"
128 type: "unity::shell::application::ApplicationManagerInterface"
129 isPointer: true
130 }
131 Method {
132 name: "move"
133 Parameter { name: "oldIndex"; type: "int" }
134 Parameter { name: "newIndex"; type: "int" }
135 }
136 Method {
137 name: "get"
138 type: "unity::shell::launcher::LauncherItemInterface*"
139 Parameter { name: "index"; type: "int" }
140 }
141 Method {
142 name: "pin"
143 Parameter { name: "appId"; type: "string" }
144 Parameter { name: "index"; type: "int" }
145 }
146 Method {
147 name: "pin"
148 Parameter { name: "appId"; type: "string" }
149 }
150 Method {
151 name: "requestRemove"
152 Parameter { name: "appId"; type: "string" }
153 }
154 Method {
155 name: "quickListActionInvoked"
156 Parameter { name: "appId"; type: "string" }
157 Parameter { name: "actionIndex"; type: "int" }
158 }
159 Method {
160 name: "setUser"
161 Parameter { name: "username"; type: "string" }
162 }
163 }
164 Component {
165 name: "unity::shell::launcher::QuickListModelInterface"
166 prototype: "QAbstractListModel"
167 exports: ["Unity.Launcher/QuickListModelInterface 0.1"]
168 isCreatable: false
169 exportMetaObjectRevisions: [0]
170 }