on a8dcdbf help sign in
unity8/tests/mocks/Unity/Application/Application.qmltypes
475 lines 17 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 Signal {
243 name: "typeChanged"
244 Parameter { type: "Type" }
245 }
246 Signal {
247 name: "stateChanged"
248 Parameter { type: "State" }
249 }
250 Signal {
251 name: "liveChanged"
252 Parameter { name: "live"; type: "bool" }
253 }
254 Signal { name: "inputMethodRequested" }
255 Signal { name: "inputMethodDismissed" }
256 Signal { name: "deregister" }
257 Method {
258 name: "setState"
259 Parameter { name: "newState"; type: "State" }
260 }
261 Method { name: "release" }
262 }
263 Component { name: "QDBusAbstractAdaptor"; prototype: "QObject" }
264 Component {
265 name: "Session"
266 prototype: "QObject"
267 exports: ["Unity.Application/Session 0.1"]
268 isCreatable: false
269 exportMetaObjectRevisions: [0]
270 Property { name: "name"; type: "string"; isReadonly: true }
271 Property { name: "surface"; type: "MirSurfaceItem"; isReadonly: true; isPointer: true }
272 Property { name: "application"; type: "ApplicationInfo"; isReadonly: true; isPointer: true }
273 Property { name: "parentSession"; type: "Session"; isReadonly: true; isPointer: true }
274 Property { name: "childSessions"; type: "SessionModel"; isReadonly: true; isPointer: true }
275 Property { name: "live"; type: "bool"; isReadonly: true }
276 Signal {
277 name: "applicationChanged"
278 Parameter { type: "ApplicationInfo"; isPointer: true }
279 }
280 Signal {
281 name: "surfaceChanged"
282 Parameter { type: "MirSurfaceItem"; isPointer: true }
283 }
284 Signal {
285 name: "parentSessionChanged"
286 Parameter { type: "Session"; isPointer: true }
287 }
288 Signal {
289 name: "liveChanged"
290 Parameter { name: "live"; type: "bool" }
291 }
292 Signal { name: "deregister" }
293 Method { name: "createSurface" }
294 Method { name: "release" }
295 Method {
296 name: "addChildSession"
297 Parameter { name: "session"; type: "Session"; isPointer: true }
298 }
299 }
300 Component {
301 name: "SessionManager"
302 prototype: "QObject"
303 exports: ["Unity.Application/SessionManager 0.1"]
304 isCreatable: false
305 isSingleton: true
306 exportMetaObjectRevisions: [0]
307 Signal {
308 name: "sessionStarting"
309 Parameter { name: "session"; type: "Session"; isPointer: true }
310 }
311 Signal {
312 name: "sessionStopping"
313 Parameter { name: "session"; type: "Session"; isPointer: true }
314 }
315 Method {
316 name: "createSession"
317 type: "Session*"
318 Parameter { name: "name"; type: "string" }
319 Parameter { name: "screenshot"; type: "QUrl" }
320 }
321 }
322 Component {
323 name: "SurfaceManager"
324 prototype: "QObject"
325 exports: ["Unity.Application/SurfaceManager 0.1"]
326 isCreatable: false
327 isSingleton: true
328 exportMetaObjectRevisions: [0]
329 Signal { name: "countChanged" }
330 Signal {
331 name: "surfaceCreated"
332 Parameter { name: "surface"; type: "MirSurfaceItem"; isPointer: true }
333 }
334 Signal {
335 name: "surfaceDestroyed"
336 Parameter { name: "surface"; type: "MirSurfaceItem"; isPointer: true }
337 }
338 Method {
339 name: "createSurface"
340 type: "MirSurfaceItem*"
341 Parameter { name: "name"; type: "string" }
342 Parameter { name: "type"; type: "MirSurfaceItem::Type" }
343 Parameter { name: "state"; type: "MirSurfaceItem::State" }
344 Parameter { name: "screenshot"; type: "QUrl" }
345 }
346 Method { name: "inputMethodSurface"; type: "MirSurfaceItem*" }
347 }
348 Component {
349 name: "unity::shell::application::ApplicationInfoInterface"
350 prototype: "QObject"
351 exports: ["Unity.Application/ApplicationInfoInterface 0.1"]
352 isCreatable: false
353 exportMetaObjectRevisions: [0]
354 Enum {
355 name: "Stage"
356 values: {
357 "MainStage": 0,
358 "SideStage": 1
359 }
360 }
361 Enum {
362 name: "State"
363 values: {
364 "Starting": 0,
365 "Running": 1,
366 "Suspended": 2,
367 "Stopped": 3
368 }
369 }
370 Property { name: "appId"; type: "string"; isReadonly: true }
371 Property { name: "name"; type: "string"; isReadonly: true }
372 Property { name: "comment"; type: "string"; isReadonly: true }
373 Property { name: "icon"; type: "QUrl"; isReadonly: true }
374 Property { name: "stage"; type: "Stage"; isReadonly: true }
375 Property { name: "state"; type: "State"; isReadonly: true }
376 Property { name: "focused"; type: "bool"; isReadonly: true }
377 Property { name: "splashTitle"; type: "string"; isReadonly: true }
378 Property { name: "splashImage"; type: "QUrl"; isReadonly: true }
379 Property { name: "splashShowHeader"; type: "bool"; isReadonly: true }
380 Property { name: "splashColor"; type: "QColor"; isReadonly: true }
381 Property { name: "splashColorHeader"; type: "QColor"; isReadonly: true }
382 Property { name: "splashColorFooter"; type: "QColor"; isReadonly: true }
383 Signal {
384 name: "nameChanged"
385 Parameter { name: "name"; type: "string" }
386 }
387 Signal {
388 name: "commentChanged"
389 Parameter { name: "comment"; type: "string" }
390 }
391 Signal {
392 name: "iconChanged"
393 Parameter { name: "icon"; type: "QUrl" }
394 }
395 Signal {
396 name: "stageChanged"
397 Parameter { name: "stage"; type: "Stage" }
398 }
399 Signal {
400 name: "stateChanged"
401 Parameter { name: "state"; type: "State" }
402 }
403 Signal {
404 name: "focusedChanged"
405 Parameter { name: "focused"; type: "bool" }
406 }
407 }
408 Component {
409 name: "unity::shell::application::ApplicationManagerInterface"
410 prototype: "QAbstractListModel"
411 exports: ["Unity.Application/ApplicationManagerInterface 0.1"]
412 isCreatable: false
413 exportMetaObjectRevisions: [0]
414 Enum {
415 name: "Roles"
416 values: {
417 "RoleAppId": 256,
418 "RoleName": 257,
419 "RoleComment": 258,
420 "RoleIcon": 259,
421 "RoleStage": 260,
422 "RoleState": 261,
423 "RoleFocused": 262
424 }
425 }
426 Property { name: "count"; type: "int"; isReadonly: true }
427 Property { name: "focusedApplicationId"; type: "string"; isReadonly: true }
428 Property { name: "suspended"; type: "bool" }
429 Property { name: "forceDashActive"; type: "bool" }
430 Signal {
431 name: "focusRequested"
432 Parameter { name: "appId"; type: "string" }
433 }
434 Signal {
435 name: "applicationAdded"
436 Parameter { name: "appId"; type: "string" }
437 }
438 Signal {
439 name: "applicationRemoved"
440 Parameter { name: "appId"; type: "string" }
441 }
442 Method {
443 name: "get"
444 type: "unity::shell::application::ApplicationInfoInterface*"
445 Parameter { name: "index"; type: "int" }
446 }
447 Method {
448 name: "findApplication"
449 type: "unity::shell::application::ApplicationInfoInterface*"
450 Parameter { name: "appId"; type: "string" }
451 }
452 Method {
453 name: "requestFocusApplication"
454 type: "bool"
455 Parameter { name: "appId"; type: "string" }
456 }
457 Method {
458 name: "focusApplication"
459 type: "bool"
460 Parameter { name: "appId"; type: "string" }
461 }
462 Method { name: "unfocusCurrentApplication" }
463 Method {
464 name: "startApplication"
465 type: "unity::shell::application::ApplicationInfoInterface*"
466 Parameter { name: "appId"; type: "string" }
467 Parameter { name: "arguments"; type: "QStringList" }
468 }
469 Method {
470 name: "stopApplication"
471 type: "bool"
472 Parameter { name: "appId"; type: "string" }
473 }
474 }