1
import 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.
6
// This file was auto-generated by:
7
// 'qmlplugindump -notrelocatable Unity 0.2 tests/mocks'
12
prototype: "unity::shell::scopes::CategoriesInterface"
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 }
22
name: "overrideCategoryJson"
24
Parameter { name: "categoryId"; type: "string" }
25
Parameter { name: "json"; type: "string" }
30
prototype: "unity::shell::scopes::PreviewModelInterface"
31
exports: ["Unity/FakePreviewModel 0.2"]
32
exportMetaObjectRevisions: [0]
36
prototype: "unity::shell::scopes::PreviewStackInterface"
37
exports: ["Unity/PreviewStack 0.2"]
39
exportMetaObjectRevisions: [0]
41
name: "getPreviewModel"
42
type: "unity::shell::scopes::PreviewModelInterface*"
43
Parameter { name: "index"; type: "int" }
47
name: "PreviewWidgetModel"
48
prototype: "unity::shell::scopes::PreviewWidgetModelInterface"
49
exports: ["Unity/PreviewWidgetModel 0.2"]
51
exportMetaObjectRevisions: [0]
55
prototype: "unity::shell::scopes::ResultsModelInterface"
56
exports: ["Unity/ResultsModel 0.2"]
58
exportMetaObjectRevisions: [0]
62
prototype: "unity::shell::scopes::ScopeInterface"
63
exports: ["Unity/MockScope 0.2"]
64
exportMetaObjectRevisions: [0]
66
name: "setSearchInProgress"
67
Parameter { name: "inProg"; type: "bool" }
71
Parameter { name: "result"; type: "QVariant" }
76
Parameter { name: "result"; type: "QVariant" }
78
Method { name: "cancelActivation" }
81
Parameter { name: "scope"; type: "unity::shell::scopes::ScopeInterface"; isPointer: true }
85
type: "unity::shell::scopes::DepartmentInterface*"
86
Parameter { name: "id"; type: "string" }
89
name: "loadDepartment"
90
Parameter { name: "id"; type: "string" }
95
prototype: "unity::shell::scopes::ScopesInterface"
96
exports: ["Unity/Scopes 0.2"]
97
exportMetaObjectRevisions: [0]
101
Parameter { name: "parent"; type: "QModelIndex" }
103
Method { name: "rowCount"; type: "int" }
106
type: "unity::shell::scopes::ScopeInterface*"
107
Parameter { name: "row"; type: "int" }
111
type: "unity::shell::scopes::ScopeInterface*"
112
Parameter { name: "scope_id"; type: "string" }
116
Parameter { name: "scope"; type: "Scope"; isPointer: true }
118
Method { name: "clear" }
119
Method { name: "load" }
122
name: "unity::shell::scopes::CategoriesInterface"
123
prototype: "QAbstractListModel"
124
exports: ["Unity/Categories 0.2"]
126
exportMetaObjectRevisions: [0]
133
"RoleRawRendererTemplate": 3,
141
name: "overrideCategoryJson"
143
Parameter { name: "categoryId"; type: "string" }
144
Parameter { name: "json"; type: "string" }
147
name: "addSpecialCategory"
148
Parameter { name: "categoryId"; type: "string" }
149
Parameter { name: "name"; type: "string" }
150
Parameter { name: "icon"; type: "string" }
151
Parameter { name: "rawTemplate"; type: "string" }
152
Parameter { name: "countObject"; type: "QObject"; isPointer: true }
156
name: "unity::shell::scopes::DepartmentInterface"
157
prototype: "QAbstractListModel"
158
exports: ["Unity/Department 0.2"]
160
exportMetaObjectRevisions: [0]
164
"RoleDepartmentId": 0,
166
"RoleHasChildren": 2,
170
Property { name: "departmentId"; type: "string"; isReadonly: true }
171
Property { name: "label"; type: "string"; isReadonly: true }
172
Property { name: "allLabel"; type: "string"; isReadonly: true }
173
Property { name: "parentDepartmentId"; type: "string"; isReadonly: true }
174
Property { name: "parentLabel"; type: "string"; isReadonly: true }
175
Property { name: "loaded"; type: "bool"; isReadonly: true }
176
Property { name: "isRoot"; type: "bool"; isReadonly: true }
177
Property { name: "count"; type: "int"; isReadonly: true }
180
name: "unity::shell::scopes::PreviewModelInterface"
181
prototype: "QAbstractListModel"
188
Property { name: "widgetColumnCount"; type: "int" }
189
Property { name: "loaded"; type: "bool"; isReadonly: true }
190
Property { name: "processingAction"; type: "bool"; isReadonly: true }
193
Parameter { type: "string" }
194
Parameter { type: "string" }
195
Parameter { type: "QVariantMap" }
199
name: "unity::shell::scopes::PreviewStackInterface"
200
prototype: "QAbstractListModel"
204
"RolePreviewModel": 0
207
Property { name: "widgetColumnCount"; type: "int" }
209
name: "getPreviewModel"
210
type: "unity::shell::scopes::PreviewModelInterface*"
211
Parameter { name: "index"; type: "int" }
215
name: "unity::shell::scopes::PreviewWidgetModelInterface"
216
prototype: "QAbstractListModel"
227
name: "unity::shell::scopes::ResultsModelInterface"
228
prototype: "QAbstractListModel"
242
"RoleAttributes": 10,
246
Property { name: "categoryId"; type: "string" }
247
Property { name: "count"; type: "int"; isReadonly: true }
250
name: "unity::shell::scopes::ScopeInterface"
252
exports: ["Unity/Scope 0.2"]
254
exportMetaObjectRevisions: [0]
255
Property { name: "id"; type: "string"; isReadonly: true }
256
Property { name: "name"; type: "string"; isReadonly: true }
257
Property { name: "iconHint"; type: "string"; isReadonly: true }
258
Property { name: "description"; type: "string"; isReadonly: true }
259
Property { name: "searchHint"; type: "string"; isReadonly: true }
260
Property { name: "searchInProgress"; type: "bool"; isReadonly: true }
261
Property { name: "visible"; type: "bool"; isReadonly: true }
262
Property { name: "shortcut"; type: "string"; isReadonly: true }
265
type: "unity::shell::scopes::CategoriesInterface"
269
Property { name: "searchQuery"; type: "string" }
270
Property { name: "noResultsHint"; type: "string" }
271
Property { name: "formFactor"; type: "string" }
272
Property { name: "isActive"; type: "bool" }
273
Property { name: "currentDepartmentId"; type: "string"; isReadonly: true }
274
Property { name: "hasDepartments"; type: "bool"; isReadonly: true }
275
Signal { name: "showDash" }
276
Signal { name: "hideDash" }
279
Parameter { name: "uri"; type: "string" }
282
name: "previewRequested"
283
Parameter { name: "result"; type: "QVariant" }
287
Parameter { name: "scopeId"; type: "string" }
291
Parameter { name: "scope"; type: "unity::shell::scopes::ScopeInterface"; isPointer: true }
294
name: "activateApplication"
295
Parameter { name: "desktop"; type: "string" }
299
Parameter { name: "result"; type: "QVariant" }
303
type: "unity::shell::scopes::PreviewStackInterface*"
304
Parameter { name: "result"; type: "QVariant" }
306
Method { name: "cancelActivation" }
309
Parameter { name: "scope"; type: "unity::shell::scopes::ScopeInterface"; isPointer: true }
312
name: "getDepartment"
313
type: "unity::shell::scopes::DepartmentInterface*"
314
Parameter { name: "departmentId"; type: "string" }
317
name: "loadDepartment"
318
Parameter { name: "departmentId"; type: "string" }
322
name: "unity::shell::scopes::ScopesInterface"
323
prototype: "QAbstractListModel"
333
Property { name: "loaded"; type: "bool"; isReadonly: true }
336
type: "unity::shell::scopes::ScopeInterface*"
337
Parameter { name: "row"; type: "int" }
341
type: "unity::shell::scopes::ScopeInterface*"
342
Parameter { name: "scopeId"; type: "string" }