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