on 76cbe21 help sign in
unity8/tests/mocks/Unity/Unity.qmltypes
465 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 0.2 tests/mocks'
9Module {
10 Component {
11 name: "Categories"
12 prototype: "unity::shell::scopes::CategoriesInterface"
13 Method {
14 name: "addSpecialCategory"
15 Parameter { name: "categoryId"; type: "string" }
16 Parameter { name: "name"; type: "string" }
17 Parameter { name: "icon"; type: "string" }
18 Parameter { name: "rawTemplate"; type: "string" }
19 Parameter { name: "countObject"; type: "QObject"; isPointer: true }
20 }
21 Method {
22 name: "overrideCategoryJson"
23 type: "bool"
24 Parameter { name: "categoryId"; type: "string" }
25 Parameter { name: "json"; type: "string" }
26 }
27 Method {
28 name: "data"
29 type: "QVariant"
30 Parameter { name: "row"; type: "int" }
31 Parameter { name: "role"; type: "int" }
32 }
33 Method {
34 name: "setCount"
35 Parameter { name: "count"; type: "int" }
36 }
37 Method {
38 name: "resultModel"
39 type: "ResultsModel*"
40 Parameter { name: "row"; type: "int" }
41 }
42 Method {
43 name: "setLayout"
44 Parameter { name: "row"; type: "int" }
45 Parameter { name: "layout"; type: "string" }
46 }
47 Method {
48 name: "setHeaderLink"
49 Parameter { name: "row"; type: "int" }
50 Parameter { name: "headerLink"; type: "string" }
51 }
52 }
53 Component {
54 name: "PreviewModel"
55 prototype: "unity::shell::scopes::PreviewModelInterface"
56 exports: ["Unity/FakePreviewModel 0.2"]
57 exportMetaObjectRevisions: [0]
58 Method {
59 name: "setLoaded"
60 Parameter { type: "bool" }
61 }
62 }
63 Component {
64 name: "PreviewStack"
65 prototype: "unity::shell::scopes::PreviewStackInterface"
66 exports: ["Unity/PreviewStack 0.2"]
67 isCreatable: false
68 exportMetaObjectRevisions: [0]
69 Method {
70 name: "getPreviewModel"
71 type: "unity::shell::scopes::PreviewModelInterface*"
72 Parameter { name: "index"; type: "int" }
73 }
74 }
75 Component {
76 name: "PreviewWidgetModel"
77 prototype: "unity::shell::scopes::PreviewWidgetModelInterface"
78 exports: ["Unity/PreviewWidgetModel 0.2"]
79 isCreatable: false
80 exportMetaObjectRevisions: [0]
81 }
82 Component {
83 name: "ResultsModel"
84 prototype: "unity::shell::scopes::ResultsModelInterface"
85 exports: ["Unity/FakeResultsModel 0.2", "Unity/ResultsModel 0.2"]
86 isCreatable: false
87 exportMetaObjectRevisions: [0, 0]
88 Method {
89 name: "setResultCount"
90 Parameter { name: "result_count"; type: "int" }
91 }
92 }
93 Component {
94 name: "Scope"
95 prototype: "unity::shell::scopes::ScopeInterface"
96 exports: ["Unity/MockScope 0.2"]
97 exportMetaObjectRevisions: [0]
98 Signal {
99 name: "performQuery"
100 Parameter { name: "query"; type: "string" }
101 }
102 Signal { name: "refreshed" }
103 Method {
104 name: "setId"
105 Parameter { name: "id"; type: "string" }
106 }
107 Method {
108 name: "setName"
109 Parameter { name: "name"; type: "string" }
110 }
111 Method {
112 name: "setSearchInProgress"
113 Parameter { name: "inProg"; type: "bool" }
114 }
115 Method {
116 name: "activate"
117 Parameter { name: "result"; type: "QVariant" }
118 }
119 Method {
120 name: "preview"
121 type: "PreviewStack*"
122 Parameter { name: "result"; type: "QVariant" }
123 }
124 Method { name: "cancelActivation" }
125 Method {
126 name: "closeScope"
127 Parameter { name: "scope"; type: "unity::shell::scopes::ScopeInterface"; isPointer: true }
128 }
129 Method {
130 name: "getNavigation"
131 type: "unity::shell::scopes::NavigationInterface*"
132 Parameter { name: "navigationId"; type: "string" }
133 }
134 Method {
135 name: "getAltNavigation"
136 type: "unity::shell::scopes::NavigationInterface*"
137 Parameter { name: "altNavigationId"; type: "string" }
138 }
139 Method {
140 name: "setNavigationState"
141 Parameter { name: "navigationId"; type: "string" }
142 Parameter { name: "isAltNavigation"; type: "bool" }
143 }
144 Method { name: "refresh" }
145 }
146 Component {
147 name: "Scopes"
148 prototype: "unity::shell::scopes::ScopesInterface"
149 exports: ["Unity/Scopes 0.2"]
150 exportMetaObjectRevisions: [0]
151 Method {
152 name: "rowCount"
153 type: "int"
154 Parameter { name: "parent"; type: "QModelIndex" }
155 }
156 Method { name: "rowCount"; type: "int" }
157 Method {
158 name: "getScope"
159 type: "unity::shell::scopes::ScopeInterface*"
160 Parameter { name: "row"; type: "int" }
161 }
162 Method {
163 name: "getScope"
164 type: "unity::shell::scopes::ScopeInterface*"
165 Parameter { name: "scope_id"; type: "string" }
166 }
167 Method {
168 name: "addScope"
169 Parameter { name: "scope"; type: "Scope"; isPointer: true }
170 }
171 Method { name: "clear" }
172 Method { name: "load" }
173 Method {
174 name: "getScopeFromAll"
175 type: "Scope*"
176 Parameter { name: "scope_id"; type: "string" }
177 }
178 }
179 Component { name: "SettingsModel"; prototype: "unity::shell::scopes::SettingsModelInterface" }
180 Component {
181 name: "unity::shell::scopes::CategoriesInterface"
182 prototype: "QAbstractListModel"
183 exports: ["Unity/Categories 0.2"]
184 isCreatable: false
185 exportMetaObjectRevisions: [0]
186 Enum {
187 name: "Roles"
188 values: {
189 "RoleCategoryId": 0,
190 "RoleName": 1,
191 "RoleIcon": 2,
192 "RoleRawRendererTemplate": 3,
193 "RoleRenderer": 4,
194 "RoleComponents": 5,
195 "RoleHeaderLink": 6,
196 "RoleResults": 7,
197 "RoleCount": 8
198 }
199 }
200 Method {
201 name: "overrideCategoryJson"
202 type: "bool"
203 Parameter { name: "categoryId"; type: "string" }
204 Parameter { name: "json"; type: "string" }
205 }
206 Method {
207 name: "addSpecialCategory"
208 Parameter { name: "categoryId"; type: "string" }
209 Parameter { name: "name"; type: "string" }
210 Parameter { name: "icon"; type: "string" }
211 Parameter { name: "rawTemplate"; type: "string" }
212 Parameter { name: "countObject"; type: "QObject"; isPointer: true }
213 }
214 }
215 Component {
216 name: "unity::shell::scopes::NavigationInterface"
217 prototype: "QAbstractListModel"
218 exports: ["Unity/Navigation 0.2"]
219 isCreatable: false
220 exportMetaObjectRevisions: [0]
221 Enum {
222 name: "Roles"
223 values: {
224 "RoleNavigationId": 0,
225 "RoleLabel": 1,
226 "RoleHasChildren": 2,
227 "RoleIsActive": 3
228 }
229 }
230 Property { name: "navigationId"; type: "string"; isReadonly: true }
231 Property { name: "label"; type: "string"; isReadonly: true }
232 Property { name: "allLabel"; type: "string"; isReadonly: true }
233 Property { name: "parentNavigationId"; type: "string"; isReadonly: true }
234 Property { name: "parentLabel"; type: "string"; isReadonly: true }
235 Property { name: "loaded"; type: "bool"; isReadonly: true }
236 Property { name: "isRoot"; type: "bool"; isReadonly: true }
237 Property { name: "hidden"; type: "bool"; isReadonly: true }
238 Property { name: "count"; type: "int"; isReadonly: true }
239 }
240 Component {
241 name: "unity::shell::scopes::PreviewModelInterface"
242 prototype: "QAbstractListModel"
243 exports: ["Unity/PreviewModel 0.2"]
244 isCreatable: false
245 exportMetaObjectRevisions: [0]
246 Enum {
247 name: "Roles"
248 values: {
249 "RoleColumnModel": 0
250 }
251 }
252 Property { name: "widgetColumnCount"; type: "int" }
253 Property { name: "loaded"; type: "bool"; isReadonly: true }
254 Property { name: "processingAction"; type: "bool"; isReadonly: true }
255 Signal {
256 name: "triggered"
257 Parameter { type: "string" }
258 Parameter { type: "string" }
259 Parameter { type: "QVariantMap" }
260 }
261 }
262 Component {
263 name: "unity::shell::scopes::PreviewStackInterface"
264 prototype: "QAbstractListModel"
265 Enum {
266 name: "Roles"
267 values: {
268 "RolePreviewModel": 0
269 }
270 }
271 Property { name: "widgetColumnCount"; type: "int" }
272 Method {
273 name: "getPreviewModel"
274 type: "unity::shell::scopes::PreviewModelInterface*"
275 Parameter { name: "index"; type: "int" }
276 }
277 }
278 Component {
279 name: "unity::shell::scopes::PreviewWidgetModelInterface"
280 prototype: "QAbstractListModel"
281 Enum {
282 name: "Roles"
283 values: {
284 "RoleWidgetId": 0,
285 "RoleType": 1,
286 "RoleProperties": 2
287 }
288 }
289 }
290 Component {
291 name: "unity::shell::scopes::ResultsModelInterface"
292 prototype: "QAbstractListModel"
293 Enum {
294 name: "Roles"
295 values: {
296 "RoleUri": 0,
297 "RoleCategoryId": 1,
298 "RoleDndUri": 2,
299 "RoleResult": 3,
300 "RoleTitle": 4,
301 "RoleArt": 5,
302 "RoleSubtitle": 6,
303 "RoleMascot": 7,
304 "RoleEmblem": 8,
305 "RoleSummary": 9,
306 "RoleAttributes": 10,
307 "RoleBackground": 11,
308 "RoleOverlayColor": 12
309 }
310 }
311 Property { name: "categoryId"; type: "string" }
312 Property { name: "count"; type: "int"; isReadonly: true }
313 }
314 Component {
315 name: "unity::shell::scopes::ScopeInterface"
316 prototype: "QObject"
317 exports: ["Unity/Scope 0.2"]
318 isCreatable: false
319 exportMetaObjectRevisions: [0]
320 Enum {
321 name: "Status"
322 values: {
323 "Okay": 0,
324 "NoInternet": 1,
325 "NoLocationData": 2,
326 "Unknown": 3
327 }
328 }
329 Property { name: "id"; type: "string"; isReadonly: true }
330 Property { name: "name"; type: "string"; isReadonly: true }
331 Property { name: "iconHint"; type: "string"; isReadonly: true }
332 Property { name: "description"; type: "string"; isReadonly: true }
333 Property { name: "searchHint"; type: "string"; isReadonly: true }
334 Property { name: "searchInProgress"; type: "bool"; isReadonly: true }
335 Property { name: "favorite"; type: "bool" }
336 Property { name: "shortcut"; type: "string"; isReadonly: true }
337 Property {
338 name: "categories"
339 type: "unity::shell::scopes::CategoriesInterface"
340 isReadonly: true
341 isPointer: true
342 }
343 Property {
344 name: "settings"
345 type: "unity::shell::scopes::SettingsModelInterface"
346 isReadonly: true
347 isPointer: true
348 }
349 Property { name: "searchQuery"; type: "string" }
350 Property { name: "noResultsHint"; type: "string" }
351 Property { name: "formFactor"; type: "string" }
352 Property { name: "isActive"; type: "bool" }
353 Property { name: "currentNavigationId"; type: "string"; isReadonly: true }
354 Property { name: "hasNavigation"; type: "bool"; isReadonly: true }
355 Property { name: "currentAltNavigationId"; type: "string"; isReadonly: true }
356 Property { name: "hasAltNavigation"; type: "bool"; isReadonly: true }
357 Property { name: "customizations"; type: "QVariantMap"; isReadonly: true }
358 Property {
359 name: "status"
360 type: "unity::shell::scopes::ScopeInterface::Status"
361 isReadonly: true
362 }
363 Signal { name: "detailsChanged" }
364 Signal { name: "showDash" }
365 Signal { name: "hideDash" }
366 Signal {
367 name: "gotoUri"
368 Parameter { name: "uri"; type: "string" }
369 }
370 Signal {
371 name: "previewRequested"
372 Parameter { name: "result"; type: "QVariant" }
373 }
374 Signal {
375 name: "gotoScope"
376 Parameter { name: "scopeId"; type: "string" }
377 }
378 Signal {
379 name: "openScope"
380 Parameter { name: "scope"; type: "unity::shell::scopes::ScopeInterface"; isPointer: true }
381 }
382 Method {
383 name: "activate"
384 Parameter { name: "result"; type: "QVariant" }
385 }
386 Method {
387 name: "preview"
388 type: "unity::shell::scopes::PreviewStackInterface*"
389 Parameter { name: "result"; type: "QVariant" }
390 }
391 Method { name: "cancelActivation" }
392 Method {
393 name: "closeScope"
394 Parameter { name: "scope"; type: "unity::shell::scopes::ScopeInterface"; isPointer: true }
395 }
396 Method {
397 name: "getNavigation"
398 type: "unity::shell::scopes::NavigationInterface*"
399 Parameter { name: "navigationId"; type: "string" }
400 }
401 Method {
402 name: "getAltNavigation"
403 type: "unity::shell::scopes::NavigationInterface*"
404 Parameter { name: "altNavigationId"; type: "string" }
405 }
406 Method {
407 name: "setNavigationState"
408 Parameter { name: "navId"; type: "string" }
409 Parameter { name: "altNavigation"; type: "bool" }
410 }
411 Method {
412 name: "performQuery"
413 Parameter { name: "cannedQuery"; type: "string" }
414 }
415 Method { name: "refresh" }
416 }
417 Component {
418 name: "unity::shell::scopes::ScopesInterface"
419 prototype: "QAbstractListModel"
420 Enum {
421 name: "Roles"
422 values: {
423 "RoleScope": 0,
424 "RoleId": 1,
425 "RoleTitle": 2
426 }
427 }
428 Property { name: "loaded"; type: "bool"; isReadonly: true }
429 Property { name: "count"; type: "int"; isReadonly: true }
430 Property {
431 name: "overviewScope"
432 type: "unity::shell::scopes::ScopeInterface"
433 isReadonly: true
434 isPointer: true
435 }
436 Method {
437 name: "getScope"
438 type: "unity::shell::scopes::ScopeInterface*"
439 Parameter { name: "row"; type: "int" }
440 }
441 Method {
442 name: "getScope"
443 type: "unity::shell::scopes::ScopeInterface*"
444 Parameter { name: "scopeId"; type: "string" }
445 }
446 }
447 Component {
448 name: "unity::shell::scopes::SettingsModelInterface"
449 prototype: "QAbstractListModel"
450 exports: ["Unity/SettingsModel 0.2"]
451 isCreatable: false
452 exportMetaObjectRevisions: [0]
453 Enum {
454 name: "Roles"
455 values: {
456 "RoleSettingId": 0,
457 "RoleDisplayName": 1,
458 "RoleType": 2,
459 "RoleProperties": 3,
460 "RoleValue": 4
461 }
462 }
463 Property { name: "count"; type: "int"; isReadonly: true }
464 }