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