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