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