on ee4510d help sign in
unity8/tests/mocks/Unity/Application/Application.qmltypes
417 lines 14 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.Application 0.1 tests/mocks'
9Module {
10 Component {
11 name: "ApplicationInfo"
12 prototype: "unity::shell::application::ApplicationInfoInterface"
13 exports: ["Unity.Application/ApplicationInfo 0.1"]
14 exportMetaObjectRevisions: [0]
15 Property { name: "fullscreen"; type: "bool" }
16 Property { name: "stage"; type: "Stage" }
17 Property { name: "surface"; type: "MirSurfaceItem"; isReadonly: true; isPointer: true }
18 Property { name: "promptSurfaces"; type: "MirSurfaceItem"; isList: true; isReadonly: true }
19 Property { name: "imageQml"; type: "string" }
20 Property { name: "windowQml"; type: "string" }
21 Signal {
22 name: "appIdChanged"
23 Parameter { type: "string" }
24 }
25 Signal {
26 name: "nameChanged"
27 Parameter { type: "string" }
28 }
29 Signal {
30 name: "commentChanged"
31 Parameter { type: "string" }
32 }
33 Signal {
34 name: "iconChanged"
35 Parameter { type: "QUrl" }
36 }
37 Signal {
38 name: "stageChanged"
39 Parameter { type: "Stage" }
40 }
41 Signal {
42 name: "stateChanged"
43 Parameter { type: "State" }
44 }
45 Signal {
46 name: "focusedChanged"
47 Parameter { type: "bool" }
48 }
49 Signal {
50 name: "fullscreenChanged"
51 Parameter { type: "bool" }
52 }
53 Signal {
54 name: "imageQmlChanged"
55 Parameter { type: "string" }
56 }
57 Signal {
58 name: "windowQmlChanged"
59 Parameter { type: "string" }
60 }
61 Signal {
62 name: "screenshotChanged"
63 Parameter { type: "QUrl" }
64 }
65 Signal {
66 name: "surfaceChanged"
67 Parameter { type: "MirSurfaceItem"; isPointer: true }
68 }
69 }
70 Component {
71 name: "ApplicationManager"
72 prototype: "unity::shell::application::ApplicationManagerInterface"
73 exports: ["Unity.Application/ApplicationManager 0.1"]
74 isCreatable: false
75 isSingleton: true
76 exportMetaObjectRevisions: [0]
77 Enum {
78 name: "Role"
79 values: {
80 "Dash": 0,
81 "Default": 1,
82 "Indicators": 2,
83 "Notifications": 3,
84 "Greeter": 4,
85 "Launcher": 5,
86 "OnScreenKeyboard": 6,
87 "ShutdownDialog": 7
88 }
89 }
90 Enum {
91 name: "StageHint"
92 values: {
93 "MainStage": 0,
94 "IntegrationStage": 1,
95 "ShareStage": 2,
96 "ContentPickingStage": 3,
97 "SideStage": 4,
98 "ConfigurationStage": 5
99 }
100 }
101 Enum {
102 name: "FormFactorHint"
103 values: {
104 "DesktopFormFactor": 0,
105 "PhoneFormFactor": 1,
106 "TabletFormFactor": 2
107 }
108 }
109 Enum {
110 name: "FavoriteApplication"
111 values: {
112 "CameraApplication": 0,
113 "GalleryApplication": 1,
114 "BrowserApplication": 2,
115 "ShareApplication": 3,
116 "PhoneApplication": 4,
117 "DialerApplication": 5,
118 "MessagingApplication": 6,
119 "AddressbookApplication": 7
120 }
121 }
122 Enum {
123 name: "ExecFlags"
124 values: {
125 "NoFlag": 0,
126 "ForceMainStage": 1
127 }
128 }
129 Property { name: "empty"; type: "bool"; isReadonly: true }
130 Property { name: "sideStageWidth"; type: "int"; isReadonly: true }
131 Property { name: "stageHint"; type: "StageHint"; isReadonly: true }
132 Property { name: "formFactorHint"; type: "FormFactorHint"; isReadonly: true }
133 Property { name: "fake"; type: "bool"; isReadonly: true }
134 Signal {
135 name: "focusRequested"
136 Parameter { name: "favoriteApplication"; type: "FavoriteApplication" }
137 }
138 Signal {
139 name: "focusRequested"
140 Parameter { name: "appId"; type: "string" }
141 }
142 Signal {
143 name: "emptyChanged"
144 Parameter { name: "empty"; type: "bool" }
145 }
146 Method {
147 name: "get"
148 type: "ApplicationInfo*"
149 Parameter { name: "index"; type: "int" }
150 }
151 Method {
152 name: "findApplication"
153 type: "ApplicationInfo*"
154 Parameter { name: "appId"; type: "string" }
155 }
156 Method {
157 name: "move"
158 Parameter { name: "from"; type: "int" }
159 Parameter { name: "to"; type: "int" }
160 }
161 Method {
162 name: "requestFocusApplication"
163 type: "bool"
164 Parameter { name: "appId"; type: "string" }
165 }
166 Method {
167 name: "focusApplication"
168 type: "bool"
169 Parameter { name: "appId"; type: "string" }
170 }
171 Method { name: "unfocusCurrentApplication" }
172 Method {
173 name: "startApplication"
174 type: "ApplicationInfo*"
175 Parameter { name: "appId"; type: "string" }
176 Parameter { name: "arguments"; type: "QStringList" }
177 }
178 Method {
179 name: "startApplication"
180 type: "ApplicationInfo*"
181 Parameter { name: "appId"; type: "string" }
182 }
183 Method {
184 name: "startApplication"
185 type: "ApplicationInfo*"
186 Parameter { name: "appId"; type: "string" }
187 Parameter { name: "flags"; type: "ExecFlags" }
188 Parameter { name: "arguments"; type: "QStringList" }
189 }
190 Method {
191 name: "startApplication"
192 type: "ApplicationInfo*"
193 Parameter { name: "appId"; type: "string" }
194 Parameter { name: "flags"; type: "ExecFlags" }
195 }
196 Method {
197 name: "stopApplication"
198 type: "bool"
199 Parameter { name: "appId"; type: "string" }
200 }
201 Method {
202 name: "updateScreenshot"
203 type: "bool"
204 Parameter { name: "appId"; type: "string" }
205 }
206 Method { name: "availableApplications"; type: "QStringList" }
207 }
208 Component {
209 name: "MirSurfaceItem"
210 defaultProperty: "data"
211 prototype: "QQuickPaintedItem"
212 exports: ["Unity.Application/MirSurfaceItem 0.1"]
213 isCreatable: false
214 exportMetaObjectRevisions: [0]
215 Enum {
216 name: "Type"
217 values: {
218 "Normal": 0,
219 "Utility": 1,
220 "Dialog": 2,
221 "Overlay": 3,
222 "Freestyle": 4,
223 "Popover": 5,
224 "InputMethod": 6
225 }
226 }
227 Enum {
228 name: "State"
229 values: {
230 "Unknown": 0,
231 "Restored": 1,
232 "Minimized": 2,
233 "Maximized": 3,
234 "VertMaximized": 4,
235 "Fullscreen": 5
236 }
237 }
238 Property { name: "type"; type: "Type"; isReadonly: true }
239 Property { name: "state"; type: "State"; isReadonly: true }
240 Property { name: "name"; type: "string"; isReadonly: true }
241 Property { name: "parentSurface"; type: "MirSurfaceItem"; isReadonly: true; isPointer: true }
242 Property { name: "childSurfaces"; type: "MirSurfaceItem"; isList: true; isReadonly: true }
243 Signal {
244 name: "typeChanged"
245 Parameter { type: "Type" }
246 }
247 Signal {
248 name: "stateChanged"
249 Parameter { type: "State" }
250 }
251 Signal {
252 name: "nameChanged"
253 Parameter { type: "string" }
254 }
255 Signal {
256 name: "parentSurfaceChanged"
257 Parameter { type: "MirSurfaceItem"; isPointer: true }
258 }
259 Signal { name: "removed" }
260 Signal { name: "inputMethodRequested" }
261 Signal { name: "inputMethodDismissed" }
262 Method {
263 name: "setState"
264 Parameter { name: "newState"; type: "State" }
265 }
266 Method { name: "release" }
267 }
268 Component {
269 name: "SurfaceManager"
270 prototype: "QObject"
271 exports: ["Unity.Application/SurfaceManager 0.1"]
272 isCreatable: false
273 isSingleton: true
274 exportMetaObjectRevisions: [0]
275 Signal { name: "countChanged" }
276 Signal {
277 name: "surfaceCreated"
278 Parameter { name: "surface"; type: "MirSurfaceItem"; isPointer: true }
279 }
280 Signal {
281 name: "surfaceDestroyed"
282 Parameter { name: "surface"; type: "MirSurfaceItem"; isPointer: true }
283 }
284 Method { name: "inputMethodSurface"; type: "MirSurfaceItem*" }
285 }
286 Component {
287 name: "unity::shell::application::ApplicationInfoInterface"
288 prototype: "QObject"
289 exports: ["Unity.Application/ApplicationInfoInterface 0.1"]
290 isCreatable: false
291 exportMetaObjectRevisions: [0]
292 Enum {
293 name: "Stage"
294 values: {
295 "MainStage": 0,
296 "SideStage": 1
297 }
298 }
299 Enum {
300 name: "State"
301 values: {
302 "Starting": 0,
303 "Running": 1,
304 "Suspended": 2,
305 "Stopped": 3
306 }
307 }
308 Property { name: "appId"; type: "string"; isReadonly: true }
309 Property { name: "name"; type: "string"; isReadonly: true }
310 Property { name: "comment"; type: "string"; isReadonly: true }
311 Property { name: "icon"; type: "QUrl"; isReadonly: true }
312 Property { name: "stage"; type: "Stage"; isReadonly: true }
313 Property { name: "state"; type: "State"; isReadonly: true }
314 Property { name: "focused"; type: "bool"; isReadonly: true }
315 Property { name: "screenshot"; type: "QUrl"; isReadonly: true }
316 Signal {
317 name: "nameChanged"
318 Parameter { name: "name"; type: "string" }
319 }
320 Signal {
321 name: "commentChanged"
322 Parameter { name: "comment"; type: "string" }
323 }
324 Signal {
325 name: "iconChanged"
326 Parameter { name: "icon"; type: "QUrl" }
327 }
328 Signal {
329 name: "stageChanged"
330 Parameter { name: "stage"; type: "Stage" }
331 }
332 Signal {
333 name: "stateChanged"
334 Parameter { name: "state"; type: "State" }
335 }
336 Signal {
337 name: "focusedChanged"
338 Parameter { name: "focused"; type: "bool" }
339 }
340 Signal {
341 name: "screenshotChanged"
342 Parameter { name: "screenshot"; type: "QUrl" }
343 }
344 }
345 Component {
346 name: "unity::shell::application::ApplicationManagerInterface"
347 prototype: "QAbstractListModel"
348 exports: ["Unity.Application/ApplicationManagerInterface 0.1"]
349 isCreatable: false
350 exportMetaObjectRevisions: [0]
351 Enum {
352 name: "Roles"
353 values: {
354 "RoleAppId": 256,
355 "RoleName": 257,
356 "RoleComment": 258,
357 "RoleIcon": 259,
358 "RoleStage": 260,
359 "RoleState": 261,
360 "RoleFocused": 262,
361 "RoleScreenshot": 263
362 }
363 }
364 Property { name: "count"; type: "int"; isReadonly: true }
365 Property { name: "focusedApplicationId"; type: "string"; isReadonly: true }
366 Property { name: "suspended"; type: "bool" }
367 Signal {
368 name: "focusRequested"
369 Parameter { name: "appId"; type: "string" }
370 }
371 Signal {
372 name: "applicationAdded"
373 Parameter { name: "appId"; type: "string" }
374 }
375 Signal {
376 name: "applicationRemoved"
377 Parameter { name: "appId"; type: "string" }
378 }
379 Method {
380 name: "get"
381 type: "unity::shell::application::ApplicationInfoInterface*"
382 Parameter { name: "index"; type: "int" }
383 }
384 Method {
385 name: "findApplication"
386 type: "unity::shell::application::ApplicationInfoInterface*"
387 Parameter { name: "appId"; type: "string" }
388 }
389 Method {
390 name: "requestFocusApplication"
391 type: "bool"
392 Parameter { name: "appId"; type: "string" }
393 }
394 Method {
395 name: "focusApplication"
396 type: "bool"
397 Parameter { name: "appId"; type: "string" }
398 }
399 Method { name: "unfocusCurrentApplication" }
400 Method {
401 name: "startApplication"
402 type: "unity::shell::application::ApplicationInfoInterface*"
403 Parameter { name: "appId"; type: "string" }
404 Parameter { name: "arguments"; type: "QStringList" }
405 }
406 Method {
407 name: "stopApplication"
408 type: "bool"
409 Parameter { name: "appId"; type: "string" }
410 }
411 Method {
412 name: "updateScreenshot"
413 type: "bool"
414 Parameter { name: "appId"; type: "string" }
415 }
416 }