on eae7049 help sign in
unity8/tests/mocks/Unity/Application/Application.qmltypes
517 lines 18 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: "session"; type: "Session"; isReadonly: true; isPointer: true }
17 Property { name: "manualSurfaceCreation"; type: "bool" }
18 Signal {
19 name: "sessionChanged"
20 Parameter { type: "Session"; isPointer: true }
21 }
22 Signal {
23 name: "fullscreenChanged"
24 Parameter { name: "value"; type: "bool" }
25 }
26 Signal {
27 name: "manualSurfaceCreationChanged"
28 Parameter { name: "value"; type: "bool" }
29 }
30 Method { name: "createSession" }
31 Method {
32 name: "setState"
33 Parameter { name: "value"; type: "State" }
34 }
35 }
36 Component {
37 name: "ApplicationManager"
38 prototype: "unity::shell::application::ApplicationManagerInterface"
39 exports: ["Unity.Application/ApplicationManager 0.1"]
40 isCreatable: false
41 isSingleton: true
42 exportMetaObjectRevisions: [0]
43 Enum {
44 name: "Role"
45 values: {
46 "Dash": 0,
47 "Default": 1,
48 "Indicators": 2,
49 "Notifications": 3,
50 "Greeter": 4,
51 "Launcher": 5,
52 "OnScreenKeyboard": 6,
53 "ShutdownDialog": 7
54 }
55 }
56 Enum {
57 name: "StageHint"
58 values: {
59 "MainStage": 0,
60 "IntegrationStage": 1,
61 "ShareStage": 2,
62 "ContentPickingStage": 3,
63 "SideStage": 4,
64 "ConfigurationStage": 5
65 }
66 }
67 Enum {
68 name: "FormFactorHint"
69 values: {
70 "DesktopFormFactor": 0,
71 "PhoneFormFactor": 1,
72 "TabletFormFactor": 2
73 }
74 }
75 Enum {
76 name: "FavoriteApplication"
77 values: {
78 "CameraApplication": 0,
79 "GalleryApplication": 1,
80 "BrowserApplication": 2,
81 "ShareApplication": 3,
82 "PhoneApplication": 4,
83 "DialerApplication": 5,
84 "MessagingApplication": 6,
85 "AddressbookApplication": 7
86 }
87 }
88 Enum {
89 name: "ExecFlags"
90 values: {
91 "NoFlag": 0,
92 "ForceMainStage": 1
93 }
94 }
95 Property { name: "empty"; type: "bool"; isReadonly: true }
96 Property { name: "sideStageWidth"; type: "int"; isReadonly: true }
97 Property { name: "stageHint"; type: "StageHint"; isReadonly: true }
98 Property { name: "formFactorHint"; type: "FormFactorHint"; isReadonly: true }
99 Property { name: "fake"; type: "bool"; isReadonly: true }
100 Signal {
101 name: "focusRequested"
102 Parameter { name: "favoriteApplication"; type: "FavoriteApplication" }
103 }
104 Signal {
105 name: "focusRequested"
106 Parameter { name: "appId"; type: "string" }
107 }
108 Signal {
109 name: "emptyChanged"
110 Parameter { name: "empty"; type: "bool" }
111 }
112 Method {
113 name: "get"
114 type: "ApplicationInfo*"
115 Parameter { name: "index"; type: "int" }
116 }
117 Method {
118 name: "findApplication"
119 type: "ApplicationInfo*"
120 Parameter { name: "appId"; type: "string" }
121 }
122 Method {
123 name: "move"
124 Parameter { name: "from"; type: "int" }
125 Parameter { name: "to"; type: "int" }
126 }
127 Method {
128 name: "requestFocusApplication"
129 type: "bool"
130 Parameter { name: "appId"; type: "string" }
131 }
132 Method {
133 name: "focusApplication"
134 type: "bool"
135 Parameter { name: "appId"; type: "string" }
136 }
137 Method { name: "unfocusCurrentApplication" }
138 Method {
139 name: "startApplication"
140 type: "ApplicationInfo*"
141 Parameter { name: "appId"; type: "string" }
142 Parameter { name: "arguments"; type: "QStringList" }
143 }
144 Method {
145 name: "startApplication"
146 type: "ApplicationInfo*"
147 Parameter { name: "appId"; type: "string" }
148 }
149 Method {
150 name: "startApplication"
151 type: "ApplicationInfo*"
152 Parameter { name: "appId"; type: "string" }
153 Parameter { name: "flags"; type: "ExecFlags" }
154 Parameter { name: "arguments"; type: "QStringList" }
155 }
156 Method {
157 name: "startApplication"
158 type: "ApplicationInfo*"
159 Parameter { name: "appId"; type: "string" }
160 Parameter { name: "flags"; type: "ExecFlags" }
161 }
162 Method {
163 name: "stopApplication"
164 type: "bool"
165 Parameter { name: "appId"; type: "string" }
166 }
167 Method { name: "availableApplications"; type: "QStringList" }
168 Method {
169 name: "add"
170 type: "ApplicationInfo*"
171 Parameter { name: "appId"; type: "string" }
172 }
173 }
174 Component {
175 name: "ApplicationTestInterface"
176 prototype: "QDBusAbstractAdaptor"
177 exports: ["Unity.Application/ApplicationTest 0.1"]
178 isCreatable: false
179 isSingleton: true
180 exportMetaObjectRevisions: [0]
181 Method {
182 name: "addChildSession"
183 type: "uint"
184 Parameter { name: "appId"; type: "string" }
185 Parameter { name: "existingSessionId"; type: "uint" }
186 Parameter { name: "surfaceImage"; type: "string" }
187 }
188 Method {
189 name: "removeSession"
190 Parameter { name: "sessionId"; type: "uint" }
191 }
192 Method {
193 name: "addChildSession"
194 type: "Session*"
195 Parameter { name: "existingSession"; type: "Session"; isPointer: true }
196 Parameter { name: "surfaceImage"; type: "string" }
197 }
198 Method {
199 name: "removeSession"
200 Parameter { name: "existingSession"; type: "Session"; isPointer: true }
201 }
202 Method {
203 name: "removeSurface"
204 Parameter { name: "existingSurface"; type: "MirSurfaceItem"; isPointer: true }
205 }
206 }
207 Component {
208 name: "MirSurfaceItem"
209 defaultProperty: "data"
210 prototype: "QQuickItem"
211 exports: ["Unity.Application/MirSurfaceItem 0.1"]
212 isCreatable: false
213 exportMetaObjectRevisions: [0]
214 Enum {
215 name: "Type"
216 values: {
217 "Normal": 0,
218 "Utility": 1,
219 "Dialog": 2,
220 "Overlay": 3,
221 "Freestyle": 4,
222 "Popover": 5,
223 "InputMethod": 6
224 }
225 }
226 Enum {
227 name: "State"
228 values: {
229 "Unknown": 0,
230 "Restored": 1,
231 "Minimized": 2,
232 "Maximized": 3,
233 "VertMaximized": 4,
234 "Fullscreen": 5
235 }
236 }
237 Property { name: "type"; type: "Type"; isReadonly: true }
238 Property { name: "state"; type: "State"; isReadonly: true }
239 Property { name: "name"; type: "string"; isReadonly: true }
240 Property { name: "live"; type: "bool"; isReadonly: true }
241 Property { name: "orientation"; type: "Qt::ScreenOrientation" }
242 Property { name: "touchPressCount"; type: "int" }
243 Property { name: "touchReleaseCount"; type: "int" }
244 Signal {
245 name: "typeChanged"
246 Parameter { type: "Type" }
247 }
248 Signal {
249 name: "stateChanged"
250 Parameter { type: "State" }
251 }
252 Signal {
253 name: "liveChanged"
254 Parameter { name: "live"; type: "bool" }
255 }
256 Signal {
257 name: "touchPressCountChanged"
258 Parameter { name: "count"; type: "int" }
259 }
260 Signal {
261 name: "touchReleaseCountChanged"
262 Parameter { name: "count"; type: "int" }
263 }
264 Signal { name: "inputMethodRequested" }
265 Signal { name: "inputMethodDismissed" }
266 Signal { name: "deregister" }
267 Method {
268 name: "setState"
269 Parameter { name: "newState"; type: "State" }
270 }
271 Method { name: "release" }
272 }
273 Component { name: "QDBusAbstractAdaptor"; prototype: "QObject" }
274 Component {
275 name: "Session"
276 prototype: "QObject"
277 exports: ["Unity.Application/Session 0.1"]
278 isCreatable: false
279 exportMetaObjectRevisions: [0]
280 Property { name: "name"; type: "string"; isReadonly: true }
281 Property { name: "surface"; type: "MirSurfaceItem"; isReadonly: true; isPointer: true }
282 Property { name: "application"; type: "ApplicationInfo"; isReadonly: true; isPointer: true }
283 Property { name: "parentSession"; type: "Session"; isReadonly: true; isPointer: true }
284 Property { name: "childSessions"; type: "SessionModel"; isReadonly: true; isPointer: true }
285 Property { name: "live"; type: "bool"; isReadonly: true }
286 Signal {
287 name: "applicationChanged"
288 Parameter { type: "ApplicationInfo"; isPointer: true }
289 }
290 Signal {
291 name: "surfaceChanged"
292 Parameter { type: "MirSurfaceItem"; isPointer: true }
293 }
294 Signal {
295 name: "parentSessionChanged"
296 Parameter { type: "Session"; isPointer: true }
297 }
298 Signal {
299 name: "liveChanged"
300 Parameter { name: "live"; type: "bool" }
301 }
302 Signal { name: "deregister" }
303 Method { name: "createSurface" }
304 Method { name: "release" }
305 Method {
306 name: "addChildSession"
307 Parameter { name: "session"; type: "Session"; isPointer: true }
308 }
309 Method {
310 name: "removeChildSession"
311 Parameter { name: "session"; type: "Session"; isPointer: true }
312 }
313 }
314 Component {
315 name: "SessionManager"
316 prototype: "QObject"
317 exports: ["Unity.Application/SessionManager 0.1"]
318 isCreatable: false
319 isSingleton: true
320 exportMetaObjectRevisions: [0]
321 Signal {
322 name: "sessionStarting"
323 Parameter { name: "session"; type: "Session"; isPointer: true }
324 }
325 Signal {
326 name: "sessionStopping"
327 Parameter { name: "session"; type: "Session"; isPointer: true }
328 }
329 Method {
330 name: "createSession"
331 type: "Session*"
332 Parameter { name: "name"; type: "string" }
333 Parameter { name: "screenshot"; type: "QUrl" }
334 }
335 }
336 Component {
337 name: "SurfaceManager"
338 prototype: "QObject"
339 exports: ["Unity.Application/SurfaceManager 0.1"]
340 isCreatable: false
341 isSingleton: true
342 exportMetaObjectRevisions: [0]
343 Signal { name: "countChanged" }
344 Signal {
345 name: "surfaceCreated"
346 Parameter { name: "surface"; type: "MirSurfaceItem"; isPointer: true }
347 }
348 Signal {
349 name: "surfaceDestroyed"
350 Parameter { name: "surface"; type: "MirSurfaceItem"; isPointer: true }
351 }
352 Method {
353 name: "createSurface"
354 type: "MirSurfaceItem*"
355 Parameter { name: "name"; type: "string" }
356 Parameter { name: "type"; type: "MirSurfaceItem::Type" }
357 Parameter { name: "state"; type: "MirSurfaceItem::State" }
358 Parameter { name: "screenshot"; type: "QUrl" }
359 }
360 Method { name: "inputMethodSurface"; type: "MirSurfaceItem*" }
361 }
362 Component {
363 name: "UbuntuKeyboardInfo"
364 prototype: "QObject"
365 exports: ["Unity.Application/UbuntuKeyboardInfo 0.1"]
366 isCreatable: false
367 isSingleton: true
368 exportMetaObjectRevisions: [0]
369 Property { name: "x"; type: "double"; isReadonly: true }
370 Property { name: "y"; type: "double"; isReadonly: true }
371 Property { name: "width"; type: "double"; isReadonly: true }
372 Property { name: "height"; type: "double"; isReadonly: true }
373 Signal {
374 name: "xChanged"
375 Parameter { name: "x"; type: "double" }
376 }
377 Signal {
378 name: "yChanged"
379 Parameter { name: "y"; type: "double" }
380 }
381 Signal {
382 name: "widthChanged"
383 Parameter { name: "width"; type: "double" }
384 }
385 Signal {
386 name: "heightChanged"
387 Parameter { name: "height"; type: "double" }
388 }
389 }
390 Component {
391 name: "unity::shell::application::ApplicationInfoInterface"
392 prototype: "QObject"
393 exports: ["Unity.Application/ApplicationInfoInterface 0.1"]
394 isCreatable: false
395 exportMetaObjectRevisions: [0]
396 Enum {
397 name: "Stage"
398 values: {
399 "MainStage": 0,
400 "SideStage": 1
401 }
402 }
403 Enum {
404 name: "State"
405 values: {
406 "Starting": 0,
407 "Running": 1,
408 "Suspended": 2,
409 "Stopped": 3
410 }
411 }
412 Property { name: "appId"; type: "string"; isReadonly: true }
413 Property { name: "name"; type: "string"; isReadonly: true }
414 Property { name: "comment"; type: "string"; isReadonly: true }
415 Property { name: "icon"; type: "QUrl"; isReadonly: true }
416 Property { name: "stage"; type: "Stage"; isReadonly: true }
417 Property { name: "state"; type: "State"; isReadonly: true }
418 Property { name: "focused"; type: "bool"; isReadonly: true }
419 Property { name: "splashTitle"; type: "string"; isReadonly: true }
420 Property { name: "splashImage"; type: "QUrl"; isReadonly: true }
421 Property { name: "splashShowHeader"; type: "bool"; isReadonly: true }
422 Property { name: "splashColor"; type: "QColor"; isReadonly: true }
423 Property { name: "splashColorHeader"; type: "QColor"; isReadonly: true }
424 Property { name: "splashColorFooter"; type: "QColor"; isReadonly: true }
425 Signal {
426 name: "nameChanged"
427 Parameter { name: "name"; type: "string" }
428 }
429 Signal {
430 name: "commentChanged"
431 Parameter { name: "comment"; type: "string" }
432 }
433 Signal {
434 name: "iconChanged"
435 Parameter { name: "icon"; type: "QUrl" }
436 }
437 Signal {
438 name: "stageChanged"
439 Parameter { name: "stage"; type: "Stage" }
440 }
441 Signal {
442 name: "stateChanged"
443 Parameter { name: "state"; type: "State" }
444 }
445 Signal {
446 name: "focusedChanged"
447 Parameter { name: "focused"; type: "bool" }
448 }
449 }
450 Component {
451 name: "unity::shell::application::ApplicationManagerInterface"
452 prototype: "QAbstractListModel"
453 exports: ["Unity.Application/ApplicationManagerInterface 0.1"]
454 isCreatable: false
455 exportMetaObjectRevisions: [0]
456 Enum {
457 name: "Roles"
458 values: {
459 "RoleAppId": 256,
460 "RoleName": 257,
461 "RoleComment": 258,
462 "RoleIcon": 259,
463 "RoleStage": 260,
464 "RoleState": 261,
465 "RoleFocused": 262
466 }
467 }
468 Property { name: "count"; type: "int"; isReadonly: true }
469 Property { name: "focusedApplicationId"; type: "string"; isReadonly: true }
470 Property { name: "suspended"; type: "bool" }
471 Property { name: "forceDashActive"; type: "bool" }
472 Signal {
473 name: "focusRequested"
474 Parameter { name: "appId"; type: "string" }
475 }
476 Signal {
477 name: "applicationAdded"
478 Parameter { name: "appId"; type: "string" }
479 }
480 Signal {
481 name: "applicationRemoved"
482 Parameter { name: "appId"; type: "string" }
483 }
484 Method {
485 name: "get"
486 type: "unity::shell::application::ApplicationInfoInterface*"
487 Parameter { name: "index"; type: "int" }
488 }
489 Method {
490 name: "findApplication"
491 type: "unity::shell::application::ApplicationInfoInterface*"
492 Parameter { name: "appId"; type: "string" }
493 }
494 Method {
495 name: "requestFocusApplication"
496 type: "bool"
497 Parameter { name: "appId"; type: "string" }
498 }
499 Method {
500 name: "focusApplication"
501 type: "bool"
502 Parameter { name: "appId"; type: "string" }
503 }
504 Method { name: "unfocusCurrentApplication" }
505 Method {
506 name: "startApplication"
507 type: "unity::shell::application::ApplicationInfoInterface*"
508 Parameter { name: "appId"; type: "string" }
509 Parameter { name: "arguments"; type: "QStringList" }
510 }
511 Method {
512 name: "stopApplication"
513 type: "bool"
514 Parameter { name: "appId"; type: "string" }
515 }
516 }