on c4e54da help sign in
unity8/tests/mocks/Unity/Application/Application.qmltypes
313 lines 11 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: "imageQml"; type: "string" }
37 Property { name: "windowQml"; type: "string" }
38 Signal { name: "appIdChanged" }
39 Signal { name: "nameChanged" }
40 Signal { name: "commentChanged" }
41 Signal { name: "iconChanged" }
42 Signal { name: "stateChanged" }
43 Signal { name: "focusedChanged" }
44 Signal { name: "screenshotChanged" }
45 }
46 Component {
47 name: "ApplicationManager"
48 prototype: "unity::shell::application::ApplicationManagerInterface"
49 exports: ["Unity.Application/ApplicationManager 0.1"]
50 isCreatable: false
51 isSingleton: true
52 exportMetaObjectRevisions: [0]
53 Enum {
54 name: "Role"
55 values: {
56 "Dash": 0,
57 "Default": 1,
58 "Indicators": 2,
59 "Notifications": 3,
60 "Greeter": 4,
61 "Launcher": 5,
62 "OnScreenKeyboard": 6,
63 "ShutdownDialog": 7
64 }
65 }
66 Enum {
67 name: "StageHint"
68 values: {
69 "MainStage": 0,
70 "IntegrationStage": 1,
71 "ShareStage": 2,
72 "ContentPickingStage": 3,
73 "SideStage": 4,
74 "ConfigurationStage": 5
75 }
76 }
77 Enum {
78 name: "FormFactorHint"
79 values: {
80 "DesktopFormFactor": 0,
81 "PhoneFormFactor": 1,
82 "TabletFormFactor": 2
83 }
84 }
85 Enum {
86 name: "FavoriteApplication"
87 values: {
88 "CameraApplication": 0,
89 "GalleryApplication": 1,
90 "BrowserApplication": 2,
91 "ShareApplication": 3,
92 "PhoneApplication": 4,
93 "DialerApplication": 5,
94 "MessagingApplication": 6,
95 "AddressbookApplication": 7
96 }
97 }
98 Enum {
99 name: "ExecFlags"
100 values: {
101 "NoFlag": 0,
102 "ForceMainStage": 1
103 }
104 }
105 Property { name: "keyboardHeight"; type: "int"; isReadonly: true }
106 Property { name: "keyboardVisible"; type: "bool"; isReadonly: true }
107 Property { name: "sideStageWidth"; type: "int"; isReadonly: true }
108 Property { name: "stageHint"; type: "StageHint"; isReadonly: true }
109 Property { name: "formFactorHint"; type: "FormFactorHint"; isReadonly: true }
110 Property { name: "fake"; type: "bool"; isReadonly: true }
111 Property { name: "rightMargin"; type: "int" }
112 Signal {
113 name: "focusRequested"
114 Parameter { name: "favoriteApplication"; type: "FavoriteApplication" }
115 }
116 Signal {
117 name: "focusRequested"
118 Parameter { name: "appId"; type: "string" }
119 }
120 Method {
121 name: "get"
122 type: "ApplicationInfo*"
123 Parameter { name: "index"; type: "int" }
124 }
125 Method {
126 name: "findApplication"
127 type: "ApplicationInfo*"
128 Parameter { name: "appId"; type: "string" }
129 }
130 Method {
131 name: "move"
132 Parameter { name: "from"; type: "int" }
133 Parameter { name: "to"; type: "int" }
134 }
135 Method {
136 name: "requestFocusApplication"
137 type: "bool"
138 Parameter { name: "appId"; type: "string" }
139 }
140 Method {
141 name: "focusApplication"
142 type: "bool"
143 Parameter { name: "appId"; type: "string" }
144 }
145 Method { name: "unfocusCurrentApplication" }
146 Method {
147 name: "startApplication"
148 type: "ApplicationInfo*"
149 Parameter { name: "appId"; type: "string" }
150 Parameter { name: "arguments"; type: "QStringList" }
151 }
152 Method {
153 name: "startApplication"
154 type: "ApplicationInfo*"
155 Parameter { name: "appId"; type: "string" }
156 }
157 Method {
158 name: "startApplication"
159 type: "ApplicationInfo*"
160 Parameter { name: "appId"; type: "string" }
161 Parameter { name: "flags"; type: "ExecFlags" }
162 Parameter { name: "arguments"; type: "QStringList" }
163 }
164 Method {
165 name: "startApplication"
166 type: "ApplicationInfo*"
167 Parameter { name: "appId"; type: "string" }
168 Parameter { name: "flags"; type: "ExecFlags" }
169 }
170 Method {
171 name: "stopApplication"
172 type: "bool"
173 Parameter { name: "appId"; type: "string" }
174 }
175 Method {
176 name: "updateScreenshot"
177 type: "bool"
178 Parameter { name: "appId"; type: "string" }
179 }
180 Method { name: "availableApplications"; type: "QStringList" }
181 }
182 Component {
183 name: "unity::shell::application::ApplicationInfoInterface"
184 prototype: "QObject"
185 exports: ["Unity.Application/ApplicationInfoInterface 0.1"]
186 isCreatable: false
187 exportMetaObjectRevisions: [0]
188 Enum {
189 name: "Stage"
190 values: {
191 "MainStage": 0,
192 "SideStage": 1
193 }
194 }
195 Enum {
196 name: "State"
197 values: {
198 "Starting": 0,
199 "Running": 1,
200 "Suspended": 2,
201 "Stopped": 3
202 }
203 }
204 Property { name: "appId"; type: "string"; isReadonly: true }
205 Property { name: "name"; type: "string"; isReadonly: true }
206 Property { name: "comment"; type: "string"; isReadonly: true }
207 Property { name: "icon"; type: "QUrl"; isReadonly: true }
208 Property { name: "stage"; type: "Stage"; isReadonly: true }
209 Property { name: "state"; type: "State"; isReadonly: true }
210 Property { name: "focused"; type: "bool"; isReadonly: true }
211 Property { name: "screenshot"; type: "QUrl"; isReadonly: true }
212 Signal {
213 name: "nameChanged"
214 Parameter { name: "name"; type: "string" }
215 }
216 Signal {
217 name: "commentChanged"
218 Parameter { name: "comment"; type: "string" }
219 }
220 Signal {
221 name: "iconChanged"
222 Parameter { name: "icon"; type: "QUrl" }
223 }
224 Signal {
225 name: "stageChanged"
226 Parameter { name: "stage"; type: "Stage" }
227 }
228 Signal {
229 name: "stateChanged"
230 Parameter { name: "state"; type: "State" }
231 }
232 Signal {
233 name: "focusedChanged"
234 Parameter { name: "focused"; type: "bool" }
235 }
236 Signal {
237 name: "screenshotChanged"
238 Parameter { name: "screenshot"; type: "QUrl" }
239 }
240 }
241 Component {
242 name: "unity::shell::application::ApplicationManagerInterface"
243 prototype: "QAbstractListModel"
244 exports: ["Unity.Application/ApplicationManagerInterface 0.1"]
245 isCreatable: false
246 exportMetaObjectRevisions: [0]
247 Enum {
248 name: "Roles"
249 values: {
250 "RoleAppId": 256,
251 "RoleName": 257,
252 "RoleComment": 258,
253 "RoleIcon": 259,
254 "RoleStage": 260,
255 "RoleState": 261,
256 "RoleFocused": 262,
257 "RoleScreenshot": 263
258 }
259 }
260 Property { name: "count"; type: "int"; isReadonly: true }
261 Property { name: "focusedApplicationId"; type: "string"; isReadonly: true }
262 Property { name: "suspended"; type: "bool" }
263 Signal {
264 name: "focusRequested"
265 Parameter { name: "appId"; type: "string" }
266 }
267 Signal {
268 name: "applicationAdded"
269 Parameter { name: "appId"; type: "string" }
270 }
271 Signal {
272 name: "applicationRemoved"
273 Parameter { name: "appId"; type: "string" }
274 }
275 Method {
276 name: "get"
277 type: "unity::shell::application::ApplicationInfoInterface*"
278 Parameter { name: "index"; type: "int" }
279 }
280 Method {
281 name: "findApplication"
282 type: "unity::shell::application::ApplicationInfoInterface*"
283 Parameter { name: "appId"; type: "string" }
284 }
285 Method {
286 name: "requestFocusApplication"
287 type: "bool"
288 Parameter { name: "appId"; type: "string" }
289 }
290 Method {
291 name: "focusApplication"
292 type: "bool"
293 Parameter { name: "appId"; type: "string" }
294 }
295 Method { name: "unfocusCurrentApplication" }
296 Method {
297 name: "startApplication"
298 type: "unity::shell::application::ApplicationInfoInterface*"
299 Parameter { name: "appId"; type: "string" }
300 Parameter { name: "arguments"; type: "QStringList" }
301 }
302 Method {
303 name: "stopApplication"
304 type: "bool"
305 Parameter { name: "appId"; type: "string" }
306 }
307 Method {
308 name: "updateScreenshot"
309 type: "bool"
310 Parameter { name: "appId"; type: "string" }
311 }
312 }