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