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