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