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