Merge lp:~dobey/unity8/manual-qmltypes into lp:unity8
- manual-qmltypes
- Merge into trunk
Status: | Superseded |
---|---|
Proposed branch: | lp:~dobey/unity8/manual-qmltypes |
Merge into: | lp:unity8 |
Diff against target: |
3314 lines (+3139/-5) 29 files modified
CMakeLists.txt (+5/-0) cmake/modules/QmlPlugins.cmake (+9/-5) plugins/AccountsService/AccountsService.qmltypes (+22/-0) plugins/Dash/Dash.qmltypes (+95/-0) plugins/HudClient/HudClient.qmltypes (+91/-0) plugins/LightDM/LightDM.qmltypes (+241/-0) plugins/Powerd/Powerd.qmltypes (+46/-0) plugins/SessionBroadcast/SessionBroadcast.qmltypes (+19/-0) plugins/Ubuntu/DownloadDaemonListener/DownloadDaemonListener.qmltypes (+60/-0) plugins/Ubuntu/Gestures/Gestures.qmltypes (+153/-0) plugins/Unity/Indicators/Indicators.qmltypes (+278/-0) plugins/Unity/Launcher/Launcher.qmltypes (+174/-0) plugins/Unity/Session/Session.qmltypes (+25/-0) plugins/Utils/Utils.qmltypes (+143/-0) tests/mocks/AccountsService/AccountsService.qmltypes (+22/-0) tests/mocks/GSettings.1.0/GSettings.qmltypes (+42/-0) tests/mocks/HudClient/HudClient.qmltypes (+113/-0) tests/mocks/LightDM/LightDM.qmltypes (+241/-0) tests/mocks/Powerd/Powerd.qmltypes (+46/-0) tests/mocks/QMenuModel/QMenuModel.qmltypes (+77/-0) tests/mocks/QtMultimedia/QtMultimedia.qmltypes (+52/-0) tests/mocks/Ubuntu/DownloadDaemonListener/DownloadDaemonListener.qmltypes (+60/-0) tests/mocks/Ubuntu/Thumbnailer/Thumbnailer.qmltypes (+17/-0) tests/mocks/Unity/Application/Application.qmltypes (+313/-0) tests/mocks/Unity/Indicators/Indicators.qmltypes (+210/-0) tests/mocks/Unity/Launcher/Launcher.qmltypes (+171/-0) tests/mocks/Unity/Notifications/Notifications.qmltypes (+10/-0) tests/mocks/Unity/Unity.qmltypes (+345/-0) tests/utils/modules/Unity/Test/Test.qmltypes (+59/-0) |
To merge this branch: | bzr merge lp:~dobey/unity8/manual-qmltypes |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Needs Fixing | |
Michał Sawicz | Needs Fixing | ||
Review via email:
|
This proposal has been superseded by a proposal from 2014-06-26.
Commit message
Only build the qmltypes files manually.
Description of the change
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:985
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
dobey (dobey) wrote : | # |
On Wed, 2014-06-25 at 22:22 +0000, Michał Sawicz wrote:
> Review: Needs Fixing
>
> We'll need to check those .qmltypes files into bzr, and copy/install them along with qmldir, so there's a bit more work involved here.
>
> They should be generated into the source dirs, not binary.
>
> I'll take this over tomorrow morning if you have no objections :).
Done. :)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:986
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:987
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
Unmerged revisions
- 987. By dobey
-
Fix installation for the manually generated qmltypes.
- 986. By dobey
-
Generate the qmltypes files without a full path being stored inside them.
Copy the generated qmltypes files to their respective source directories.
Import the qmltypes files into bzr. - 985. By dobey
-
Only build the qmltypes files manually.
Preview Diff
1 | === modified file 'CMakeLists.txt' |
2 | --- CMakeLists.txt 2014-06-11 15:36:51 +0000 |
3 | +++ CMakeLists.txt 2014-06-26 02:45:27 +0000 |
4 | @@ -1,5 +1,10 @@ |
5 | cmake_minimum_required(VERSION 2.8.9) |
6 | |
7 | +# |
8 | +# A custom target for building the qmltypes files manually. |
9 | +# |
10 | +add_custom_target(qmltypes) |
11 | + |
12 | # Default install location. Must be set here, before setting the project. |
13 | if (NOT DEFINED CMAKE_INSTALL_PREFIX) |
14 | set(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/install CACHE PATH "" FORCE) |
15 | |
16 | === modified file 'cmake/modules/QmlPlugins.cmake' |
17 | --- cmake/modules/QmlPlugins.cmake 2014-05-15 14:56:56 +0000 |
18 | +++ cmake/modules/QmlPlugins.cmake 2014-06-26 02:45:27 +0000 |
19 | @@ -103,26 +103,30 @@ |
20 | set(qmlplugin_dir ${QMLPLUGIN_BINARY_DIR}/${PATH}) |
21 | else() |
22 | # Find import path to point qmlplugindump at |
23 | - string(REGEX REPLACE "${PATH}$" "" QMLPLUGIN_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}") |
24 | + string(REGEX REPLACE "/${PATH}$" "" QMLPLUGIN_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}") |
25 | set(qmlplugin_dir ${CMAKE_CURRENT_BINARY_DIR}) |
26 | endif() |
27 | - |
28 | + string(REGEX REPLACE "${CMAKE_BINARY_DIR}/" "" QMLPLUGIN_MODULE_DIR "${QMLPLUGIN_BINARY_DIR}") |
29 | # Find the last segment of the plugin name to use as qmltypes basename |
30 | string(REGEX MATCH "[^.]+$" plugin_suffix ${PLUGIN}) |
31 | set(target_prefix ${QMLPLUGIN_TARGET_PREFIX}${PLUGIN}) |
32 | set(qmltypes_path ${qmlplugin_dir}/${plugin_suffix}.qmltypes) |
33 | + string(REGEX REPLACE "${CMAKE_CURRENT_BINARY_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}" qmltypes_source_path "${qmltypes_path}") |
34 | |
35 | # Only generate typeinfo if not cross compiling |
36 | if(NOT CMAKE_CROSSCOMPILING) |
37 | - add_custom_target(${target_prefix}-qmltypes ALL |
38 | + add_custom_target(${target_prefix}-qmltypes |
39 | COMMAND env ${QMLPLUGIN_ENVIRONMENT} ${qmlplugindump_executable} -notrelocatable |
40 | - ${PLUGIN} ${VERSION} ${QMLPLUGIN_BINARY_DIR} > ${qmltypes_path} |
41 | + ${PLUGIN} ${VERSION} ${QMLPLUGIN_MODULE_DIR} > ${qmltypes_path} |
42 | + WORKING_DIRECTORY ${CMAKE_BINARY_DIR} |
43 | + COMMAND cp -f ${qmltypes_path} ${CMAKE_CURRENT_SOURCE_DIR} |
44 | ) |
45 | add_dependencies(${target_prefix}-qmltypes ${target_prefix}-qmlfiles ${QMLPLUGIN_TARGETS}) |
46 | + add_dependencies(qmltypes ${target_prefix}-qmltypes) |
47 | |
48 | if (QMLPLUGIN_DESTINATION) |
49 | # Install the typeinfo file |
50 | - install(FILES ${qmltypes_path} |
51 | + install(FILES ${qmltypes_source_path} |
52 | DESTINATION ${QMLPLUGIN_DESTINATION}/${PATH} |
53 | ) |
54 | endif() |
55 | |
56 | === added file 'plugins/AccountsService/AccountsService.qmltypes' |
57 | --- plugins/AccountsService/AccountsService.qmltypes 1970-01-01 00:00:00 +0000 |
58 | +++ plugins/AccountsService/AccountsService.qmltypes 2014-06-26 02:45:27 +0000 |
59 | @@ -0,0 +1,22 @@ |
60 | +import QtQuick.tooling 1.1 |
61 | + |
62 | +// This file describes the plugin-supplied types contained in the library. |
63 | +// It is used for QML tooling purposes only. |
64 | +// |
65 | +// This file was auto-generated by: |
66 | +// 'qmlplugindump -notrelocatable AccountsService 0.1 plugins' |
67 | + |
68 | +Module { |
69 | + Component { |
70 | + name: "AccountsService" |
71 | + prototype: "QObject" |
72 | + exports: ["AccountsService/AccountsService 0.1"] |
73 | + isCreatable: false |
74 | + isSingleton: true |
75 | + exportMetaObjectRevisions: [0] |
76 | + Property { name: "user"; type: "string" } |
77 | + Property { name: "demoEdges"; type: "bool" } |
78 | + Property { name: "backgroundFile"; type: "string"; isReadonly: true } |
79 | + Property { name: "statsWelcomeScreen"; type: "bool"; isReadonly: true } |
80 | + } |
81 | +} |
82 | |
83 | === added file 'plugins/Dash/Dash.qmltypes' |
84 | --- plugins/Dash/Dash.qmltypes 1970-01-01 00:00:00 +0000 |
85 | +++ plugins/Dash/Dash.qmltypes 2014-06-26 02:45:27 +0000 |
86 | @@ -0,0 +1,95 @@ |
87 | +import QtQuick.tooling 1.1 |
88 | + |
89 | +// This file describes the plugin-supplied types contained in the library. |
90 | +// It is used for QML tooling purposes only. |
91 | +// |
92 | +// This file was auto-generated by: |
93 | +// 'qmlplugindump -notrelocatable Dash 0.1 plugins' |
94 | + |
95 | +Module { |
96 | + Component { |
97 | + name: "AbstractDashView" |
98 | + defaultProperty: "data" |
99 | + prototype: "QQuickItem" |
100 | + Property { name: "model"; type: "QAbstractItemModel"; isPointer: true } |
101 | + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } |
102 | + Property { name: "columnSpacing"; type: "double" } |
103 | + Property { name: "rowSpacing"; type: "double" } |
104 | + Property { name: "displayMarginBeginning"; type: "double" } |
105 | + Property { name: "displayMarginEnd"; type: "double" } |
106 | + } |
107 | + Component { |
108 | + name: "HorizontalJournal" |
109 | + defaultProperty: "data" |
110 | + prototype: "AbstractDashView" |
111 | + exports: ["Dash/HorizontalJournal 0.1"] |
112 | + exportMetaObjectRevisions: [0] |
113 | + Property { name: "rowHeight"; type: "double" } |
114 | + } |
115 | + Component { |
116 | + name: "ListViewWithPageHeader" |
117 | + defaultProperty: "flickableData" |
118 | + prototype: "QQuickFlickable" |
119 | + exports: ["Dash/ListViewWithPageHeader 0.1"] |
120 | + exportMetaObjectRevisions: [0] |
121 | + Property { name: "model"; type: "QAbstractItemModel"; isPointer: true } |
122 | + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } |
123 | + Property { name: "pageHeader"; type: "QQuickItem"; isPointer: true } |
124 | + Property { name: "sectionDelegate"; type: "QQmlComponent"; isPointer: true } |
125 | + Property { name: "sectionProperty"; type: "string" } |
126 | + Property { name: "forceNoClip"; type: "bool" } |
127 | + Property { name: "stickyHeaderHeight"; type: "int"; isReadonly: true } |
128 | + Signal { name: "headerChanged" } |
129 | + Method { name: "positionAtBeginning" } |
130 | + Method { name: "showHeader" } |
131 | + Method { |
132 | + name: "item" |
133 | + type: "QQuickItem*" |
134 | + Parameter { name: "modelIndex"; type: "int" } |
135 | + } |
136 | + Method { |
137 | + name: "maximizeVisibleArea" |
138 | + type: "bool" |
139 | + Parameter { name: "modelIndex"; type: "int" } |
140 | + } |
141 | + Method { |
142 | + name: "maximizeVisibleArea" |
143 | + type: "bool" |
144 | + Parameter { name: "modelIndex"; type: "int" } |
145 | + Parameter { name: "itemHeight"; type: "int" } |
146 | + } |
147 | + } |
148 | + Component { |
149 | + name: "OrganicGrid" |
150 | + defaultProperty: "data" |
151 | + prototype: "AbstractDashView" |
152 | + exports: ["Dash/OrganicGrid 0.1"] |
153 | + exportMetaObjectRevisions: [0] |
154 | + Property { name: "smallDelegateSize"; type: "QSizeF" } |
155 | + Property { name: "bigDelegateSize"; type: "QSizeF" } |
156 | + } |
157 | + Component { |
158 | + name: "VerticalJournal" |
159 | + defaultProperty: "data" |
160 | + prototype: "AbstractDashView" |
161 | + exports: ["Dash/VerticalJournal 0.1"] |
162 | + exportMetaObjectRevisions: [0] |
163 | + Property { name: "columnWidth"; type: "double" } |
164 | + } |
165 | + Component { |
166 | + prototype: "QObject" |
167 | + name: "CardCreatorCache" |
168 | + exports: ["CardCreatorCache -1.-1"] |
169 | + exportMetaObjectRevisions: [-1] |
170 | + isComposite: true |
171 | + isCreatable: false |
172 | + isSingleton: true |
173 | + Property { name: "cache"; type: "QVariant" } |
174 | + Method { |
175 | + name: "getCardComponent" |
176 | + type: "QVariant" |
177 | + Parameter { name: "template"; type: "QVariant" } |
178 | + Parameter { name: "components"; type: "QVariant" } |
179 | + } |
180 | + } |
181 | +} |
182 | |
183 | === added file 'plugins/HudClient/HudClient.qmltypes' |
184 | --- plugins/HudClient/HudClient.qmltypes 1970-01-01 00:00:00 +0000 |
185 | +++ plugins/HudClient/HudClient.qmltypes 2014-06-26 02:45:27 +0000 |
186 | @@ -0,0 +1,91 @@ |
187 | +import QtQuick.tooling 1.1 |
188 | + |
189 | +// This file describes the plugin-supplied types contained in the library. |
190 | +// It is used for QML tooling purposes only. |
191 | +// |
192 | +// This file was auto-generated by: |
193 | +// 'qmlplugindump -notrelocatable HudClient 0.1 plugins' |
194 | + |
195 | +Module { |
196 | + Component { |
197 | + name: "DeeListModel" |
198 | + prototype: "QAbstractListModel" |
199 | + Property { name: "name"; type: "string" } |
200 | + Property { name: "synchronized"; type: "bool"; isReadonly: true } |
201 | + Property { name: "count"; type: "int"; isReadonly: true } |
202 | + Signal { |
203 | + name: "nameChanged" |
204 | + Parameter { type: "string" } |
205 | + } |
206 | + Signal { |
207 | + name: "synchronizedChanged" |
208 | + Parameter { type: "bool" } |
209 | + } |
210 | + Signal { |
211 | + name: "roleNamesChanged" |
212 | + Parameter { type: "QHash<int,QByteArray>" } |
213 | + } |
214 | + Method { |
215 | + name: "get" |
216 | + type: "QVariantMap" |
217 | + Parameter { name: "row"; type: "int" } |
218 | + } |
219 | + Method { name: "count"; type: "int" } |
220 | + } |
221 | + Component { |
222 | + name: "HudClient" |
223 | + prototype: "QObject" |
224 | + exports: ["HudClient/HudClient 0.1"] |
225 | + exportMetaObjectRevisions: [0] |
226 | + Property { name: "results"; type: "DeeListModel"; isReadonly: true; isPointer: true } |
227 | + Property { name: "toolBarModel"; type: "QAbstractItemModel"; isReadonly: true; isPointer: true } |
228 | + Signal { name: "voiceQueryLoading" } |
229 | + Signal { name: "voiceQueryListening" } |
230 | + Signal { name: "voiceQueryHeardSomething" } |
231 | + Signal { name: "voiceQueryFailed" } |
232 | + Signal { |
233 | + name: "voiceQueryFinished" |
234 | + Parameter { name: "query"; type: "string" } |
235 | + } |
236 | + Signal { name: "commandExecuted" } |
237 | + Signal { |
238 | + name: "showParametrizedAction" |
239 | + Parameter { name: "action"; type: "string" } |
240 | + Parameter { name: "items"; type: "QVariant" } |
241 | + } |
242 | + Method { |
243 | + name: "executeCommand" |
244 | + Parameter { name: "index"; type: "int" } |
245 | + } |
246 | + Method { |
247 | + name: "setQuery" |
248 | + Parameter { name: "new_query"; type: "string" } |
249 | + } |
250 | + Method { name: "startVoiceQuery" } |
251 | + Method { |
252 | + name: "executeParametrizedAction" |
253 | + Parameter { name: "values"; type: "QVariant" } |
254 | + } |
255 | + Method { |
256 | + name: "updateParametrizedAction" |
257 | + Parameter { name: "values"; type: "QVariant" } |
258 | + } |
259 | + Method { name: "cancelParametrizedAction" } |
260 | + Method { |
261 | + name: "executeToolBarAction" |
262 | + Parameter { name: "action"; type: "HudClientQueryToolbarItems" } |
263 | + } |
264 | + } |
265 | + Component { |
266 | + name: "VolumePeakDetector" |
267 | + prototype: "QObject" |
268 | + exports: ["HudClient/VolumePeakDetector 0.1"] |
269 | + exportMetaObjectRevisions: [0] |
270 | + Property { name: "enabled"; type: "bool" } |
271 | + Property { name: "desiredInterval"; type: "int" } |
272 | + Signal { |
273 | + name: "newPeak" |
274 | + Parameter { name: "volume"; type: "float" } |
275 | + } |
276 | + } |
277 | +} |
278 | |
279 | === added file 'plugins/LightDM/LightDM.qmltypes' |
280 | --- plugins/LightDM/LightDM.qmltypes 1970-01-01 00:00:00 +0000 |
281 | +++ plugins/LightDM/LightDM.qmltypes 2014-06-26 02:45:27 +0000 |
282 | @@ -0,0 +1,241 @@ |
283 | +import QtQuick.tooling 1.1 |
284 | + |
285 | +// This file describes the plugin-supplied types contained in the library. |
286 | +// It is used for QML tooling purposes only. |
287 | +// |
288 | +// This file was auto-generated by: |
289 | +// 'qmlplugindump -notrelocatable LightDM 0.1 plugins' |
290 | + |
291 | +Module { |
292 | + Component { |
293 | + name: "Greeter" |
294 | + prototype: "QObject" |
295 | + exports: ["LightDM/Greeter 0.1"] |
296 | + isCreatable: false |
297 | + isSingleton: true |
298 | + exportMetaObjectRevisions: [0] |
299 | + Property { name: "authenticated"; type: "bool"; isReadonly: true } |
300 | + Property { name: "authenticationUser"; type: "string"; isReadonly: true } |
301 | + Property { name: "promptless"; type: "bool"; isReadonly: true } |
302 | + Signal { |
303 | + name: "showMessage" |
304 | + Parameter { name: "text"; type: "string" } |
305 | + Parameter { name: "isError"; type: "bool" } |
306 | + } |
307 | + Signal { |
308 | + name: "showPrompt" |
309 | + Parameter { name: "text"; type: "string" } |
310 | + Parameter { name: "isSecret"; type: "bool" } |
311 | + } |
312 | + Signal { name: "authenticationComplete" } |
313 | + Signal { |
314 | + name: "authenticationUserChanged" |
315 | + Parameter { name: "user"; type: "string" } |
316 | + } |
317 | + Signal { |
318 | + name: "requestAuthenticationUser" |
319 | + Parameter { name: "user"; type: "string" } |
320 | + } |
321 | + Method { |
322 | + name: "authenticate" |
323 | + Parameter { name: "username"; type: "string" } |
324 | + } |
325 | + Method { name: "authenticate" } |
326 | + Method { |
327 | + name: "respond" |
328 | + Parameter { name: "response"; type: "string" } |
329 | + } |
330 | + Method { |
331 | + name: "startSessionSync" |
332 | + type: "bool" |
333 | + Parameter { name: "session"; type: "string" } |
334 | + } |
335 | + Method { name: "startSessionSync"; type: "bool" } |
336 | + } |
337 | + Component { |
338 | + name: "QAbstractProxyModel" |
339 | + prototype: "QAbstractItemModel" |
340 | + Property { name: "sourceModel"; type: "QAbstractItemModel"; isPointer: true } |
341 | + } |
342 | + Component { |
343 | + name: "QLightDM::UsersModel" |
344 | + prototype: "QAbstractListModel" |
345 | + exports: ["LightDM/UserRoles 0.1"] |
346 | + isCreatable: false |
347 | + exportMetaObjectRevisions: [0] |
348 | + Enum { |
349 | + name: "UserModelRoles" |
350 | + values: { |
351 | + "NameRole": 256, |
352 | + "RealNameRole": 257, |
353 | + "LoggedInRole": 258, |
354 | + "BackgroundRole": 259, |
355 | + "SessionRole": 260, |
356 | + "HasMessagesRole": 261, |
357 | + "ImagePathRole": 262, |
358 | + "BackgroundPathRole": 263 |
359 | + } |
360 | + } |
361 | + } |
362 | + Component { |
363 | + name: "QSortFilterProxyModel" |
364 | + prototype: "QAbstractProxyModel" |
365 | + Property { name: "filterRegExp"; type: "QRegExp" } |
366 | + Property { name: "filterKeyColumn"; type: "int" } |
367 | + Property { name: "dynamicSortFilter"; type: "bool" } |
368 | + Property { name: "filterCaseSensitivity"; type: "Qt::CaseSensitivity" } |
369 | + Property { name: "sortCaseSensitivity"; type: "Qt::CaseSensitivity" } |
370 | + Property { name: "isSortLocaleAware"; type: "bool" } |
371 | + Property { name: "sortRole"; type: "int" } |
372 | + Property { name: "filterRole"; type: "int" } |
373 | + Method { |
374 | + name: "setFilterRegExp" |
375 | + Parameter { name: "pattern"; type: "string" } |
376 | + } |
377 | + Method { |
378 | + name: "setFilterWildcard" |
379 | + Parameter { name: "pattern"; type: "string" } |
380 | + } |
381 | + Method { |
382 | + name: "setFilterFixedString" |
383 | + Parameter { name: "pattern"; type: "string" } |
384 | + } |
385 | + Method { name: "clear" } |
386 | + Method { name: "invalidate" } |
387 | + } |
388 | + Component { |
389 | + name: "QSortFilterProxyModelQML" |
390 | + prototype: "QSortFilterProxyModel" |
391 | + Property { name: "model"; type: "QAbstractItemModel"; isPointer: true } |
392 | + Property { name: "totalCount"; type: "int"; isReadonly: true } |
393 | + Property { name: "count"; type: "int"; isReadonly: true } |
394 | + Property { name: "invertMatch"; type: "bool" } |
395 | + Signal { |
396 | + name: "invertMatchChanged" |
397 | + Parameter { type: "bool" } |
398 | + } |
399 | + Method { |
400 | + name: "get" |
401 | + type: "QVariantMap" |
402 | + Parameter { name: "row"; type: "int" } |
403 | + } |
404 | + Method { |
405 | + name: "data" |
406 | + type: "QVariant" |
407 | + Parameter { name: "row"; type: "int" } |
408 | + Parameter { name: "role"; type: "int" } |
409 | + } |
410 | + Method { name: "count"; type: "int" } |
411 | + Method { |
412 | + name: "findFirst" |
413 | + type: "int" |
414 | + Parameter { name: "role"; type: "int" } |
415 | + Parameter { name: "value"; type: "QVariant" } |
416 | + } |
417 | + Method { |
418 | + name: "mapRowToSource" |
419 | + type: "int" |
420 | + Parameter { name: "row"; type: "int" } |
421 | + } |
422 | + Method { |
423 | + name: "mapFromSource" |
424 | + type: "int" |
425 | + Parameter { name: "row"; type: "int" } |
426 | + } |
427 | + Method { |
428 | + name: "mapToSource" |
429 | + type: "int" |
430 | + Parameter { name: "row"; type: "int" } |
431 | + } |
432 | + } |
433 | + Component { |
434 | + name: "UserMetricsOutput::ColorTheme" |
435 | + prototype: "QObject" |
436 | + Property { name: "start"; type: "QColor"; isReadonly: true } |
437 | + Property { name: "main"; type: "QColor"; isReadonly: true } |
438 | + Property { name: "end"; type: "QColor"; isReadonly: true } |
439 | + Signal { |
440 | + name: "startChanged" |
441 | + Parameter { name: "color"; type: "QColor" } |
442 | + } |
443 | + Signal { |
444 | + name: "mainChanged" |
445 | + Parameter { name: "color"; type: "QColor" } |
446 | + } |
447 | + Signal { |
448 | + name: "endChanged" |
449 | + Parameter { name: "color"; type: "QColor" } |
450 | + } |
451 | + } |
452 | + Component { |
453 | + name: "UserMetricsOutput::UserMetrics" |
454 | + prototype: "QObject" |
455 | + exports: ["LightDM/Infographic 0.1"] |
456 | + isCreatable: false |
457 | + isSingleton: true |
458 | + exportMetaObjectRevisions: [0] |
459 | + Property { name: "label"; type: "string"; isReadonly: true } |
460 | + Property { name: "username"; type: "string" } |
461 | + Property { |
462 | + name: "firstColor" |
463 | + type: "UserMetricsOutput::ColorTheme" |
464 | + isReadonly: true |
465 | + isPointer: true |
466 | + } |
467 | + Property { |
468 | + name: "secondColor" |
469 | + type: "UserMetricsOutput::ColorTheme" |
470 | + isReadonly: true |
471 | + isPointer: true |
472 | + } |
473 | + Property { name: "firstMonth"; type: "QAbstractItemModel"; isReadonly: true; isPointer: true } |
474 | + Property { name: "secondMonth"; type: "QAbstractItemModel"; isReadonly: true; isPointer: true } |
475 | + Property { name: "currentDay"; type: "int"; isReadonly: true } |
476 | + Signal { |
477 | + name: "labelChanged" |
478 | + Parameter { name: "label"; type: "string" } |
479 | + } |
480 | + Signal { |
481 | + name: "usernameChanged" |
482 | + Parameter { name: "username"; type: "string" } |
483 | + } |
484 | + Signal { |
485 | + name: "firstColorChanged" |
486 | + Parameter { name: "color"; type: "ColorTheme"; isPointer: true } |
487 | + } |
488 | + Signal { |
489 | + name: "firstMonthChanged" |
490 | + Parameter { name: "firstMonth"; type: "QAbstractItemModel"; isPointer: true } |
491 | + } |
492 | + Signal { |
493 | + name: "currentDayChanged" |
494 | + Parameter { name: "currentDay"; type: "int" } |
495 | + } |
496 | + Signal { |
497 | + name: "secondColorChanged" |
498 | + Parameter { name: "color"; type: "ColorTheme"; isPointer: true } |
499 | + } |
500 | + Signal { |
501 | + name: "secondMonthChanged" |
502 | + Parameter { name: "secondMonth"; type: "QAbstractItemModel"; isPointer: true } |
503 | + } |
504 | + Signal { name: "nextDataSource" } |
505 | + Signal { name: "readyForDataChange" } |
506 | + Signal { name: "dataAboutToAppear" } |
507 | + Signal { name: "dataAppeared" } |
508 | + Signal { name: "dataAboutToChange" } |
509 | + Signal { name: "dataChanged" } |
510 | + Signal { name: "dataAboutToDisappear" } |
511 | + Signal { name: "dataDisappeared" } |
512 | + Method { name: "nextDataSourceSlot" } |
513 | + Method { name: "readyForDataChangeSlot" } |
514 | + } |
515 | + Component { |
516 | + name: "UsersModel" |
517 | + prototype: "QSortFilterProxyModelQML" |
518 | + exports: ["LightDM/Users 0.1"] |
519 | + isCreatable: false |
520 | + isSingleton: true |
521 | + exportMetaObjectRevisions: [0] |
522 | + } |
523 | +} |
524 | |
525 | === added file 'plugins/Powerd/Powerd.qmltypes' |
526 | --- plugins/Powerd/Powerd.qmltypes 1970-01-01 00:00:00 +0000 |
527 | +++ plugins/Powerd/Powerd.qmltypes 2014-06-26 02:45:27 +0000 |
528 | @@ -0,0 +1,46 @@ |
529 | +import QtQuick.tooling 1.1 |
530 | + |
531 | +// This file describes the plugin-supplied types contained in the library. |
532 | +// It is used for QML tooling purposes only. |
533 | +// |
534 | +// This file was auto-generated by: |
535 | +// 'qmlplugindump -notrelocatable Powerd 0.1 plugins' |
536 | + |
537 | +Module { |
538 | + Component { |
539 | + name: "Powerd" |
540 | + prototype: "QObject" |
541 | + exports: ["Powerd/Powerd 0.1"] |
542 | + isCreatable: false |
543 | + isSingleton: true |
544 | + exportMetaObjectRevisions: [0] |
545 | + Enum { |
546 | + name: "DisplayFlag" |
547 | + values: { |
548 | + "UseProximity": 1, |
549 | + "DisableAutoBrightness": 2, |
550 | + "Bright": 4 |
551 | + } |
552 | + } |
553 | + Enum { |
554 | + name: "DisplayFlags" |
555 | + values: { |
556 | + "UseProximity": 1, |
557 | + "DisableAutoBrightness": 2, |
558 | + "Bright": 4 |
559 | + } |
560 | + } |
561 | + Enum { |
562 | + name: "Status" |
563 | + values: { |
564 | + "Off": 0, |
565 | + "On": 1 |
566 | + } |
567 | + } |
568 | + Signal { |
569 | + name: "displayPowerStateChange" |
570 | + Parameter { name: "status"; type: "int" } |
571 | + Parameter { name: "flags"; type: "uint" } |
572 | + } |
573 | + } |
574 | +} |
575 | |
576 | === added file 'plugins/SessionBroadcast/SessionBroadcast.qmltypes' |
577 | --- plugins/SessionBroadcast/SessionBroadcast.qmltypes 1970-01-01 00:00:00 +0000 |
578 | +++ plugins/SessionBroadcast/SessionBroadcast.qmltypes 2014-06-26 02:45:27 +0000 |
579 | @@ -0,0 +1,19 @@ |
580 | +import QtQuick.tooling 1.1 |
581 | + |
582 | +// This file describes the plugin-supplied types contained in the library. |
583 | +// It is used for QML tooling purposes only. |
584 | +// |
585 | +// This file was auto-generated by: |
586 | +// 'qmlplugindump -notrelocatable SessionBroadcast 0.1 plugins' |
587 | + |
588 | +Module { |
589 | + Component { |
590 | + name: "SessionBroadcast" |
591 | + prototype: "QObject" |
592 | + exports: ["SessionBroadcast/SessionBroadcast 0.1"] |
593 | + isCreatable: false |
594 | + isSingleton: true |
595 | + exportMetaObjectRevisions: [0] |
596 | + Signal { name: "showHome" } |
597 | + } |
598 | +} |
599 | |
600 | === added file 'plugins/Ubuntu/DownloadDaemonListener/DownloadDaemonListener.qmltypes' |
601 | --- plugins/Ubuntu/DownloadDaemonListener/DownloadDaemonListener.qmltypes 1970-01-01 00:00:00 +0000 |
602 | +++ plugins/Ubuntu/DownloadDaemonListener/DownloadDaemonListener.qmltypes 2014-06-26 02:45:27 +0000 |
603 | @@ -0,0 +1,60 @@ |
604 | +import QtQuick.tooling 1.1 |
605 | + |
606 | +// This file describes the plugin-supplied types contained in the library. |
607 | +// It is used for QML tooling purposes only. |
608 | +// |
609 | +// This file was auto-generated by: |
610 | +// 'qmlplugindump -notrelocatable Ubuntu.DownloadDaemonListener 0.1 plugins' |
611 | + |
612 | +Module { |
613 | + Component { |
614 | + name: "DownloadTracker" |
615 | + prototype: "QObject" |
616 | + exports: ["Ubuntu.DownloadDaemonListener/DownloadTracker 0.1"] |
617 | + exportMetaObjectRevisions: [0] |
618 | + Property { name: "service"; type: "string" } |
619 | + Property { name: "dbusPath"; type: "string" } |
620 | + Property { name: "serviceReady"; type: "bool"; isReadonly: true } |
621 | + Signal { |
622 | + name: "serviceChanged" |
623 | + Parameter { name: "service"; type: "string" } |
624 | + } |
625 | + Signal { |
626 | + name: "dbusPathChanged" |
627 | + Parameter { name: "dbusPath"; type: "string" } |
628 | + } |
629 | + Signal { |
630 | + name: "serviceReadyChanged" |
631 | + Parameter { name: "serviceReady"; type: "bool" } |
632 | + } |
633 | + Signal { |
634 | + name: "canceled" |
635 | + Parameter { name: "success"; type: "bool" } |
636 | + } |
637 | + Signal { |
638 | + name: "error" |
639 | + Parameter { name: "error"; type: "string" } |
640 | + } |
641 | + Signal { |
642 | + name: "finished" |
643 | + Parameter { name: "path"; type: "string" } |
644 | + } |
645 | + Signal { |
646 | + name: "paused" |
647 | + Parameter { name: "success"; type: "bool" } |
648 | + } |
649 | + Signal { |
650 | + name: "progress" |
651 | + Parameter { name: "received"; type: "qulonglong" } |
652 | + Parameter { name: "total"; type: "qulonglong" } |
653 | + } |
654 | + Signal { |
655 | + name: "resumed" |
656 | + Parameter { name: "success"; type: "bool" } |
657 | + } |
658 | + Signal { |
659 | + name: "started" |
660 | + Parameter { name: "success"; type: "bool" } |
661 | + } |
662 | + } |
663 | +} |
664 | |
665 | === added file 'plugins/Ubuntu/Gestures/Gestures.qmltypes' |
666 | --- plugins/Ubuntu/Gestures/Gestures.qmltypes 1970-01-01 00:00:00 +0000 |
667 | +++ plugins/Ubuntu/Gestures/Gestures.qmltypes 2014-06-26 02:45:27 +0000 |
668 | @@ -0,0 +1,153 @@ |
669 | +import QtQuick.tooling 1.1 |
670 | + |
671 | +// This file describes the plugin-supplied types contained in the library. |
672 | +// It is used for QML tooling purposes only. |
673 | +// |
674 | +// This file was auto-generated by: |
675 | +// 'qmlplugindump -notrelocatable Ubuntu.Gestures 0.1 plugins' |
676 | + |
677 | +Module { |
678 | + Component { |
679 | + name: "AxisVelocityCalculator" |
680 | + prototype: "QObject" |
681 | + exports: ["Ubuntu.Gestures/AxisVelocityCalculator 0.1"] |
682 | + exportMetaObjectRevisions: [0] |
683 | + Property { name: "trackedPosition"; type: "double" } |
684 | + Signal { |
685 | + name: "trackedPositionChanged" |
686 | + Parameter { name: "value"; type: "double" } |
687 | + } |
688 | + Method { name: "calculate"; type: "double" } |
689 | + Method { name: "reset" } |
690 | + } |
691 | + Component { |
692 | + name: "Direction" |
693 | + prototype: "QObject" |
694 | + exports: ["Ubuntu.Gestures/Direction 0.1"] |
695 | + isCreatable: false |
696 | + isSingleton: true |
697 | + exportMetaObjectRevisions: [0] |
698 | + Enum { |
699 | + name: "Type" |
700 | + values: { |
701 | + "Rightwards": 0, |
702 | + "Leftwards": 1, |
703 | + "Downwards": 2, |
704 | + "Upwards": 3 |
705 | + } |
706 | + } |
707 | + Method { |
708 | + name: "isHorizontal" |
709 | + type: "bool" |
710 | + Parameter { name: "type"; type: "Direction::Type" } |
711 | + } |
712 | + Method { |
713 | + name: "isVertical" |
714 | + type: "bool" |
715 | + Parameter { name: "type"; type: "Direction::Type" } |
716 | + } |
717 | + Method { |
718 | + name: "isPositive" |
719 | + type: "bool" |
720 | + Parameter { name: "type"; type: "Direction::Type" } |
721 | + } |
722 | + } |
723 | + Component { |
724 | + name: "DirectionalDragArea" |
725 | + defaultProperty: "data" |
726 | + prototype: "QQuickItem" |
727 | + exports: ["Ubuntu.Gestures/DirectionalDragArea 0.1"] |
728 | + exportMetaObjectRevisions: [0] |
729 | + Enum { |
730 | + name: "Status" |
731 | + values: { |
732 | + "WaitingForTouch": 0, |
733 | + "Undecided": 1, |
734 | + "Recognized": 2 |
735 | + } |
736 | + } |
737 | + Property { name: "direction"; type: "Direction::Type" } |
738 | + Property { name: "distance"; type: "double"; isReadonly: true } |
739 | + Property { name: "sceneDistance"; type: "double"; isReadonly: true } |
740 | + Property { name: "touchX"; type: "double"; isReadonly: true } |
741 | + Property { name: "touchY"; type: "double"; isReadonly: true } |
742 | + Property { name: "touchSceneX"; type: "double"; isReadonly: true } |
743 | + Property { name: "touchSceneY"; type: "double"; isReadonly: true } |
744 | + Property { name: "status"; type: "Status"; isReadonly: true } |
745 | + Property { name: "dragging"; type: "bool"; isReadonly: true } |
746 | + Property { name: "maxDeviation"; type: "double" } |
747 | + Property { name: "wideningAngle"; type: "double" } |
748 | + Property { name: "distanceThreshold"; type: "double" } |
749 | + Property { name: "minSpeed"; type: "double" } |
750 | + Property { name: "maxSilenceTime"; type: "int" } |
751 | + Property { name: "compositionTime"; type: "int" } |
752 | + Signal { |
753 | + name: "directionChanged" |
754 | + Parameter { name: "direction"; type: "Direction::Type" } |
755 | + } |
756 | + Signal { |
757 | + name: "statusChanged" |
758 | + Parameter { name: "value"; type: "Status" } |
759 | + } |
760 | + Signal { |
761 | + name: "draggingChanged" |
762 | + Parameter { name: "value"; type: "bool" } |
763 | + } |
764 | + Signal { |
765 | + name: "distanceChanged" |
766 | + Parameter { name: "value"; type: "double" } |
767 | + } |
768 | + Signal { |
769 | + name: "sceneDistanceChanged" |
770 | + Parameter { name: "value"; type: "double" } |
771 | + } |
772 | + Signal { |
773 | + name: "maxDeviationChanged" |
774 | + Parameter { name: "value"; type: "double" } |
775 | + } |
776 | + Signal { |
777 | + name: "wideningAngleChanged" |
778 | + Parameter { name: "value"; type: "double" } |
779 | + } |
780 | + Signal { |
781 | + name: "distanceThresholdChanged" |
782 | + Parameter { name: "value"; type: "double" } |
783 | + } |
784 | + Signal { |
785 | + name: "minSpeedChanged" |
786 | + Parameter { name: "value"; type: "double" } |
787 | + } |
788 | + Signal { |
789 | + name: "maxSilenceTimeChanged" |
790 | + Parameter { name: "value"; type: "int" } |
791 | + } |
792 | + Signal { |
793 | + name: "compositionTimeChanged" |
794 | + Parameter { name: "value"; type: "int" } |
795 | + } |
796 | + Signal { |
797 | + name: "touchXChanged" |
798 | + Parameter { name: "value"; type: "double" } |
799 | + } |
800 | + Signal { |
801 | + name: "touchYChanged" |
802 | + Parameter { name: "value"; type: "double" } |
803 | + } |
804 | + Signal { |
805 | + name: "touchSceneXChanged" |
806 | + Parameter { name: "value"; type: "double" } |
807 | + } |
808 | + Signal { |
809 | + name: "touchSceneYChanged" |
810 | + Parameter { name: "value"; type: "double" } |
811 | + } |
812 | + } |
813 | + Component { |
814 | + name: "PressedOutsideNotifier" |
815 | + defaultProperty: "data" |
816 | + prototype: "QQuickItem" |
817 | + exports: ["Ubuntu.Gestures/PressedOutsideNotifier 0.1"] |
818 | + exportMetaObjectRevisions: [0] |
819 | + Signal { name: "pressedOutside" } |
820 | + } |
821 | +} |
822 | |
823 | === added file 'plugins/Unity/Indicators/Indicators.qmltypes' |
824 | --- plugins/Unity/Indicators/Indicators.qmltypes 1970-01-01 00:00:00 +0000 |
825 | +++ plugins/Unity/Indicators/Indicators.qmltypes 2014-06-26 02:45:27 +0000 |
826 | @@ -0,0 +1,278 @@ |
827 | +import QtQuick.tooling 1.1 |
828 | + |
829 | +// This file describes the plugin-supplied types contained in the library. |
830 | +// It is used for QML tooling purposes only. |
831 | +// |
832 | +// This file was auto-generated by: |
833 | +// 'qmlplugindump -notrelocatable Unity.Indicators 0.1 plugins' |
834 | + |
835 | +Module { |
836 | + Component { |
837 | + name: "ActionState" |
838 | + prototype: "QObject" |
839 | + exports: ["Unity.Indicators/ActionState 0.1"] |
840 | + isCreatable: false |
841 | + exportMetaObjectRevisions: [0] |
842 | + Enum { |
843 | + name: "ActionStates" |
844 | + values: { |
845 | + "Label": 0, |
846 | + "IconSource": 1, |
847 | + "AccessableName": 2, |
848 | + "Visible": 3 |
849 | + } |
850 | + } |
851 | + } |
852 | + Component { name: "ActionStateParser"; prototype: "QObject" } |
853 | + Component { |
854 | + name: "FlatMenuProxyModelRole" |
855 | + prototype: "QObject" |
856 | + exports: ["Unity.Indicators/FlatMenuProxyModelRole 0.1"] |
857 | + isCreatable: false |
858 | + exportMetaObjectRevisions: [0] |
859 | + Enum { |
860 | + name: "Roles" |
861 | + values: { |
862 | + "Action": 1, |
863 | + "Label": 2, |
864 | + "Extra": 3, |
865 | + "Depth": 4, |
866 | + "hasSection": 5, |
867 | + "hasSubMenu": 6 |
868 | + } |
869 | + } |
870 | + } |
871 | + Component { |
872 | + name: "IndicatorsManager" |
873 | + prototype: "QObject" |
874 | + exports: ["Unity.Indicators/IndicatorsManager 0.1"] |
875 | + exportMetaObjectRevisions: [0] |
876 | + Property { name: "loaded"; type: "bool"; isReadonly: true } |
877 | + Signal { |
878 | + name: "loadedChanged" |
879 | + Parameter { type: "bool" } |
880 | + } |
881 | + Signal { |
882 | + name: "indicatorLoaded" |
883 | + Parameter { name: "indicator_name"; type: "string" } |
884 | + } |
885 | + Signal { |
886 | + name: "indicatorAboutToBeUnloaded" |
887 | + Parameter { name: "indicator_name"; type: "string" } |
888 | + } |
889 | + Method { |
890 | + name: "load" |
891 | + Parameter { name: "profile"; type: "string" } |
892 | + } |
893 | + Method { name: "unload" } |
894 | + } |
895 | + Component { |
896 | + name: "IndicatorsModel" |
897 | + prototype: "QAbstractListModel" |
898 | + exports: ["Unity.Indicators/IndicatorsModel 0.1"] |
899 | + exportMetaObjectRevisions: [0] |
900 | + Property { name: "count"; type: "int"; isReadonly: true } |
901 | + Signal { |
902 | + name: "indicatorDataChanged" |
903 | + Parameter { name: "data"; type: "QVariant" } |
904 | + } |
905 | + Method { |
906 | + name: "load" |
907 | + Parameter { name: "profile"; type: "string" } |
908 | + } |
909 | + Method { name: "unload" } |
910 | + Method { |
911 | + name: "data" |
912 | + type: "QVariant" |
913 | + Parameter { name: "row"; type: "int" } |
914 | + Parameter { name: "role"; type: "int" } |
915 | + } |
916 | + } |
917 | + Component { |
918 | + name: "IndicatorsModelRole" |
919 | + prototype: "QObject" |
920 | + exports: ["Unity.Indicators/IndicatorsModelRole 0.1"] |
921 | + isCreatable: false |
922 | + exportMetaObjectRevisions: [0] |
923 | + Enum { |
924 | + name: "Roles" |
925 | + values: { |
926 | + "Identifier": 0, |
927 | + "Position": 1, |
928 | + "WidgetSource": 2, |
929 | + "PageSource": 3, |
930 | + "IndicatorProperties": 4, |
931 | + "IsVisible": 5 |
932 | + } |
933 | + } |
934 | + } |
935 | + Component { |
936 | + name: "MenuContentActivator" |
937 | + prototype: "QObject" |
938 | + exports: ["Unity.Indicators/MenuContentActivator 0.1"] |
939 | + exportMetaObjectRevisions: [0] |
940 | + Property { name: "baseIndex"; type: "int" } |
941 | + Property { name: "running"; type: "bool" } |
942 | + Property { name: "count"; type: "int" } |
943 | + Property { name: "content"; type: "MenuContentState"; isList: true; isReadonly: true } |
944 | + Signal { |
945 | + name: "baseIndexChanged" |
946 | + Parameter { name: "baseIndex"; type: "int" } |
947 | + } |
948 | + Signal { |
949 | + name: "deltaChanged" |
950 | + Parameter { name: "delta"; type: "int" } |
951 | + } |
952 | + Signal { |
953 | + name: "runningChanged" |
954 | + Parameter { name: "running"; type: "bool" } |
955 | + } |
956 | + Signal { |
957 | + name: "countChanged" |
958 | + Parameter { name: "count"; type: "int" } |
959 | + } |
960 | + Method { name: "restart" } |
961 | + Method { name: "stop" } |
962 | + Method { name: "clear" } |
963 | + Method { |
964 | + name: "isMenuContentActive" |
965 | + type: "bool" |
966 | + Parameter { name: "index"; type: "int" } |
967 | + } |
968 | + } |
969 | + Component { |
970 | + name: "MenuContentState" |
971 | + prototype: "QObject" |
972 | + exports: ["Unity.Indicators/MenuContentState 0.1"] |
973 | + isCreatable: false |
974 | + exportMetaObjectRevisions: [0] |
975 | + Property { name: "active"; type: "bool"; isReadonly: true } |
976 | + } |
977 | + Component { |
978 | + name: "ModelPrinter" |
979 | + prototype: "QObject" |
980 | + exports: ["Unity.Indicators/ModelPrinter 0.1"] |
981 | + exportMetaObjectRevisions: [0] |
982 | + Property { name: "model"; type: "UnityMenuModel"; isPointer: true } |
983 | + Property { name: "text"; type: "string"; isReadonly: true } |
984 | + Method { name: "text"; type: "string" } |
985 | + } |
986 | + Component { |
987 | + name: "NetworkActionState" |
988 | + prototype: "QObject" |
989 | + exports: ["Unity.Indicators/NetworkActionState 0.1"] |
990 | + isCreatable: false |
991 | + exportMetaObjectRevisions: [0] |
992 | + Enum { |
993 | + name: "NetworkActionStates" |
994 | + values: { |
995 | + "Connection": 1, |
996 | + "SignalStrength": 2 |
997 | + } |
998 | + } |
999 | + } |
1000 | + Component { |
1001 | + name: "NetworkConnection" |
1002 | + prototype: "QObject" |
1003 | + exports: ["Unity.Indicators/NetworkConnection 0.1"] |
1004 | + isCreatable: false |
1005 | + exportMetaObjectRevisions: [0] |
1006 | + Enum { |
1007 | + name: "NetworkConnectionStates" |
1008 | + values: { |
1009 | + "Initial": 0, |
1010 | + "Activating": 1, |
1011 | + "Activated": 2, |
1012 | + "Deactivating": 3 |
1013 | + } |
1014 | + } |
1015 | + } |
1016 | + Component { |
1017 | + name: "QAbstractProxyModel" |
1018 | + prototype: "QAbstractItemModel" |
1019 | + Property { name: "sourceModel"; type: "QAbstractItemModel"; isPointer: true } |
1020 | + } |
1021 | + Component { name: "QIdentityProxyModel"; prototype: "QAbstractProxyModel" } |
1022 | + Component { |
1023 | + name: "RootActionState" |
1024 | + prototype: "ActionStateParser" |
1025 | + exports: ["Unity.Indicators/RootActionState 0.1"] |
1026 | + exportMetaObjectRevisions: [0] |
1027 | + Property { name: "menu"; type: "UnityMenuModel"; isPointer: true } |
1028 | + Property { name: "valid"; type: "bool"; isReadonly: true } |
1029 | + Property { name: "title"; type: "string"; isReadonly: true } |
1030 | + Property { name: "leftLabel"; type: "string"; isReadonly: true } |
1031 | + Property { name: "rightLabel"; type: "string"; isReadonly: true } |
1032 | + Property { name: "icons"; type: "QStringList"; isReadonly: true } |
1033 | + Property { name: "accessibleName"; type: "string"; isReadonly: true } |
1034 | + Property { name: "visible"; type: "bool"; isReadonly: true } |
1035 | + Signal { name: "updated" } |
1036 | + Signal { name: "indexChanged" } |
1037 | + } |
1038 | + Component { |
1039 | + name: "UnityMenuModelCache" |
1040 | + prototype: "QObject" |
1041 | + exports: ["Unity.Indicators/UnityMenuModelCache 0.1"] |
1042 | + isCreatable: false |
1043 | + isSingleton: true |
1044 | + exportMetaObjectRevisions: [0] |
1045 | + Method { |
1046 | + name: "model" |
1047 | + type: "UnityMenuModel*" |
1048 | + Parameter { name: "path"; type: "string" } |
1049 | + } |
1050 | + Method { |
1051 | + name: "registerModel" |
1052 | + Parameter { name: "path"; type: "string" } |
1053 | + Parameter { name: "menuModel"; type: "UnityMenuModel"; isPointer: true } |
1054 | + } |
1055 | + } |
1056 | + Component { |
1057 | + name: "UnityMenuModelStack" |
1058 | + prototype: "QObject" |
1059 | + exports: ["Unity.Indicators/UnityMenuModelStack 0.1"] |
1060 | + exportMetaObjectRevisions: [0] |
1061 | + Property { name: "head"; type: "UnityMenuModel"; isPointer: true } |
1062 | + Property { name: "tail"; type: "UnityMenuModel"; isReadonly: true; isPointer: true } |
1063 | + Property { name: "count"; type: "int"; isReadonly: true } |
1064 | + Signal { |
1065 | + name: "headChanged" |
1066 | + Parameter { name: "head"; type: "UnityMenuModel"; isPointer: true } |
1067 | + } |
1068 | + Signal { |
1069 | + name: "tailChanged" |
1070 | + Parameter { name: "tail"; type: "UnityMenuModel"; isPointer: true } |
1071 | + } |
1072 | + Signal { |
1073 | + name: "countChanged" |
1074 | + Parameter { name: "count"; type: "int" } |
1075 | + } |
1076 | + Method { |
1077 | + name: "push" |
1078 | + Parameter { name: "model"; type: "UnityMenuModel"; isPointer: true } |
1079 | + Parameter { name: "menuIndex"; type: "int" } |
1080 | + } |
1081 | + Method { name: "pop"; type: "UnityMenuModel*" } |
1082 | + } |
1083 | + Component { |
1084 | + name: "VisibleIndicatorsModel" |
1085 | + prototype: "QIdentityProxyModel" |
1086 | + exports: ["Unity.Indicators/VisibleIndicatorsModel 0.1"] |
1087 | + exportMetaObjectRevisions: [0] |
1088 | + Property { name: "model"; type: "QAbstractItemModel"; isPointer: true } |
1089 | + Property { name: "visible"; type: "QVariantMap" } |
1090 | + Signal { name: "totalCountChanged" } |
1091 | + Method { |
1092 | + name: "onBeginRowInserted" |
1093 | + Parameter { type: "QModelIndex" } |
1094 | + Parameter { name: "start"; type: "int" } |
1095 | + Parameter { name: "end"; type: "int" } |
1096 | + } |
1097 | + Method { |
1098 | + name: "onRowInserted" |
1099 | + Parameter { type: "QModelIndex" } |
1100 | + Parameter { name: "start"; type: "int" } |
1101 | + Parameter { name: "end"; type: "int" } |
1102 | + } |
1103 | + } |
1104 | +} |
1105 | |
1106 | === added file 'plugins/Unity/Launcher/Launcher.qmltypes' |
1107 | --- plugins/Unity/Launcher/Launcher.qmltypes 1970-01-01 00:00:00 +0000 |
1108 | +++ plugins/Unity/Launcher/Launcher.qmltypes 2014-06-26 02:45:27 +0000 |
1109 | @@ -0,0 +1,174 @@ |
1110 | +import QtQuick.tooling 1.1 |
1111 | + |
1112 | +// This file describes the plugin-supplied types contained in the library. |
1113 | +// It is used for QML tooling purposes only. |
1114 | +// |
1115 | +// This file was auto-generated by: |
1116 | +// 'qmlplugindump -notrelocatable Unity.Launcher 0.1 plugins' |
1117 | + |
1118 | +Module { |
1119 | + Component { |
1120 | + name: "LauncherItem" |
1121 | + prototype: "unity::shell::launcher::LauncherItemInterface" |
1122 | + exports: ["Unity.Launcher/LauncherItem 0.1"] |
1123 | + isCreatable: false |
1124 | + exportMetaObjectRevisions: [0] |
1125 | + Signal { |
1126 | + name: "favoriteChanged" |
1127 | + Parameter { name: "favorite"; type: "bool" } |
1128 | + } |
1129 | + Signal { |
1130 | + name: "runningChanged" |
1131 | + Parameter { name: "running"; type: "bool" } |
1132 | + } |
1133 | + } |
1134 | + Component { |
1135 | + name: "LauncherModel" |
1136 | + prototype: "unity::shell::launcher::LauncherModelInterface" |
1137 | + exports: ["Unity.Launcher/LauncherModel 0.1"] |
1138 | + isCreatable: false |
1139 | + isSingleton: true |
1140 | + exportMetaObjectRevisions: [0] |
1141 | + Method { |
1142 | + name: "get" |
1143 | + type: "unity::shell::launcher::LauncherItemInterface*" |
1144 | + Parameter { name: "index"; type: "int" } |
1145 | + } |
1146 | + Method { |
1147 | + name: "move" |
1148 | + Parameter { name: "oldIndex"; type: "int" } |
1149 | + Parameter { name: "newIndex"; type: "int" } |
1150 | + } |
1151 | + Method { |
1152 | + name: "pin" |
1153 | + Parameter { name: "appId"; type: "string" } |
1154 | + Parameter { name: "index"; type: "int" } |
1155 | + } |
1156 | + Method { |
1157 | + name: "pin" |
1158 | + Parameter { name: "appId"; type: "string" } |
1159 | + } |
1160 | + Method { |
1161 | + name: "requestRemove" |
1162 | + Parameter { name: "appId"; type: "string" } |
1163 | + } |
1164 | + Method { |
1165 | + name: "quickListActionInvoked" |
1166 | + Parameter { name: "appId"; type: "string" } |
1167 | + Parameter { name: "actionIndex"; type: "int" } |
1168 | + } |
1169 | + Method { |
1170 | + name: "setUser" |
1171 | + Parameter { name: "username"; type: "string" } |
1172 | + } |
1173 | + Method { |
1174 | + name: "getUrlForAppId" |
1175 | + type: "string" |
1176 | + Parameter { name: "appId"; type: "string" } |
1177 | + } |
1178 | + } |
1179 | + Component { |
1180 | + name: "QuickListModel" |
1181 | + prototype: "unity::shell::launcher::QuickListModelInterface" |
1182 | + exports: ["Unity.Launcher/QuickListModel 0.1"] |
1183 | + isCreatable: false |
1184 | + exportMetaObjectRevisions: [0] |
1185 | + } |
1186 | + Component { |
1187 | + name: "unity::shell::launcher::LauncherItemInterface" |
1188 | + prototype: "QObject" |
1189 | + exports: ["Unity.Launcher/LauncherItemInterface 0.1"] |
1190 | + isCreatable: false |
1191 | + exportMetaObjectRevisions: [0] |
1192 | + Property { name: "appId"; type: "string"; isReadonly: true } |
1193 | + Property { name: "name"; type: "string"; isReadonly: true } |
1194 | + Property { name: "icon"; type: "string"; isReadonly: true } |
1195 | + Property { name: "pinned"; type: "bool"; isReadonly: true } |
1196 | + Property { name: "running"; type: "bool"; isReadonly: true } |
1197 | + Property { name: "recent"; type: "bool"; isReadonly: true } |
1198 | + Property { name: "progress"; type: "int"; isReadonly: true } |
1199 | + Property { name: "count"; type: "int"; isReadonly: true } |
1200 | + Property { name: "focused"; type: "bool"; isReadonly: true } |
1201 | + Property { |
1202 | + name: "quickList" |
1203 | + type: "unity::shell::launcher::QuickListModelInterface" |
1204 | + isReadonly: true |
1205 | + isPointer: true |
1206 | + } |
1207 | + Signal { |
1208 | + name: "pinnedChanged" |
1209 | + Parameter { name: "pinned"; type: "bool" } |
1210 | + } |
1211 | + Signal { |
1212 | + name: "runningChanged" |
1213 | + Parameter { name: "running"; type: "bool" } |
1214 | + } |
1215 | + Signal { |
1216 | + name: "recentChanged" |
1217 | + Parameter { name: "running"; type: "bool" } |
1218 | + } |
1219 | + Signal { |
1220 | + name: "progressChanged" |
1221 | + Parameter { name: "progress"; type: "int" } |
1222 | + } |
1223 | + Signal { |
1224 | + name: "countChanged" |
1225 | + Parameter { name: "count"; type: "int" } |
1226 | + } |
1227 | + Signal { |
1228 | + name: "focusedChanged" |
1229 | + Parameter { name: "focused"; type: "bool" } |
1230 | + } |
1231 | + } |
1232 | + Component { |
1233 | + name: "unity::shell::launcher::LauncherModelInterface" |
1234 | + prototype: "QAbstractListModel" |
1235 | + exports: ["Unity.Launcher/LauncherModelInterface 0.1"] |
1236 | + isCreatable: false |
1237 | + exportMetaObjectRevisions: [0] |
1238 | + Property { |
1239 | + name: "applicationManager" |
1240 | + type: "unity::shell::application::ApplicationManagerInterface" |
1241 | + isPointer: true |
1242 | + } |
1243 | + Method { |
1244 | + name: "move" |
1245 | + Parameter { name: "oldIndex"; type: "int" } |
1246 | + Parameter { name: "newIndex"; type: "int" } |
1247 | + } |
1248 | + Method { |
1249 | + name: "get" |
1250 | + type: "unity::shell::launcher::LauncherItemInterface*" |
1251 | + Parameter { name: "index"; type: "int" } |
1252 | + } |
1253 | + Method { |
1254 | + name: "pin" |
1255 | + Parameter { name: "appId"; type: "string" } |
1256 | + Parameter { name: "index"; type: "int" } |
1257 | + } |
1258 | + Method { |
1259 | + name: "pin" |
1260 | + Parameter { name: "appId"; type: "string" } |
1261 | + } |
1262 | + Method { |
1263 | + name: "requestRemove" |
1264 | + Parameter { name: "appId"; type: "string" } |
1265 | + } |
1266 | + Method { |
1267 | + name: "quickListActionInvoked" |
1268 | + Parameter { name: "appId"; type: "string" } |
1269 | + Parameter { name: "actionIndex"; type: "int" } |
1270 | + } |
1271 | + Method { |
1272 | + name: "setUser" |
1273 | + Parameter { name: "username"; type: "string" } |
1274 | + } |
1275 | + } |
1276 | + Component { |
1277 | + name: "unity::shell::launcher::QuickListModelInterface" |
1278 | + prototype: "QAbstractListModel" |
1279 | + exports: ["Unity.Launcher/QuickListInterface 0.1"] |
1280 | + isCreatable: false |
1281 | + exportMetaObjectRevisions: [0] |
1282 | + } |
1283 | +} |
1284 | |
1285 | === added file 'plugins/Unity/Session/Session.qmltypes' |
1286 | --- plugins/Unity/Session/Session.qmltypes 1970-01-01 00:00:00 +0000 |
1287 | +++ plugins/Unity/Session/Session.qmltypes 2014-06-26 02:45:27 +0000 |
1288 | @@ -0,0 +1,25 @@ |
1289 | +import QtQuick.tooling 1.1 |
1290 | + |
1291 | +// This file describes the plugin-supplied types contained in the library. |
1292 | +// It is used for QML tooling purposes only. |
1293 | +// |
1294 | +// This file was auto-generated by: |
1295 | +// 'qmlplugindump -notrelocatable Unity.Session 0.1 plugins' |
1296 | + |
1297 | +Module { |
1298 | + Component { |
1299 | + name: "DBusUnitySessionService" |
1300 | + prototype: "QObject" |
1301 | + exports: ["Unity.Session/DBusUnitySessionService 0.1"] |
1302 | + isCreatable: false |
1303 | + isSingleton: true |
1304 | + exportMetaObjectRevisions: [0] |
1305 | + Signal { |
1306 | + name: "logoutRequested" |
1307 | + Parameter { name: "have_inhibitors"; type: "bool" } |
1308 | + } |
1309 | + Signal { name: "logoutReady" } |
1310 | + Method { name: "Logout" } |
1311 | + Method { name: "RequestLogout" } |
1312 | + } |
1313 | +} |
1314 | |
1315 | === added file 'plugins/Utils/Utils.qmltypes' |
1316 | --- plugins/Utils/Utils.qmltypes 1970-01-01 00:00:00 +0000 |
1317 | +++ plugins/Utils/Utils.qmltypes 2014-06-26 02:45:27 +0000 |
1318 | @@ -0,0 +1,143 @@ |
1319 | +import QtQuick.tooling 1.1 |
1320 | + |
1321 | +// This file describes the plugin-supplied types contained in the library. |
1322 | +// It is used for QML tooling purposes only. |
1323 | +// |
1324 | +// This file was auto-generated by: |
1325 | +// 'qmlplugindump -notrelocatable Utils 0.1 plugins' |
1326 | + |
1327 | +Module { |
1328 | + Component { |
1329 | + name: "EasingCurve" |
1330 | + prototype: "QObject" |
1331 | + exports: ["Utils/EasingCurve 0.1"] |
1332 | + exportMetaObjectRevisions: [0] |
1333 | + Property { name: "type"; type: "QEasingCurve::Type" } |
1334 | + Property { name: "period"; type: "double" } |
1335 | + Property { name: "progress"; type: "double" } |
1336 | + Property { name: "value"; type: "double"; isReadonly: true } |
1337 | + } |
1338 | + Component { |
1339 | + name: "QAbstractProxyModel" |
1340 | + prototype: "QAbstractItemModel" |
1341 | + Property { name: "sourceModel"; type: "QAbstractItemModel"; isPointer: true } |
1342 | + } |
1343 | + Component { name: "QIdentityProxyModel"; prototype: "QAbstractProxyModel" } |
1344 | + Component { |
1345 | + name: "QLimitProxyModelQML" |
1346 | + prototype: "QIdentityProxyModel" |
1347 | + exports: ["Utils/LimitProxyModel 0.1"] |
1348 | + exportMetaObjectRevisions: [0] |
1349 | + Property { name: "model"; type: "QAbstractItemModel"; isPointer: true } |
1350 | + Property { name: "limit"; type: "int" } |
1351 | + Property { name: "count"; type: "int"; isReadonly: true } |
1352 | + Signal { name: "totalCountChanged" } |
1353 | + } |
1354 | + Component { |
1355 | + name: "QSortFilterProxyModel" |
1356 | + prototype: "QAbstractProxyModel" |
1357 | + Property { name: "filterRegExp"; type: "QRegExp" } |
1358 | + Property { name: "filterKeyColumn"; type: "int" } |
1359 | + Property { name: "dynamicSortFilter"; type: "bool" } |
1360 | + Property { name: "filterCaseSensitivity"; type: "Qt::CaseSensitivity" } |
1361 | + Property { name: "sortCaseSensitivity"; type: "Qt::CaseSensitivity" } |
1362 | + Property { name: "isSortLocaleAware"; type: "bool" } |
1363 | + Property { name: "sortRole"; type: "int" } |
1364 | + Property { name: "filterRole"; type: "int" } |
1365 | + Method { |
1366 | + name: "setFilterRegExp" |
1367 | + Parameter { name: "pattern"; type: "string" } |
1368 | + } |
1369 | + Method { |
1370 | + name: "setFilterWildcard" |
1371 | + Parameter { name: "pattern"; type: "string" } |
1372 | + } |
1373 | + Method { |
1374 | + name: "setFilterFixedString" |
1375 | + Parameter { name: "pattern"; type: "string" } |
1376 | + } |
1377 | + Method { name: "clear" } |
1378 | + Method { name: "invalidate" } |
1379 | + } |
1380 | + Component { |
1381 | + name: "QSortFilterProxyModelQML" |
1382 | + prototype: "QSortFilterProxyModel" |
1383 | + exports: ["Utils/SortFilterProxyModel 0.1"] |
1384 | + exportMetaObjectRevisions: [0] |
1385 | + Property { name: "model"; type: "QAbstractItemModel"; isPointer: true } |
1386 | + Property { name: "totalCount"; type: "int"; isReadonly: true } |
1387 | + Property { name: "count"; type: "int"; isReadonly: true } |
1388 | + Property { name: "invertMatch"; type: "bool" } |
1389 | + Signal { |
1390 | + name: "invertMatchChanged" |
1391 | + Parameter { type: "bool" } |
1392 | + } |
1393 | + Method { |
1394 | + name: "get" |
1395 | + type: "QVariantMap" |
1396 | + Parameter { name: "row"; type: "int" } |
1397 | + } |
1398 | + Method { |
1399 | + name: "data" |
1400 | + type: "QVariant" |
1401 | + Parameter { name: "row"; type: "int" } |
1402 | + Parameter { name: "role"; type: "int" } |
1403 | + } |
1404 | + Method { name: "count"; type: "int" } |
1405 | + Method { |
1406 | + name: "findFirst" |
1407 | + type: "int" |
1408 | + Parameter { name: "role"; type: "int" } |
1409 | + Parameter { name: "value"; type: "QVariant" } |
1410 | + } |
1411 | + Method { |
1412 | + name: "mapRowToSource" |
1413 | + type: "int" |
1414 | + Parameter { name: "row"; type: "int" } |
1415 | + } |
1416 | + Method { |
1417 | + name: "mapFromSource" |
1418 | + type: "int" |
1419 | + Parameter { name: "row"; type: "int" } |
1420 | + } |
1421 | + Method { |
1422 | + name: "mapToSource" |
1423 | + type: "int" |
1424 | + Parameter { name: "row"; type: "int" } |
1425 | + } |
1426 | + } |
1427 | + Component { |
1428 | + name: "TimeFormatter" |
1429 | + prototype: "QObject" |
1430 | + exports: ["Utils/GDateTimeFormatter 0.1", "Utils/TimeFormatter 0.1"] |
1431 | + exportMetaObjectRevisions: [0, 0] |
1432 | + Property { name: "format"; type: "string" } |
1433 | + Property { name: "timeString"; type: "string"; isReadonly: true } |
1434 | + Property { name: "time"; type: "qlonglong" } |
1435 | + Signal { |
1436 | + name: "formatChanged" |
1437 | + Parameter { name: "format"; type: "string" } |
1438 | + } |
1439 | + Signal { |
1440 | + name: "timeStringChanged" |
1441 | + Parameter { name: "timeString"; type: "string" } |
1442 | + } |
1443 | + Signal { |
1444 | + name: "timeChanged" |
1445 | + Parameter { name: "time"; type: "qlonglong" } |
1446 | + } |
1447 | + } |
1448 | + Component { |
1449 | + name: "UnityMenuModelPaths" |
1450 | + prototype: "QObject" |
1451 | + exports: ["Utils/UnityMenuModelPaths 0.1"] |
1452 | + exportMetaObjectRevisions: [0] |
1453 | + Property { name: "source"; type: "QVariant" } |
1454 | + Property { name: "busName"; type: "QByteArray"; isReadonly: true } |
1455 | + Property { name: "actions"; type: "QVariantMap"; isReadonly: true } |
1456 | + Property { name: "menuObjectPath"; type: "QByteArray"; isReadonly: true } |
1457 | + Property { name: "busNameHint"; type: "QByteArray" } |
1458 | + Property { name: "actionsHint"; type: "QByteArray" } |
1459 | + Property { name: "menuObjectPathHint"; type: "QByteArray" } |
1460 | + } |
1461 | +} |
1462 | |
1463 | === added file 'tests/mocks/AccountsService/AccountsService.qmltypes' |
1464 | --- tests/mocks/AccountsService/AccountsService.qmltypes 1970-01-01 00:00:00 +0000 |
1465 | +++ tests/mocks/AccountsService/AccountsService.qmltypes 2014-06-26 02:45:27 +0000 |
1466 | @@ -0,0 +1,22 @@ |
1467 | +import QtQuick.tooling 1.1 |
1468 | + |
1469 | +// This file describes the plugin-supplied types contained in the library. |
1470 | +// It is used for QML tooling purposes only. |
1471 | +// |
1472 | +// This file was auto-generated by: |
1473 | +// 'qmlplugindump -notrelocatable AccountsService 0.1 tests/mocks' |
1474 | + |
1475 | +Module { |
1476 | + Component { |
1477 | + name: "AccountsService" |
1478 | + prototype: "QObject" |
1479 | + exports: ["AccountsService/AccountsService 0.1"] |
1480 | + isCreatable: false |
1481 | + isSingleton: true |
1482 | + exportMetaObjectRevisions: [0] |
1483 | + Property { name: "user"; type: "string" } |
1484 | + Property { name: "demoEdges"; type: "bool" } |
1485 | + Property { name: "backgroundFile"; type: "string" } |
1486 | + Property { name: "statsWelcomeScreen"; type: "bool" } |
1487 | + } |
1488 | +} |
1489 | |
1490 | === added file 'tests/mocks/GSettings.1.0/GSettings.qmltypes' |
1491 | --- tests/mocks/GSettings.1.0/GSettings.qmltypes 1970-01-01 00:00:00 +0000 |
1492 | +++ tests/mocks/GSettings.1.0/GSettings.qmltypes 2014-06-26 02:45:27 +0000 |
1493 | @@ -0,0 +1,42 @@ |
1494 | +import QtQuick.tooling 1.1 |
1495 | + |
1496 | +// This file describes the plugin-supplied types contained in the library. |
1497 | +// It is used for QML tooling purposes only. |
1498 | +// |
1499 | +// This file was auto-generated by: |
1500 | +// 'qmlplugindump -notrelocatable GSettings 1.0 tests/mocks' |
1501 | + |
1502 | +Module { |
1503 | + Component { |
1504 | + name: "GSettingsControllerQml" |
1505 | + prototype: "QObject" |
1506 | + exports: ["GSettings/GSettingsController 1.0"] |
1507 | + isCreatable: false |
1508 | + isSingleton: true |
1509 | + exportMetaObjectRevisions: [0] |
1510 | + Method { |
1511 | + name: "setPictureUri" |
1512 | + Parameter { name: "str"; type: "string" } |
1513 | + } |
1514 | + } |
1515 | + Component { |
1516 | + name: "GSettingsQml" |
1517 | + prototype: "QObject" |
1518 | + exports: ["GSettings/GSettings 1.0"] |
1519 | + exportMetaObjectRevisions: [0] |
1520 | + Property { name: "schema"; type: "GSettingsSchemaQml"; isReadonly: true; isPointer: true } |
1521 | + Property { name: "pictureUri"; type: "string" } |
1522 | + Signal { |
1523 | + name: "pictureUriChanged" |
1524 | + Parameter { type: "string" } |
1525 | + } |
1526 | + } |
1527 | + Component { |
1528 | + name: "GSettingsSchemaQml" |
1529 | + prototype: "QObject" |
1530 | + exports: ["GSettings/GSettingsSchema 1.0"] |
1531 | + isCreatable: false |
1532 | + exportMetaObjectRevisions: [0] |
1533 | + Property { name: "id"; type: "QByteArray" } |
1534 | + } |
1535 | +} |
1536 | |
1537 | === added file 'tests/mocks/HudClient/HudClient.qmltypes' |
1538 | --- tests/mocks/HudClient/HudClient.qmltypes 1970-01-01 00:00:00 +0000 |
1539 | +++ tests/mocks/HudClient/HudClient.qmltypes 2014-06-26 02:45:27 +0000 |
1540 | @@ -0,0 +1,113 @@ |
1541 | +import QtQuick.tooling 1.1 |
1542 | + |
1543 | +// This file describes the plugin-supplied types contained in the library. |
1544 | +// It is used for QML tooling purposes only. |
1545 | +// |
1546 | +// This file was auto-generated by: |
1547 | +// 'qmlplugindump -notrelocatable HudClient 0.1 tests/mocks' |
1548 | + |
1549 | +Module { |
1550 | + Component { |
1551 | + name: "DeeListModel" |
1552 | + prototype: "QAbstractListModel" |
1553 | + Property { name: "name"; type: "string" } |
1554 | + Property { name: "synchronized"; type: "bool"; isReadonly: true } |
1555 | + Property { name: "count"; type: "int"; isReadonly: true } |
1556 | + Signal { |
1557 | + name: "nameChanged" |
1558 | + Parameter { type: "string" } |
1559 | + } |
1560 | + Signal { |
1561 | + name: "synchronizedChanged" |
1562 | + Parameter { type: "bool" } |
1563 | + } |
1564 | + Signal { |
1565 | + name: "roleNamesChanged" |
1566 | + Parameter { type: "QHash<int,QByteArray>" } |
1567 | + } |
1568 | + Method { |
1569 | + name: "get" |
1570 | + type: "QVariantMap" |
1571 | + Parameter { name: "row"; type: "int" } |
1572 | + } |
1573 | + Method { name: "count"; type: "int" } |
1574 | + } |
1575 | + Component { |
1576 | + name: "HudClient" |
1577 | + prototype: "QObject" |
1578 | + exports: ["HudClient/HudClient 0.1"] |
1579 | + exportMetaObjectRevisions: [0] |
1580 | + Property { name: "results"; type: "DeeListModel"; isReadonly: true; isPointer: true } |
1581 | + Property { name: "toolBarModel"; type: "QAbstractItemModel"; isReadonly: true; isPointer: true } |
1582 | + Signal { name: "voiceQueryLoading" } |
1583 | + Signal { name: "voiceQueryListening" } |
1584 | + Signal { name: "voiceQueryHeardSomething" } |
1585 | + Signal { name: "voiceQueryFailed" } |
1586 | + Signal { |
1587 | + name: "voiceQueryFinished" |
1588 | + Parameter { name: "query"; type: "string" } |
1589 | + } |
1590 | + Signal { name: "commandExecuted" } |
1591 | + Signal { |
1592 | + name: "showParametrizedAction" |
1593 | + Parameter { name: "action"; type: "string" } |
1594 | + Parameter { name: "items"; type: "QVariant" } |
1595 | + } |
1596 | + Method { |
1597 | + name: "executeCommand" |
1598 | + Parameter { name: "index"; type: "int" } |
1599 | + } |
1600 | + Method { |
1601 | + name: "setQuery" |
1602 | + Parameter { name: "new_query"; type: "string" } |
1603 | + } |
1604 | + Method { name: "startVoiceQuery" } |
1605 | + Method { |
1606 | + name: "executeParametrizedAction" |
1607 | + Parameter { name: "values"; type: "QVariant" } |
1608 | + } |
1609 | + Method { |
1610 | + name: "updateParametrizedAction" |
1611 | + Parameter { name: "values"; type: "QVariant" } |
1612 | + } |
1613 | + Method { name: "cancelParametrizedAction" } |
1614 | + Method { |
1615 | + name: "executeToolBarAction" |
1616 | + Parameter { name: "action"; type: "HudClientQueryToolbarItems" } |
1617 | + } |
1618 | + } |
1619 | + Component { |
1620 | + name: "HudClientStub" |
1621 | + prototype: "QObject" |
1622 | + exports: ["HudClient/HudClientStub 0.1"] |
1623 | + exportMetaObjectRevisions: [0] |
1624 | + Property { name: "lastExecutedToolbarItem"; type: "int"; isReadonly: true } |
1625 | + Property { name: "lastSetQuery"; type: "string"; isReadonly: true } |
1626 | + Property { name: "lastExecutedCommandRow"; type: "int"; isReadonly: true } |
1627 | + Property { name: "lastExecutedParametrizedCommandRow"; type: "int"; isReadonly: true } |
1628 | + Property { name: "lastParametrizedCommandCommited"; type: "bool"; isReadonly: true } |
1629 | + Property { name: "activatedActions"; type: "QVariantMap"; isReadonly: true } |
1630 | + Method { name: "reset" } |
1631 | + Method { name: "fullScreenToolbarItemValue"; type: "int" } |
1632 | + Method { name: "helpToolbarItemValue"; type: "int" } |
1633 | + Method { name: "preferencesToolbarItemValue"; type: "int" } |
1634 | + Method { name: "undoToolbarItemValue"; type: "int" } |
1635 | + Method { |
1636 | + name: "setHelpToolbarItemEnabled" |
1637 | + Parameter { name: "enabled"; type: "bool" } |
1638 | + } |
1639 | + } |
1640 | + Component { name: "HudToolBarModel"; prototype: "QAbstractListModel" } |
1641 | + Component { |
1642 | + name: "VolumePeakDetector" |
1643 | + prototype: "QObject" |
1644 | + exports: ["HudClient/VolumePeakDetector 0.1"] |
1645 | + exportMetaObjectRevisions: [0] |
1646 | + Property { name: "enabled"; type: "bool" } |
1647 | + Property { name: "desiredInterval"; type: "int" } |
1648 | + Signal { |
1649 | + name: "newPeak" |
1650 | + Parameter { name: "volume"; type: "float" } |
1651 | + } |
1652 | + } |
1653 | +} |
1654 | |
1655 | === added file 'tests/mocks/LightDM/LightDM.qmltypes' |
1656 | --- tests/mocks/LightDM/LightDM.qmltypes 1970-01-01 00:00:00 +0000 |
1657 | +++ tests/mocks/LightDM/LightDM.qmltypes 2014-06-26 02:45:27 +0000 |
1658 | @@ -0,0 +1,241 @@ |
1659 | +import QtQuick.tooling 1.1 |
1660 | + |
1661 | +// This file describes the plugin-supplied types contained in the library. |
1662 | +// It is used for QML tooling purposes only. |
1663 | +// |
1664 | +// This file was auto-generated by: |
1665 | +// 'qmlplugindump -notrelocatable LightDM 0.1 tests/mocks' |
1666 | + |
1667 | +Module { |
1668 | + Component { |
1669 | + name: "Greeter" |
1670 | + prototype: "QObject" |
1671 | + exports: ["LightDM/Greeter 0.1"] |
1672 | + isCreatable: false |
1673 | + isSingleton: true |
1674 | + exportMetaObjectRevisions: [0] |
1675 | + Property { name: "authenticated"; type: "bool"; isReadonly: true } |
1676 | + Property { name: "authenticationUser"; type: "string"; isReadonly: true } |
1677 | + Property { name: "promptless"; type: "bool"; isReadonly: true } |
1678 | + Signal { |
1679 | + name: "showMessage" |
1680 | + Parameter { name: "text"; type: "string" } |
1681 | + Parameter { name: "isError"; type: "bool" } |
1682 | + } |
1683 | + Signal { |
1684 | + name: "showPrompt" |
1685 | + Parameter { name: "text"; type: "string" } |
1686 | + Parameter { name: "isSecret"; type: "bool" } |
1687 | + } |
1688 | + Signal { name: "authenticationComplete" } |
1689 | + Signal { |
1690 | + name: "authenticationUserChanged" |
1691 | + Parameter { name: "user"; type: "string" } |
1692 | + } |
1693 | + Signal { |
1694 | + name: "requestAuthenticationUser" |
1695 | + Parameter { name: "user"; type: "string" } |
1696 | + } |
1697 | + Method { |
1698 | + name: "authenticate" |
1699 | + Parameter { name: "username"; type: "string" } |
1700 | + } |
1701 | + Method { name: "authenticate" } |
1702 | + Method { |
1703 | + name: "respond" |
1704 | + Parameter { name: "response"; type: "string" } |
1705 | + } |
1706 | + Method { |
1707 | + name: "startSessionSync" |
1708 | + type: "bool" |
1709 | + Parameter { name: "session"; type: "string" } |
1710 | + } |
1711 | + Method { name: "startSessionSync"; type: "bool" } |
1712 | + } |
1713 | + Component { |
1714 | + name: "QAbstractProxyModel" |
1715 | + prototype: "QAbstractItemModel" |
1716 | + Property { name: "sourceModel"; type: "QAbstractItemModel"; isPointer: true } |
1717 | + } |
1718 | + Component { |
1719 | + name: "QLightDM::UsersModel" |
1720 | + prototype: "QAbstractListModel" |
1721 | + exports: ["LightDM/UserRoles 0.1"] |
1722 | + isCreatable: false |
1723 | + exportMetaObjectRevisions: [0] |
1724 | + Enum { |
1725 | + name: "UserModelRoles" |
1726 | + values: { |
1727 | + "NameRole": 256, |
1728 | + "RealNameRole": 257, |
1729 | + "LoggedInRole": 258, |
1730 | + "BackgroundRole": 259, |
1731 | + "SessionRole": 260, |
1732 | + "HasMessagesRole": 261, |
1733 | + "ImagePathRole": 262, |
1734 | + "BackgroundPathRole": 263 |
1735 | + } |
1736 | + } |
1737 | + } |
1738 | + Component { |
1739 | + name: "QSortFilterProxyModel" |
1740 | + prototype: "QAbstractProxyModel" |
1741 | + Property { name: "filterRegExp"; type: "QRegExp" } |
1742 | + Property { name: "filterKeyColumn"; type: "int" } |
1743 | + Property { name: "dynamicSortFilter"; type: "bool" } |
1744 | + Property { name: "filterCaseSensitivity"; type: "Qt::CaseSensitivity" } |
1745 | + Property { name: "sortCaseSensitivity"; type: "Qt::CaseSensitivity" } |
1746 | + Property { name: "isSortLocaleAware"; type: "bool" } |
1747 | + Property { name: "sortRole"; type: "int" } |
1748 | + Property { name: "filterRole"; type: "int" } |
1749 | + Method { |
1750 | + name: "setFilterRegExp" |
1751 | + Parameter { name: "pattern"; type: "string" } |
1752 | + } |
1753 | + Method { |
1754 | + name: "setFilterWildcard" |
1755 | + Parameter { name: "pattern"; type: "string" } |
1756 | + } |
1757 | + Method { |
1758 | + name: "setFilterFixedString" |
1759 | + Parameter { name: "pattern"; type: "string" } |
1760 | + } |
1761 | + Method { name: "clear" } |
1762 | + Method { name: "invalidate" } |
1763 | + } |
1764 | + Component { |
1765 | + name: "QSortFilterProxyModelQML" |
1766 | + prototype: "QSortFilterProxyModel" |
1767 | + Property { name: "model"; type: "QAbstractItemModel"; isPointer: true } |
1768 | + Property { name: "totalCount"; type: "int"; isReadonly: true } |
1769 | + Property { name: "count"; type: "int"; isReadonly: true } |
1770 | + Property { name: "invertMatch"; type: "bool" } |
1771 | + Signal { |
1772 | + name: "invertMatchChanged" |
1773 | + Parameter { type: "bool" } |
1774 | + } |
1775 | + Method { |
1776 | + name: "get" |
1777 | + type: "QVariantMap" |
1778 | + Parameter { name: "row"; type: "int" } |
1779 | + } |
1780 | + Method { |
1781 | + name: "data" |
1782 | + type: "QVariant" |
1783 | + Parameter { name: "row"; type: "int" } |
1784 | + Parameter { name: "role"; type: "int" } |
1785 | + } |
1786 | + Method { name: "count"; type: "int" } |
1787 | + Method { |
1788 | + name: "findFirst" |
1789 | + type: "int" |
1790 | + Parameter { name: "role"; type: "int" } |
1791 | + Parameter { name: "value"; type: "QVariant" } |
1792 | + } |
1793 | + Method { |
1794 | + name: "mapRowToSource" |
1795 | + type: "int" |
1796 | + Parameter { name: "row"; type: "int" } |
1797 | + } |
1798 | + Method { |
1799 | + name: "mapFromSource" |
1800 | + type: "int" |
1801 | + Parameter { name: "row"; type: "int" } |
1802 | + } |
1803 | + Method { |
1804 | + name: "mapToSource" |
1805 | + type: "int" |
1806 | + Parameter { name: "row"; type: "int" } |
1807 | + } |
1808 | + } |
1809 | + Component { |
1810 | + name: "UserMetricsOutput::ColorTheme" |
1811 | + prototype: "QObject" |
1812 | + Property { name: "start"; type: "QColor"; isReadonly: true } |
1813 | + Property { name: "main"; type: "QColor"; isReadonly: true } |
1814 | + Property { name: "end"; type: "QColor"; isReadonly: true } |
1815 | + Signal { |
1816 | + name: "startChanged" |
1817 | + Parameter { name: "color"; type: "QColor" } |
1818 | + } |
1819 | + Signal { |
1820 | + name: "mainChanged" |
1821 | + Parameter { name: "color"; type: "QColor" } |
1822 | + } |
1823 | + Signal { |
1824 | + name: "endChanged" |
1825 | + Parameter { name: "color"; type: "QColor" } |
1826 | + } |
1827 | + } |
1828 | + Component { |
1829 | + name: "UserMetricsOutput::UserMetrics" |
1830 | + prototype: "QObject" |
1831 | + exports: ["LightDM/Infographic 0.1"] |
1832 | + isCreatable: false |
1833 | + isSingleton: true |
1834 | + exportMetaObjectRevisions: [0] |
1835 | + Property { name: "label"; type: "string"; isReadonly: true } |
1836 | + Property { name: "username"; type: "string" } |
1837 | + Property { |
1838 | + name: "firstColor" |
1839 | + type: "UserMetricsOutput::ColorTheme" |
1840 | + isReadonly: true |
1841 | + isPointer: true |
1842 | + } |
1843 | + Property { |
1844 | + name: "secondColor" |
1845 | + type: "UserMetricsOutput::ColorTheme" |
1846 | + isReadonly: true |
1847 | + isPointer: true |
1848 | + } |
1849 | + Property { name: "firstMonth"; type: "QAbstractItemModel"; isReadonly: true; isPointer: true } |
1850 | + Property { name: "secondMonth"; type: "QAbstractItemModel"; isReadonly: true; isPointer: true } |
1851 | + Property { name: "currentDay"; type: "int"; isReadonly: true } |
1852 | + Signal { |
1853 | + name: "labelChanged" |
1854 | + Parameter { name: "label"; type: "string" } |
1855 | + } |
1856 | + Signal { |
1857 | + name: "usernameChanged" |
1858 | + Parameter { name: "username"; type: "string" } |
1859 | + } |
1860 | + Signal { |
1861 | + name: "firstColorChanged" |
1862 | + Parameter { name: "color"; type: "ColorTheme"; isPointer: true } |
1863 | + } |
1864 | + Signal { |
1865 | + name: "firstMonthChanged" |
1866 | + Parameter { name: "firstMonth"; type: "QAbstractItemModel"; isPointer: true } |
1867 | + } |
1868 | + Signal { |
1869 | + name: "currentDayChanged" |
1870 | + Parameter { name: "currentDay"; type: "int" } |
1871 | + } |
1872 | + Signal { |
1873 | + name: "secondColorChanged" |
1874 | + Parameter { name: "color"; type: "ColorTheme"; isPointer: true } |
1875 | + } |
1876 | + Signal { |
1877 | + name: "secondMonthChanged" |
1878 | + Parameter { name: "secondMonth"; type: "QAbstractItemModel"; isPointer: true } |
1879 | + } |
1880 | + Signal { name: "nextDataSource" } |
1881 | + Signal { name: "readyForDataChange" } |
1882 | + Signal { name: "dataAboutToAppear" } |
1883 | + Signal { name: "dataAppeared" } |
1884 | + Signal { name: "dataAboutToChange" } |
1885 | + Signal { name: "dataChanged" } |
1886 | + Signal { name: "dataAboutToDisappear" } |
1887 | + Signal { name: "dataDisappeared" } |
1888 | + Method { name: "nextDataSourceSlot" } |
1889 | + Method { name: "readyForDataChangeSlot" } |
1890 | + } |
1891 | + Component { |
1892 | + name: "UsersModel" |
1893 | + prototype: "QSortFilterProxyModelQML" |
1894 | + exports: ["LightDM/Users 0.1"] |
1895 | + isCreatable: false |
1896 | + isSingleton: true |
1897 | + exportMetaObjectRevisions: [0] |
1898 | + } |
1899 | +} |
1900 | |
1901 | === added file 'tests/mocks/Powerd/Powerd.qmltypes' |
1902 | --- tests/mocks/Powerd/Powerd.qmltypes 1970-01-01 00:00:00 +0000 |
1903 | +++ tests/mocks/Powerd/Powerd.qmltypes 2014-06-26 02:45:27 +0000 |
1904 | @@ -0,0 +1,46 @@ |
1905 | +import QtQuick.tooling 1.1 |
1906 | + |
1907 | +// This file describes the plugin-supplied types contained in the library. |
1908 | +// It is used for QML tooling purposes only. |
1909 | +// |
1910 | +// This file was auto-generated by: |
1911 | +// 'qmlplugindump -notrelocatable Powerd 0.1 tests/mocks' |
1912 | + |
1913 | +Module { |
1914 | + Component { |
1915 | + name: "Powerd" |
1916 | + prototype: "QObject" |
1917 | + exports: ["Powerd/Powerd 0.1"] |
1918 | + isCreatable: false |
1919 | + isSingleton: true |
1920 | + exportMetaObjectRevisions: [0] |
1921 | + Enum { |
1922 | + name: "DisplayFlag" |
1923 | + values: { |
1924 | + "UseProximity": 1, |
1925 | + "DisableAutoBrightness": 2, |
1926 | + "Bright": 4 |
1927 | + } |
1928 | + } |
1929 | + Enum { |
1930 | + name: "DisplayFlags" |
1931 | + values: { |
1932 | + "UseProximity": 1, |
1933 | + "DisableAutoBrightness": 2, |
1934 | + "Bright": 4 |
1935 | + } |
1936 | + } |
1937 | + Enum { |
1938 | + name: "Status" |
1939 | + values: { |
1940 | + "Off": 0, |
1941 | + "On": 1 |
1942 | + } |
1943 | + } |
1944 | + Signal { |
1945 | + name: "displayPowerStateChange" |
1946 | + Parameter { name: "status"; type: "int" } |
1947 | + Parameter { name: "flags"; type: "uint" } |
1948 | + } |
1949 | + } |
1950 | +} |
1951 | |
1952 | === added file 'tests/mocks/QMenuModel/QMenuModel.qmltypes' |
1953 | --- tests/mocks/QMenuModel/QMenuModel.qmltypes 1970-01-01 00:00:00 +0000 |
1954 | +++ tests/mocks/QMenuModel/QMenuModel.qmltypes 2014-06-26 02:45:27 +0000 |
1955 | @@ -0,0 +1,77 @@ |
1956 | +import QtQuick.tooling 1.1 |
1957 | + |
1958 | +// This file describes the plugin-supplied types contained in the library. |
1959 | +// It is used for QML tooling purposes only. |
1960 | +// |
1961 | +// This file was auto-generated by: |
1962 | +// 'qmlplugindump -notrelocatable QMenuModel 0.1 tests/mocks' |
1963 | + |
1964 | +Module { |
1965 | + Component { |
1966 | + name: "ActionStateParser" |
1967 | + prototype: "QObject" |
1968 | + exports: ["QMenuModel/ActionStateParser 0.1"] |
1969 | + exportMetaObjectRevisions: [0] |
1970 | + } |
1971 | + Component { |
1972 | + name: "UnityMenuModel" |
1973 | + prototype: "QAbstractListModel" |
1974 | + exports: ["QMenuModel/UnityMenuModel 0.1"] |
1975 | + exportMetaObjectRevisions: [0] |
1976 | + Property { name: "modelData"; type: "QVariant" } |
1977 | + Property { name: "busName"; type: "QByteArray" } |
1978 | + Property { name: "actions"; type: "QVariantMap" } |
1979 | + Property { name: "menuObjectPath"; type: "QByteArray" } |
1980 | + Property { name: "actionStateParser"; type: "ActionStateParser"; isPointer: true } |
1981 | + Method { |
1982 | + name: "insertRow" |
1983 | + Parameter { name: "row"; type: "int" } |
1984 | + Parameter { name: "data"; type: "QVariant" } |
1985 | + } |
1986 | + Method { |
1987 | + name: "appendRow" |
1988 | + Parameter { name: "data"; type: "QVariant" } |
1989 | + } |
1990 | + Method { |
1991 | + name: "removeRow" |
1992 | + Parameter { name: "row"; type: "int" } |
1993 | + } |
1994 | + Method { |
1995 | + name: "submenu" |
1996 | + type: "QObject*" |
1997 | + Parameter { name: "position"; type: "int" } |
1998 | + Parameter { name: "actionStateParser"; type: "QQmlComponent"; isPointer: true } |
1999 | + } |
2000 | + Method { |
2001 | + name: "submenu" |
2002 | + type: "QObject*" |
2003 | + Parameter { name: "position"; type: "int" } |
2004 | + } |
2005 | + Method { |
2006 | + name: "loadExtendedAttributes" |
2007 | + type: "bool" |
2008 | + Parameter { name: "position"; type: "int" } |
2009 | + Parameter { name: "schema"; type: "QVariantMap" } |
2010 | + } |
2011 | + Method { |
2012 | + name: "get" |
2013 | + type: "QVariant" |
2014 | + Parameter { name: "row"; type: "int" } |
2015 | + Parameter { name: "role"; type: "QByteArray" } |
2016 | + } |
2017 | + Method { |
2018 | + name: "activate" |
2019 | + Parameter { name: "index"; type: "int" } |
2020 | + Parameter { name: "parameter"; type: "QVariant" } |
2021 | + } |
2022 | + Method { |
2023 | + name: "activate" |
2024 | + Parameter { name: "index"; type: "int" } |
2025 | + } |
2026 | + Method { |
2027 | + name: "changeState" |
2028 | + Parameter { name: "index"; type: "int" } |
2029 | + Parameter { name: "parameter"; type: "QVariant" } |
2030 | + } |
2031 | + } |
2032 | +} |
2033 | |
2034 | === added file 'tests/mocks/QtMultimedia/QtMultimedia.qmltypes' |
2035 | --- tests/mocks/QtMultimedia/QtMultimedia.qmltypes 1970-01-01 00:00:00 +0000 |
2036 | +++ tests/mocks/QtMultimedia/QtMultimedia.qmltypes 2014-06-26 02:45:27 +0000 |
2037 | @@ -0,0 +1,52 @@ |
2038 | +import QtQuick.tooling 1.1 |
2039 | + |
2040 | +// This file describes the plugin-supplied types contained in the library. |
2041 | +// It is used for QML tooling purposes only. |
2042 | +// |
2043 | +// This file was auto-generated by: |
2044 | +// 'qmlplugindump -notrelocatable QtMultimedia 5.0 tests/mocks' |
2045 | + |
2046 | +Module { |
2047 | + Component { |
2048 | + name: "Audio" |
2049 | + prototype: "QObject" |
2050 | + exports: ["QtMultimedia/Audio 5.0"] |
2051 | + exportMetaObjectRevisions: [0] |
2052 | + Enum { |
2053 | + name: "PlaybackState" |
2054 | + values: { |
2055 | + "PlayingState": 0, |
2056 | + "PausedState": 1, |
2057 | + "StoppedState": 2 |
2058 | + } |
2059 | + } |
2060 | + Property { name: "source"; type: "QUrl" } |
2061 | + Property { name: "playbackState"; type: "PlaybackState"; isReadonly: true } |
2062 | + Property { name: "position"; type: "int"; isReadonly: true } |
2063 | + Property { name: "duration"; type: "int"; isReadonly: true } |
2064 | + Property { name: "errorString"; type: "string"; isReadonly: true } |
2065 | + Signal { |
2066 | + name: "sourceChanged" |
2067 | + Parameter { name: "source"; type: "QUrl" } |
2068 | + } |
2069 | + Signal { |
2070 | + name: "playbackStateChanged" |
2071 | + Parameter { name: "playbackState"; type: "PlaybackState" } |
2072 | + } |
2073 | + Signal { |
2074 | + name: "positionChanged" |
2075 | + Parameter { name: "position"; type: "int" } |
2076 | + } |
2077 | + Signal { |
2078 | + name: "durationChanged" |
2079 | + Parameter { name: "duration"; type: "int" } |
2080 | + } |
2081 | + Signal { |
2082 | + name: "errorStringChanged" |
2083 | + Parameter { name: "errorString"; type: "string" } |
2084 | + } |
2085 | + Method { name: "pause" } |
2086 | + Method { name: "play" } |
2087 | + Method { name: "stop" } |
2088 | + } |
2089 | +} |
2090 | |
2091 | === added file 'tests/mocks/Ubuntu/DownloadDaemonListener/DownloadDaemonListener.qmltypes' |
2092 | --- tests/mocks/Ubuntu/DownloadDaemonListener/DownloadDaemonListener.qmltypes 1970-01-01 00:00:00 +0000 |
2093 | +++ tests/mocks/Ubuntu/DownloadDaemonListener/DownloadDaemonListener.qmltypes 2014-06-26 02:45:27 +0000 |
2094 | @@ -0,0 +1,60 @@ |
2095 | +import QtQuick.tooling 1.1 |
2096 | + |
2097 | +// This file describes the plugin-supplied types contained in the library. |
2098 | +// It is used for QML tooling purposes only. |
2099 | +// |
2100 | +// This file was auto-generated by: |
2101 | +// 'qmlplugindump -notrelocatable Ubuntu.DownloadDaemonListener 0.1 tests/mocks' |
2102 | + |
2103 | +Module { |
2104 | + Component { |
2105 | + name: "MockDownloadTracker" |
2106 | + prototype: "QObject" |
2107 | + exports: ["Ubuntu.DownloadDaemonListener/DownloadTracker 0.1"] |
2108 | + exportMetaObjectRevisions: [0] |
2109 | + Property { name: "service"; type: "string" } |
2110 | + Property { name: "dbusPath"; type: "string" } |
2111 | + Property { name: "serviceReady"; type: "bool"; isReadonly: true } |
2112 | + Signal { |
2113 | + name: "serviceChanged" |
2114 | + Parameter { name: "service"; type: "string" } |
2115 | + } |
2116 | + Signal { |
2117 | + name: "dbusPathChanged" |
2118 | + Parameter { name: "dbusPath"; type: "string" } |
2119 | + } |
2120 | + Signal { |
2121 | + name: "serviceReadyChanged" |
2122 | + Parameter { name: "serviceReady"; type: "bool" } |
2123 | + } |
2124 | + Signal { |
2125 | + name: "canceled" |
2126 | + Parameter { name: "success"; type: "bool" } |
2127 | + } |
2128 | + Signal { |
2129 | + name: "error" |
2130 | + Parameter { name: "error"; type: "string" } |
2131 | + } |
2132 | + Signal { |
2133 | + name: "finished" |
2134 | + Parameter { name: "path"; type: "string" } |
2135 | + } |
2136 | + Signal { |
2137 | + name: "paused" |
2138 | + Parameter { name: "success"; type: "bool" } |
2139 | + } |
2140 | + Signal { |
2141 | + name: "progress" |
2142 | + Parameter { name: "received"; type: "qulonglong" } |
2143 | + Parameter { name: "total"; type: "qulonglong" } |
2144 | + } |
2145 | + Signal { |
2146 | + name: "resumed" |
2147 | + Parameter { name: "success"; type: "bool" } |
2148 | + } |
2149 | + Signal { |
2150 | + name: "started" |
2151 | + Parameter { name: "success"; type: "bool" } |
2152 | + } |
2153 | + } |
2154 | +} |
2155 | |
2156 | === added file 'tests/mocks/Ubuntu/Thumbnailer/Thumbnailer.qmltypes' |
2157 | --- tests/mocks/Ubuntu/Thumbnailer/Thumbnailer.qmltypes 1970-01-01 00:00:00 +0000 |
2158 | +++ tests/mocks/Ubuntu/Thumbnailer/Thumbnailer.qmltypes 2014-06-26 02:45:27 +0000 |
2159 | @@ -0,0 +1,17 @@ |
2160 | +import QtQuick.tooling 1.1 |
2161 | + |
2162 | +// This file describes the plugin-supplied types contained in the library. |
2163 | +// It is used for QML tooling purposes only. |
2164 | +// |
2165 | +// This file was auto-generated by: |
2166 | +// 'qmlplugindump -notrelocatable Ubuntu.Thumbnailer 0.1 tests/mocks' |
2167 | + |
2168 | +Module { |
2169 | + Component { |
2170 | + name: "QQmlTypeNotAvailable" |
2171 | + prototype: "QObject" |
2172 | + exports: ["Ubuntu.Thumbnailer/__ThumbnailerIgnoreMe 0.1"] |
2173 | + isCreatable: false |
2174 | + exportMetaObjectRevisions: [0] |
2175 | + } |
2176 | +} |
2177 | |
2178 | === added file 'tests/mocks/Unity/Application/Application.qmltypes' |
2179 | --- tests/mocks/Unity/Application/Application.qmltypes 1970-01-01 00:00:00 +0000 |
2180 | +++ tests/mocks/Unity/Application/Application.qmltypes 2014-06-26 02:45:27 +0000 |
2181 | @@ -0,0 +1,313 @@ |
2182 | +import QtQuick.tooling 1.1 |
2183 | + |
2184 | +// This file describes the plugin-supplied types contained in the library. |
2185 | +// It is used for QML tooling purposes only. |
2186 | +// |
2187 | +// This file was auto-generated by: |
2188 | +// 'qmlplugindump -notrelocatable Unity.Application 0.1 nonmirplugins' |
2189 | + |
2190 | +Module { |
2191 | + Component { |
2192 | + name: "ApplicationImage" |
2193 | + defaultProperty: "data" |
2194 | + prototype: "QQuickItem" |
2195 | + exports: ["Unity.Application/ApplicationImage 0.1"] |
2196 | + exportMetaObjectRevisions: [0] |
2197 | + Enum { |
2198 | + name: "FillMode" |
2199 | + values: { |
2200 | + "Stretch": 0, |
2201 | + "PreserveAspectCrop": 1 |
2202 | + } |
2203 | + } |
2204 | + Property { name: "source"; type: "ApplicationInfo"; isPointer: true } |
2205 | + Property { name: "fillMode"; type: "FillMode" } |
2206 | + Property { name: "ready"; type: "bool" } |
2207 | + Method { name: "scheduleUpdate" } |
2208 | + Method { name: "updateFromCache" } |
2209 | + } |
2210 | + Component { |
2211 | + name: "ApplicationInfo" |
2212 | + prototype: "unity::shell::application::ApplicationInfoInterface" |
2213 | + exports: ["Unity.Application/ApplicationInfo 0.1"] |
2214 | + exportMetaObjectRevisions: [0] |
2215 | + Property { name: "fullscreen"; type: "bool" } |
2216 | + Property { name: "stage"; type: "Stage" } |
2217 | + Property { name: "imageQml"; type: "string" } |
2218 | + Property { name: "windowQml"; type: "string" } |
2219 | + Signal { name: "appIdChanged" } |
2220 | + Signal { name: "nameChanged" } |
2221 | + Signal { name: "commentChanged" } |
2222 | + Signal { name: "iconChanged" } |
2223 | + Signal { name: "stateChanged" } |
2224 | + Signal { name: "focusedChanged" } |
2225 | + Signal { name: "screenshotChanged" } |
2226 | + } |
2227 | + Component { |
2228 | + name: "ApplicationManager" |
2229 | + prototype: "unity::shell::application::ApplicationManagerInterface" |
2230 | + exports: ["Unity.Application/ApplicationManager 0.1"] |
2231 | + isCreatable: false |
2232 | + isSingleton: true |
2233 | + exportMetaObjectRevisions: [0] |
2234 | + Enum { |
2235 | + name: "Role" |
2236 | + values: { |
2237 | + "Dash": 0, |
2238 | + "Default": 1, |
2239 | + "Indicators": 2, |
2240 | + "Notifications": 3, |
2241 | + "Greeter": 4, |
2242 | + "Launcher": 5, |
2243 | + "OnScreenKeyboard": 6, |
2244 | + "ShutdownDialog": 7 |
2245 | + } |
2246 | + } |
2247 | + Enum { |
2248 | + name: "StageHint" |
2249 | + values: { |
2250 | + "MainStage": 0, |
2251 | + "IntegrationStage": 1, |
2252 | + "ShareStage": 2, |
2253 | + "ContentPickingStage": 3, |
2254 | + "SideStage": 4, |
2255 | + "ConfigurationStage": 5 |
2256 | + } |
2257 | + } |
2258 | + Enum { |
2259 | + name: "FormFactorHint" |
2260 | + values: { |
2261 | + "DesktopFormFactor": 0, |
2262 | + "PhoneFormFactor": 1, |
2263 | + "TabletFormFactor": 2 |
2264 | + } |
2265 | + } |
2266 | + Enum { |
2267 | + name: "FavoriteApplication" |
2268 | + values: { |
2269 | + "CameraApplication": 0, |
2270 | + "GalleryApplication": 1, |
2271 | + "BrowserApplication": 2, |
2272 | + "ShareApplication": 3, |
2273 | + "PhoneApplication": 4, |
2274 | + "DialerApplication": 5, |
2275 | + "MessagingApplication": 6, |
2276 | + "AddressbookApplication": 7 |
2277 | + } |
2278 | + } |
2279 | + Enum { |
2280 | + name: "ExecFlags" |
2281 | + values: { |
2282 | + "NoFlag": 0, |
2283 | + "ForceMainStage": 1 |
2284 | + } |
2285 | + } |
2286 | + Property { name: "keyboardHeight"; type: "int"; isReadonly: true } |
2287 | + Property { name: "keyboardVisible"; type: "bool"; isReadonly: true } |
2288 | + Property { name: "sideStageWidth"; type: "int"; isReadonly: true } |
2289 | + Property { name: "stageHint"; type: "StageHint"; isReadonly: true } |
2290 | + Property { name: "formFactorHint"; type: "FormFactorHint"; isReadonly: true } |
2291 | + Property { name: "fake"; type: "bool"; isReadonly: true } |
2292 | + Property { name: "rightMargin"; type: "int" } |
2293 | + Signal { |
2294 | + name: "focusRequested" |
2295 | + Parameter { name: "favoriteApplication"; type: "FavoriteApplication" } |
2296 | + } |
2297 | + Signal { |
2298 | + name: "focusRequested" |
2299 | + Parameter { name: "appId"; type: "string" } |
2300 | + } |
2301 | + Method { |
2302 | + name: "get" |
2303 | + type: "ApplicationInfo*" |
2304 | + Parameter { name: "index"; type: "int" } |
2305 | + } |
2306 | + Method { |
2307 | + name: "findApplication" |
2308 | + type: "ApplicationInfo*" |
2309 | + Parameter { name: "appId"; type: "string" } |
2310 | + } |
2311 | + Method { |
2312 | + name: "move" |
2313 | + Parameter { name: "from"; type: "int" } |
2314 | + Parameter { name: "to"; type: "int" } |
2315 | + } |
2316 | + Method { |
2317 | + name: "requestFocusApplication" |
2318 | + type: "bool" |
2319 | + Parameter { name: "appId"; type: "string" } |
2320 | + } |
2321 | + Method { |
2322 | + name: "focusApplication" |
2323 | + type: "bool" |
2324 | + Parameter { name: "appId"; type: "string" } |
2325 | + } |
2326 | + Method { name: "unfocusCurrentApplication" } |
2327 | + Method { |
2328 | + name: "startApplication" |
2329 | + type: "ApplicationInfo*" |
2330 | + Parameter { name: "appId"; type: "string" } |
2331 | + Parameter { name: "arguments"; type: "QStringList" } |
2332 | + } |
2333 | + Method { |
2334 | + name: "startApplication" |
2335 | + type: "ApplicationInfo*" |
2336 | + Parameter { name: "appId"; type: "string" } |
2337 | + } |
2338 | + Method { |
2339 | + name: "startApplication" |
2340 | + type: "ApplicationInfo*" |
2341 | + Parameter { name: "appId"; type: "string" } |
2342 | + Parameter { name: "flags"; type: "ExecFlags" } |
2343 | + Parameter { name: "arguments"; type: "QStringList" } |
2344 | + } |
2345 | + Method { |
2346 | + name: "startApplication" |
2347 | + type: "ApplicationInfo*" |
2348 | + Parameter { name: "appId"; type: "string" } |
2349 | + Parameter { name: "flags"; type: "ExecFlags" } |
2350 | + } |
2351 | + Method { |
2352 | + name: "stopApplication" |
2353 | + type: "bool" |
2354 | + Parameter { name: "appId"; type: "string" } |
2355 | + } |
2356 | + Method { |
2357 | + name: "updateScreenshot" |
2358 | + type: "bool" |
2359 | + Parameter { name: "appId"; type: "string" } |
2360 | + } |
2361 | + Method { name: "availableApplications"; type: "QStringList" } |
2362 | + } |
2363 | + Component { |
2364 | + name: "unity::shell::application::ApplicationInfoInterface" |
2365 | + prototype: "QObject" |
2366 | + exports: ["Unity.Application/ApplicationInfoInterface 0.1"] |
2367 | + isCreatable: false |
2368 | + exportMetaObjectRevisions: [0] |
2369 | + Enum { |
2370 | + name: "Stage" |
2371 | + values: { |
2372 | + "MainStage": 0, |
2373 | + "SideStage": 1 |
2374 | + } |
2375 | + } |
2376 | + Enum { |
2377 | + name: "State" |
2378 | + values: { |
2379 | + "Starting": 0, |
2380 | + "Running": 1, |
2381 | + "Suspended": 2, |
2382 | + "Stopped": 3 |
2383 | + } |
2384 | + } |
2385 | + Property { name: "appId"; type: "string"; isReadonly: true } |
2386 | + Property { name: "name"; type: "string"; isReadonly: true } |
2387 | + Property { name: "comment"; type: "string"; isReadonly: true } |
2388 | + Property { name: "icon"; type: "QUrl"; isReadonly: true } |
2389 | + Property { name: "stage"; type: "Stage"; isReadonly: true } |
2390 | + Property { name: "state"; type: "State"; isReadonly: true } |
2391 | + Property { name: "focused"; type: "bool"; isReadonly: true } |
2392 | + Property { name: "screenshot"; type: "QUrl"; isReadonly: true } |
2393 | + Signal { |
2394 | + name: "nameChanged" |
2395 | + Parameter { name: "name"; type: "string" } |
2396 | + } |
2397 | + Signal { |
2398 | + name: "commentChanged" |
2399 | + Parameter { name: "comment"; type: "string" } |
2400 | + } |
2401 | + Signal { |
2402 | + name: "iconChanged" |
2403 | + Parameter { name: "icon"; type: "QUrl" } |
2404 | + } |
2405 | + Signal { |
2406 | + name: "stageChanged" |
2407 | + Parameter { name: "stage"; type: "Stage" } |
2408 | + } |
2409 | + Signal { |
2410 | + name: "stateChanged" |
2411 | + Parameter { name: "state"; type: "State" } |
2412 | + } |
2413 | + Signal { |
2414 | + name: "focusedChanged" |
2415 | + Parameter { name: "focused"; type: "bool" } |
2416 | + } |
2417 | + Signal { |
2418 | + name: "screenshotChanged" |
2419 | + Parameter { name: "screenshot"; type: "QUrl" } |
2420 | + } |
2421 | + } |
2422 | + Component { |
2423 | + name: "unity::shell::application::ApplicationManagerInterface" |
2424 | + prototype: "QAbstractListModel" |
2425 | + exports: ["Unity.Application/ApplicationManagerInterface 0.1"] |
2426 | + isCreatable: false |
2427 | + exportMetaObjectRevisions: [0] |
2428 | + Enum { |
2429 | + name: "Roles" |
2430 | + values: { |
2431 | + "RoleAppId": 256, |
2432 | + "RoleName": 257, |
2433 | + "RoleComment": 258, |
2434 | + "RoleIcon": 259, |
2435 | + "RoleStage": 260, |
2436 | + "RoleState": 261, |
2437 | + "RoleFocused": 262, |
2438 | + "RoleScreenshot": 263 |
2439 | + } |
2440 | + } |
2441 | + Property { name: "count"; type: "int"; isReadonly: true } |
2442 | + Property { name: "focusedApplicationId"; type: "string"; isReadonly: true } |
2443 | + Property { name: "suspended"; type: "bool" } |
2444 | + Signal { |
2445 | + name: "focusRequested" |
2446 | + Parameter { name: "appId"; type: "string" } |
2447 | + } |
2448 | + Signal { |
2449 | + name: "applicationAdded" |
2450 | + Parameter { name: "appId"; type: "string" } |
2451 | + } |
2452 | + Signal { |
2453 | + name: "applicationRemoved" |
2454 | + Parameter { name: "appId"; type: "string" } |
2455 | + } |
2456 | + Method { |
2457 | + name: "get" |
2458 | + type: "unity::shell::application::ApplicationInfoInterface*" |
2459 | + Parameter { name: "index"; type: "int" } |
2460 | + } |
2461 | + Method { |
2462 | + name: "findApplication" |
2463 | + type: "unity::shell::application::ApplicationInfoInterface*" |
2464 | + Parameter { name: "appId"; type: "string" } |
2465 | + } |
2466 | + Method { |
2467 | + name: "requestFocusApplication" |
2468 | + type: "bool" |
2469 | + Parameter { name: "appId"; type: "string" } |
2470 | + } |
2471 | + Method { |
2472 | + name: "focusApplication" |
2473 | + type: "bool" |
2474 | + Parameter { name: "appId"; type: "string" } |
2475 | + } |
2476 | + Method { name: "unfocusCurrentApplication" } |
2477 | + Method { |
2478 | + name: "startApplication" |
2479 | + type: "unity::shell::application::ApplicationInfoInterface*" |
2480 | + Parameter { name: "appId"; type: "string" } |
2481 | + Parameter { name: "arguments"; type: "QStringList" } |
2482 | + } |
2483 | + Method { |
2484 | + name: "stopApplication" |
2485 | + type: "bool" |
2486 | + Parameter { name: "appId"; type: "string" } |
2487 | + } |
2488 | + Method { |
2489 | + name: "updateScreenshot" |
2490 | + type: "bool" |
2491 | + Parameter { name: "appId"; type: "string" } |
2492 | + } |
2493 | + } |
2494 | +} |
2495 | |
2496 | === added file 'tests/mocks/Unity/Indicators/Indicators.qmltypes' |
2497 | --- tests/mocks/Unity/Indicators/Indicators.qmltypes 1970-01-01 00:00:00 +0000 |
2498 | +++ tests/mocks/Unity/Indicators/Indicators.qmltypes 2014-06-26 02:45:27 +0000 |
2499 | @@ -0,0 +1,210 @@ |
2500 | +import QtQuick.tooling 1.1 |
2501 | + |
2502 | +// This file describes the plugin-supplied types contained in the library. |
2503 | +// It is used for QML tooling purposes only. |
2504 | +// |
2505 | +// This file was auto-generated by: |
2506 | +// 'qmlplugindump -notrelocatable Unity.Indicators 0.1 tests/mocks' |
2507 | + |
2508 | +Module { |
2509 | + Component { |
2510 | + name: "ActionState" |
2511 | + prototype: "QObject" |
2512 | + exports: ["Unity.Indicators/ActionState 0.1"] |
2513 | + isCreatable: false |
2514 | + exportMetaObjectRevisions: [0] |
2515 | + Enum { |
2516 | + name: "ActionStates" |
2517 | + values: { |
2518 | + "Label": 0, |
2519 | + "IconSource": 1, |
2520 | + "AccessableName": 2, |
2521 | + "Visible": 3 |
2522 | + } |
2523 | + } |
2524 | + } |
2525 | + Component { |
2526 | + name: "FakeIndicatorsModel" |
2527 | + prototype: "QAbstractListModel" |
2528 | + exports: ["Unity.Indicators/FakeIndicatorsModel 0.1"] |
2529 | + exportMetaObjectRevisions: [0] |
2530 | + Property { name: "count"; type: "int"; isReadonly: true } |
2531 | + Method { |
2532 | + name: "load" |
2533 | + Parameter { name: "profile"; type: "string" } |
2534 | + } |
2535 | + Method { name: "unload" } |
2536 | + Method { |
2537 | + name: "append" |
2538 | + Parameter { name: "row"; type: "QVariantMap" } |
2539 | + } |
2540 | + Method { |
2541 | + name: "data" |
2542 | + type: "QVariant" |
2543 | + Parameter { name: "row"; type: "int" } |
2544 | + Parameter { name: "role"; type: "int" } |
2545 | + } |
2546 | + } |
2547 | + Component { |
2548 | + name: "FlatMenuProxyModelRole" |
2549 | + prototype: "QObject" |
2550 | + exports: ["Unity.Indicators/FlatMenuProxyModelRole 0.1"] |
2551 | + isCreatable: false |
2552 | + exportMetaObjectRevisions: [0] |
2553 | + Enum { |
2554 | + name: "Roles" |
2555 | + values: { |
2556 | + "Action": 1, |
2557 | + "Label": 2, |
2558 | + "Extra": 3, |
2559 | + "Depth": 4, |
2560 | + "hasSection": 5, |
2561 | + "hasSubMenu": 6 |
2562 | + } |
2563 | + } |
2564 | + } |
2565 | + Component { |
2566 | + name: "IndicatorsModelRole" |
2567 | + prototype: "QObject" |
2568 | + exports: ["Unity.Indicators/IndicatorsModelRole 0.1"] |
2569 | + isCreatable: false |
2570 | + exportMetaObjectRevisions: [0] |
2571 | + Enum { |
2572 | + name: "Roles" |
2573 | + values: { |
2574 | + "Identifier": 0, |
2575 | + "Position": 1, |
2576 | + "WidgetSource": 2, |
2577 | + "PageSource": 3, |
2578 | + "IndicatorProperties": 4, |
2579 | + "IsVisible": 5 |
2580 | + } |
2581 | + } |
2582 | + } |
2583 | + Component { |
2584 | + name: "MenuContentActivator" |
2585 | + prototype: "QObject" |
2586 | + exports: ["Unity.Indicators/MenuContentActivator 0.1"] |
2587 | + exportMetaObjectRevisions: [0] |
2588 | + Property { name: "baseIndex"; type: "int" } |
2589 | + Property { name: "running"; type: "bool" } |
2590 | + Property { name: "count"; type: "int" } |
2591 | + Property { name: "content"; type: "MenuContentState"; isList: true; isReadonly: true } |
2592 | + Signal { |
2593 | + name: "baseIndexChanged" |
2594 | + Parameter { name: "baseIndex"; type: "int" } |
2595 | + } |
2596 | + Signal { |
2597 | + name: "deltaChanged" |
2598 | + Parameter { name: "delta"; type: "int" } |
2599 | + } |
2600 | + Signal { |
2601 | + name: "runningChanged" |
2602 | + Parameter { name: "running"; type: "bool" } |
2603 | + } |
2604 | + Signal { |
2605 | + name: "countChanged" |
2606 | + Parameter { name: "count"; type: "int" } |
2607 | + } |
2608 | + Method { name: "restart" } |
2609 | + Method { name: "stop" } |
2610 | + Method { name: "clear" } |
2611 | + Method { |
2612 | + name: "isMenuContentActive" |
2613 | + type: "bool" |
2614 | + Parameter { name: "index"; type: "int" } |
2615 | + } |
2616 | + } |
2617 | + Component { |
2618 | + name: "MenuContentState" |
2619 | + prototype: "QObject" |
2620 | + exports: ["Unity.Indicators/MenuContentState 0.1"] |
2621 | + isCreatable: false |
2622 | + exportMetaObjectRevisions: [0] |
2623 | + Property { name: "active"; type: "bool"; isReadonly: true } |
2624 | + } |
2625 | + Component { |
2626 | + name: "NetworkActionState" |
2627 | + prototype: "QObject" |
2628 | + exports: ["Unity.Indicators/NetworkActionState 0.1"] |
2629 | + isCreatable: false |
2630 | + exportMetaObjectRevisions: [0] |
2631 | + Enum { |
2632 | + name: "NetworkActionStates" |
2633 | + values: { |
2634 | + "Connection": 1, |
2635 | + "SignalStrength": 2 |
2636 | + } |
2637 | + } |
2638 | + } |
2639 | + Component { |
2640 | + name: "NetworkConnection" |
2641 | + prototype: "QObject" |
2642 | + exports: ["Unity.Indicators/NetworkConnection 0.1"] |
2643 | + isCreatable: false |
2644 | + exportMetaObjectRevisions: [0] |
2645 | + Enum { |
2646 | + name: "NetworkConnectionStates" |
2647 | + values: { |
2648 | + "Initial": 0, |
2649 | + "Activating": 1, |
2650 | + "Activated": 2, |
2651 | + "Deactivating": 3 |
2652 | + } |
2653 | + } |
2654 | + } |
2655 | + Component { |
2656 | + name: "QAbstractProxyModel" |
2657 | + prototype: "QAbstractItemModel" |
2658 | + Property { name: "sourceModel"; type: "QAbstractItemModel"; isPointer: true } |
2659 | + } |
2660 | + Component { name: "QIdentityProxyModel"; prototype: "QAbstractProxyModel" } |
2661 | + Component { |
2662 | + name: "UnityMenuModelStack" |
2663 | + prototype: "QObject" |
2664 | + exports: ["Unity.Indicators/UnityMenuModelStack 0.1"] |
2665 | + exportMetaObjectRevisions: [0] |
2666 | + Property { name: "head"; type: "UnityMenuModel"; isPointer: true } |
2667 | + Property { name: "tail"; type: "UnityMenuModel"; isReadonly: true; isPointer: true } |
2668 | + Property { name: "count"; type: "int"; isReadonly: true } |
2669 | + Signal { |
2670 | + name: "headChanged" |
2671 | + Parameter { name: "head"; type: "UnityMenuModel"; isPointer: true } |
2672 | + } |
2673 | + Signal { |
2674 | + name: "tailChanged" |
2675 | + Parameter { name: "tail"; type: "UnityMenuModel"; isPointer: true } |
2676 | + } |
2677 | + Signal { |
2678 | + name: "countChanged" |
2679 | + Parameter { name: "count"; type: "int" } |
2680 | + } |
2681 | + Method { |
2682 | + name: "push" |
2683 | + Parameter { name: "model"; type: "UnityMenuModel"; isPointer: true } |
2684 | + Parameter { name: "menuIndex"; type: "int" } |
2685 | + } |
2686 | + Method { name: "pop"; type: "UnityMenuModel*" } |
2687 | + } |
2688 | + Component { |
2689 | + name: "VisibleIndicatorsModel" |
2690 | + prototype: "QIdentityProxyModel" |
2691 | + exports: ["Unity.Indicators/VisibleIndicatorsModel 0.1"] |
2692 | + exportMetaObjectRevisions: [0] |
2693 | + Property { name: "model"; type: "QAbstractItemModel"; isPointer: true } |
2694 | + Property { name: "visible"; type: "QVariantMap" } |
2695 | + Signal { name: "totalCountChanged" } |
2696 | + Method { |
2697 | + name: "onBeginRowInserted" |
2698 | + Parameter { type: "QModelIndex" } |
2699 | + Parameter { name: "start"; type: "int" } |
2700 | + Parameter { name: "end"; type: "int" } |
2701 | + } |
2702 | + Method { |
2703 | + name: "onRowInserted" |
2704 | + Parameter { type: "QModelIndex" } |
2705 | + Parameter { name: "start"; type: "int" } |
2706 | + Parameter { name: "end"; type: "int" } |
2707 | + } |
2708 | + } |
2709 | +} |
2710 | |
2711 | === added file 'tests/mocks/Unity/Launcher/Launcher.qmltypes' |
2712 | --- tests/mocks/Unity/Launcher/Launcher.qmltypes 1970-01-01 00:00:00 +0000 |
2713 | +++ tests/mocks/Unity/Launcher/Launcher.qmltypes 2014-06-26 02:45:27 +0000 |
2714 | @@ -0,0 +1,171 @@ |
2715 | +import QtQuick.tooling 1.1 |
2716 | + |
2717 | +// This file describes the plugin-supplied types contained in the library. |
2718 | +// It is used for QML tooling purposes only. |
2719 | +// |
2720 | +// This file was auto-generated by: |
2721 | +// 'qmlplugindump -notrelocatable Unity.Launcher 0.1 tests/mocks' |
2722 | + |
2723 | +Module { |
2724 | + Component { |
2725 | + name: "MockLauncherItem" |
2726 | + prototype: "unity::shell::launcher::LauncherItemInterface" |
2727 | + exports: ["Unity.Launcher/LauncherItem 0.1"] |
2728 | + isCreatable: false |
2729 | + exportMetaObjectRevisions: [0] |
2730 | + } |
2731 | + Component { |
2732 | + name: "MockLauncherModel" |
2733 | + prototype: "unity::shell::launcher::LauncherModelInterface" |
2734 | + exports: ["Unity.Launcher/LauncherModel 0.1"] |
2735 | + isCreatable: false |
2736 | + isSingleton: true |
2737 | + exportMetaObjectRevisions: [0] |
2738 | + Signal { |
2739 | + name: "quickListTriggered" |
2740 | + Parameter { name: "appId"; type: "string" } |
2741 | + Parameter { name: "index"; type: "int" } |
2742 | + } |
2743 | + Method { |
2744 | + name: "get" |
2745 | + type: "unity::shell::launcher::LauncherItemInterface*" |
2746 | + Parameter { name: "index"; type: "int" } |
2747 | + } |
2748 | + Method { |
2749 | + name: "move" |
2750 | + Parameter { name: "oldIndex"; type: "int" } |
2751 | + Parameter { name: "newIndex"; type: "int" } |
2752 | + } |
2753 | + Method { |
2754 | + name: "pin" |
2755 | + Parameter { name: "appId"; type: "string" } |
2756 | + Parameter { name: "index"; type: "int" } |
2757 | + } |
2758 | + Method { |
2759 | + name: "pin" |
2760 | + Parameter { name: "appId"; type: "string" } |
2761 | + } |
2762 | + Method { |
2763 | + name: "requestRemove" |
2764 | + Parameter { name: "appId"; type: "string" } |
2765 | + } |
2766 | + Method { |
2767 | + name: "quickListActionInvoked" |
2768 | + Parameter { name: "appId"; type: "string" } |
2769 | + Parameter { name: "actionIndex"; type: "int" } |
2770 | + } |
2771 | + Method { |
2772 | + name: "setUser" |
2773 | + Parameter { name: "username"; type: "string" } |
2774 | + } |
2775 | + Method { |
2776 | + name: "getUrlForAppId" |
2777 | + type: "string" |
2778 | + Parameter { name: "appId"; type: "string" } |
2779 | + } |
2780 | + } |
2781 | + Component { |
2782 | + name: "MockQuickListModel" |
2783 | + prototype: "unity::shell::launcher::QuickListModelInterface" |
2784 | + exports: ["Unity.Launcher/QuickListModel 0.1"] |
2785 | + isCreatable: false |
2786 | + exportMetaObjectRevisions: [0] |
2787 | + } |
2788 | + Component { |
2789 | + name: "unity::shell::launcher::LauncherItemInterface" |
2790 | + prototype: "QObject" |
2791 | + exports: ["Unity.Launcher/LauncherItemInterface 0.1"] |
2792 | + isCreatable: false |
2793 | + exportMetaObjectRevisions: [0] |
2794 | + Property { name: "appId"; type: "string"; isReadonly: true } |
2795 | + Property { name: "name"; type: "string"; isReadonly: true } |
2796 | + Property { name: "icon"; type: "string"; isReadonly: true } |
2797 | + Property { name: "pinned"; type: "bool"; isReadonly: true } |
2798 | + Property { name: "running"; type: "bool"; isReadonly: true } |
2799 | + Property { name: "recent"; type: "bool"; isReadonly: true } |
2800 | + Property { name: "progress"; type: "int"; isReadonly: true } |
2801 | + Property { name: "count"; type: "int"; isReadonly: true } |
2802 | + Property { name: "focused"; type: "bool"; isReadonly: true } |
2803 | + Property { |
2804 | + name: "quickList" |
2805 | + type: "unity::shell::launcher::QuickListModelInterface" |
2806 | + isReadonly: true |
2807 | + isPointer: true |
2808 | + } |
2809 | + Signal { |
2810 | + name: "pinnedChanged" |
2811 | + Parameter { name: "pinned"; type: "bool" } |
2812 | + } |
2813 | + Signal { |
2814 | + name: "runningChanged" |
2815 | + Parameter { name: "running"; type: "bool" } |
2816 | + } |
2817 | + Signal { |
2818 | + name: "recentChanged" |
2819 | + Parameter { name: "running"; type: "bool" } |
2820 | + } |
2821 | + Signal { |
2822 | + name: "progressChanged" |
2823 | + Parameter { name: "progress"; type: "int" } |
2824 | + } |
2825 | + Signal { |
2826 | + name: "countChanged" |
2827 | + Parameter { name: "count"; type: "int" } |
2828 | + } |
2829 | + Signal { |
2830 | + name: "focusedChanged" |
2831 | + Parameter { name: "focused"; type: "bool" } |
2832 | + } |
2833 | + } |
2834 | + Component { |
2835 | + name: "unity::shell::launcher::LauncherModelInterface" |
2836 | + prototype: "QAbstractListModel" |
2837 | + exports: ["Unity.Launcher/LauncherModelInterface 0.1"] |
2838 | + isCreatable: false |
2839 | + exportMetaObjectRevisions: [0] |
2840 | + Property { |
2841 | + name: "applicationManager" |
2842 | + type: "unity::shell::application::ApplicationManagerInterface" |
2843 | + isPointer: true |
2844 | + } |
2845 | + Method { |
2846 | + name: "move" |
2847 | + Parameter { name: "oldIndex"; type: "int" } |
2848 | + Parameter { name: "newIndex"; type: "int" } |
2849 | + } |
2850 | + Method { |
2851 | + name: "get" |
2852 | + type: "unity::shell::launcher::LauncherItemInterface*" |
2853 | + Parameter { name: "index"; type: "int" } |
2854 | + } |
2855 | + Method { |
2856 | + name: "pin" |
2857 | + Parameter { name: "appId"; type: "string" } |
2858 | + Parameter { name: "index"; type: "int" } |
2859 | + } |
2860 | + Method { |
2861 | + name: "pin" |
2862 | + Parameter { name: "appId"; type: "string" } |
2863 | + } |
2864 | + Method { |
2865 | + name: "requestRemove" |
2866 | + Parameter { name: "appId"; type: "string" } |
2867 | + } |
2868 | + Method { |
2869 | + name: "quickListActionInvoked" |
2870 | + Parameter { name: "appId"; type: "string" } |
2871 | + Parameter { name: "actionIndex"; type: "int" } |
2872 | + } |
2873 | + Method { |
2874 | + name: "setUser" |
2875 | + Parameter { name: "username"; type: "string" } |
2876 | + } |
2877 | + } |
2878 | + Component { |
2879 | + name: "unity::shell::launcher::QuickListModelInterface" |
2880 | + prototype: "QAbstractListModel" |
2881 | + exports: ["Unity.Launcher/QuickListModelInterface 0.1"] |
2882 | + isCreatable: false |
2883 | + exportMetaObjectRevisions: [0] |
2884 | + } |
2885 | +} |
2886 | |
2887 | === added file 'tests/mocks/Unity/Notifications/Notifications.qmltypes' |
2888 | --- tests/mocks/Unity/Notifications/Notifications.qmltypes 1970-01-01 00:00:00 +0000 |
2889 | +++ tests/mocks/Unity/Notifications/Notifications.qmltypes 2014-06-26 02:45:27 +0000 |
2890 | @@ -0,0 +1,10 @@ |
2891 | +import QtQuick.tooling 1.1 |
2892 | + |
2893 | +// This file describes the plugin-supplied types contained in the library. |
2894 | +// It is used for QML tooling purposes only. |
2895 | +// |
2896 | +// This file was auto-generated by: |
2897 | +// 'qmlplugindump -notrelocatable Unity.Notifications 1.0 tests/mocks' |
2898 | + |
2899 | +Module { |
2900 | +} |
2901 | |
2902 | === added file 'tests/mocks/Unity/Unity.qmltypes' |
2903 | --- tests/mocks/Unity/Unity.qmltypes 1970-01-01 00:00:00 +0000 |
2904 | +++ tests/mocks/Unity/Unity.qmltypes 2014-06-26 02:45:27 +0000 |
2905 | @@ -0,0 +1,345 @@ |
2906 | +import QtQuick.tooling 1.1 |
2907 | + |
2908 | +// This file describes the plugin-supplied types contained in the library. |
2909 | +// It is used for QML tooling purposes only. |
2910 | +// |
2911 | +// This file was auto-generated by: |
2912 | +// 'qmlplugindump -notrelocatable Unity 0.2 tests/mocks' |
2913 | + |
2914 | +Module { |
2915 | + Component { |
2916 | + name: "Categories" |
2917 | + prototype: "unity::shell::scopes::CategoriesInterface" |
2918 | + Method { |
2919 | + name: "addSpecialCategory" |
2920 | + Parameter { name: "categoryId"; type: "string" } |
2921 | + Parameter { name: "name"; type: "string" } |
2922 | + Parameter { name: "icon"; type: "string" } |
2923 | + Parameter { name: "rawTemplate"; type: "string" } |
2924 | + Parameter { name: "countObject"; type: "QObject"; isPointer: true } |
2925 | + } |
2926 | + Method { |
2927 | + name: "overrideCategoryJson" |
2928 | + type: "bool" |
2929 | + Parameter { name: "categoryId"; type: "string" } |
2930 | + Parameter { name: "json"; type: "string" } |
2931 | + } |
2932 | + } |
2933 | + Component { |
2934 | + name: "PreviewModel" |
2935 | + prototype: "unity::shell::scopes::PreviewModelInterface" |
2936 | + exports: ["Unity/FakePreviewModel 0.2"] |
2937 | + exportMetaObjectRevisions: [0] |
2938 | + } |
2939 | + Component { |
2940 | + name: "PreviewStack" |
2941 | + prototype: "unity::shell::scopes::PreviewStackInterface" |
2942 | + exports: ["Unity/PreviewStack 0.2"] |
2943 | + isCreatable: false |
2944 | + exportMetaObjectRevisions: [0] |
2945 | + Method { |
2946 | + name: "getPreviewModel" |
2947 | + type: "unity::shell::scopes::PreviewModelInterface*" |
2948 | + Parameter { name: "index"; type: "int" } |
2949 | + } |
2950 | + } |
2951 | + Component { |
2952 | + name: "PreviewWidgetModel" |
2953 | + prototype: "unity::shell::scopes::PreviewWidgetModelInterface" |
2954 | + exports: ["Unity/PreviewWidgetModel 0.2"] |
2955 | + isCreatable: false |
2956 | + exportMetaObjectRevisions: [0] |
2957 | + } |
2958 | + Component { |
2959 | + name: "ResultsModel" |
2960 | + prototype: "unity::shell::scopes::ResultsModelInterface" |
2961 | + exports: ["Unity/ResultsModel 0.2"] |
2962 | + isCreatable: false |
2963 | + exportMetaObjectRevisions: [0] |
2964 | + } |
2965 | + Component { |
2966 | + name: "Scope" |
2967 | + prototype: "unity::shell::scopes::ScopeInterface" |
2968 | + exports: ["Unity/MockScope 0.2"] |
2969 | + exportMetaObjectRevisions: [0] |
2970 | + Method { |
2971 | + name: "setSearchInProgress" |
2972 | + Parameter { name: "inProg"; type: "bool" } |
2973 | + } |
2974 | + Method { |
2975 | + name: "activate" |
2976 | + Parameter { name: "result"; type: "QVariant" } |
2977 | + } |
2978 | + Method { |
2979 | + name: "preview" |
2980 | + type: "PreviewStack*" |
2981 | + Parameter { name: "result"; type: "QVariant" } |
2982 | + } |
2983 | + Method { name: "cancelActivation" } |
2984 | + Method { |
2985 | + name: "closeScope" |
2986 | + Parameter { name: "scope"; type: "unity::shell::scopes::ScopeInterface"; isPointer: true } |
2987 | + } |
2988 | + Method { |
2989 | + name: "getDepartment" |
2990 | + type: "unity::shell::scopes::DepartmentInterface*" |
2991 | + Parameter { name: "id"; type: "string" } |
2992 | + } |
2993 | + Method { |
2994 | + name: "loadDepartment" |
2995 | + Parameter { name: "id"; type: "string" } |
2996 | + } |
2997 | + } |
2998 | + Component { |
2999 | + name: "Scopes" |
3000 | + prototype: "unity::shell::scopes::ScopesInterface" |
3001 | + exports: ["Unity/Scopes 0.2"] |
3002 | + exportMetaObjectRevisions: [0] |
3003 | + Method { |
3004 | + name: "rowCount" |
3005 | + type: "int" |
3006 | + Parameter { name: "parent"; type: "QModelIndex" } |
3007 | + } |
3008 | + Method { name: "rowCount"; type: "int" } |
3009 | + Method { |
3010 | + name: "getScope" |
3011 | + type: "unity::shell::scopes::ScopeInterface*" |
3012 | + Parameter { name: "row"; type: "int" } |
3013 | + } |
3014 | + Method { |
3015 | + name: "getScope" |
3016 | + type: "unity::shell::scopes::ScopeInterface*" |
3017 | + Parameter { name: "scope_id"; type: "string" } |
3018 | + } |
3019 | + Method { |
3020 | + name: "addScope" |
3021 | + Parameter { name: "scope"; type: "Scope"; isPointer: true } |
3022 | + } |
3023 | + Method { name: "clear" } |
3024 | + Method { name: "load" } |
3025 | + } |
3026 | + Component { |
3027 | + name: "unity::shell::scopes::CategoriesInterface" |
3028 | + prototype: "QAbstractListModel" |
3029 | + exports: ["Unity/Categories 0.2"] |
3030 | + isCreatable: false |
3031 | + exportMetaObjectRevisions: [0] |
3032 | + Enum { |
3033 | + name: "Roles" |
3034 | + values: { |
3035 | + "RoleCategoryId": 0, |
3036 | + "RoleName": 1, |
3037 | + "RoleIcon": 2, |
3038 | + "RoleRawRendererTemplate": 3, |
3039 | + "RoleRenderer": 4, |
3040 | + "RoleComponents": 5, |
3041 | + "RoleResults": 6, |
3042 | + "RoleCount": 7 |
3043 | + } |
3044 | + } |
3045 | + Method { |
3046 | + name: "overrideCategoryJson" |
3047 | + type: "bool" |
3048 | + Parameter { name: "categoryId"; type: "string" } |
3049 | + Parameter { name: "json"; type: "string" } |
3050 | + } |
3051 | + Method { |
3052 | + name: "addSpecialCategory" |
3053 | + Parameter { name: "categoryId"; type: "string" } |
3054 | + Parameter { name: "name"; type: "string" } |
3055 | + Parameter { name: "icon"; type: "string" } |
3056 | + Parameter { name: "rawTemplate"; type: "string" } |
3057 | + Parameter { name: "countObject"; type: "QObject"; isPointer: true } |
3058 | + } |
3059 | + } |
3060 | + Component { |
3061 | + name: "unity::shell::scopes::DepartmentInterface" |
3062 | + prototype: "QAbstractListModel" |
3063 | + exports: ["Unity/Department 0.2"] |
3064 | + isCreatable: false |
3065 | + exportMetaObjectRevisions: [0] |
3066 | + Enum { |
3067 | + name: "Roles" |
3068 | + values: { |
3069 | + "RoleDepartmentId": 0, |
3070 | + "RoleLabel": 1, |
3071 | + "RoleHasChildren": 2, |
3072 | + "RoleIsActive": 3 |
3073 | + } |
3074 | + } |
3075 | + Property { name: "departmentId"; type: "string"; isReadonly: true } |
3076 | + Property { name: "label"; type: "string"; isReadonly: true } |
3077 | + Property { name: "allLabel"; type: "string"; isReadonly: true } |
3078 | + Property { name: "parentDepartmentId"; type: "string"; isReadonly: true } |
3079 | + Property { name: "parentLabel"; type: "string"; isReadonly: true } |
3080 | + Property { name: "loaded"; type: "bool"; isReadonly: true } |
3081 | + Property { name: "isRoot"; type: "bool"; isReadonly: true } |
3082 | + Property { name: "count"; type: "int"; isReadonly: true } |
3083 | + } |
3084 | + Component { |
3085 | + name: "unity::shell::scopes::PreviewModelInterface" |
3086 | + prototype: "QAbstractListModel" |
3087 | + Enum { |
3088 | + name: "Roles" |
3089 | + values: { |
3090 | + "RoleColumnModel": 0 |
3091 | + } |
3092 | + } |
3093 | + Property { name: "widgetColumnCount"; type: "int" } |
3094 | + Property { name: "loaded"; type: "bool"; isReadonly: true } |
3095 | + Property { name: "processingAction"; type: "bool"; isReadonly: true } |
3096 | + Signal { |
3097 | + name: "triggered" |
3098 | + Parameter { type: "string" } |
3099 | + Parameter { type: "string" } |
3100 | + Parameter { type: "QVariantMap" } |
3101 | + } |
3102 | + } |
3103 | + Component { |
3104 | + name: "unity::shell::scopes::PreviewStackInterface" |
3105 | + prototype: "QAbstractListModel" |
3106 | + Enum { |
3107 | + name: "Roles" |
3108 | + values: { |
3109 | + "RolePreviewModel": 0 |
3110 | + } |
3111 | + } |
3112 | + Property { name: "widgetColumnCount"; type: "int" } |
3113 | + Method { |
3114 | + name: "getPreviewModel" |
3115 | + type: "unity::shell::scopes::PreviewModelInterface*" |
3116 | + Parameter { name: "index"; type: "int" } |
3117 | + } |
3118 | + } |
3119 | + Component { |
3120 | + name: "unity::shell::scopes::PreviewWidgetModelInterface" |
3121 | + prototype: "QAbstractListModel" |
3122 | + Enum { |
3123 | + name: "Roles" |
3124 | + values: { |
3125 | + "RoleWidgetId": 0, |
3126 | + "RoleType": 1, |
3127 | + "RoleProperties": 2 |
3128 | + } |
3129 | + } |
3130 | + } |
3131 | + Component { |
3132 | + name: "unity::shell::scopes::ResultsModelInterface" |
3133 | + prototype: "QAbstractListModel" |
3134 | + Enum { |
3135 | + name: "Roles" |
3136 | + values: { |
3137 | + "RoleUri": 0, |
3138 | + "RoleCategoryId": 1, |
3139 | + "RoleDndUri": 2, |
3140 | + "RoleResult": 3, |
3141 | + "RoleTitle": 4, |
3142 | + "RoleArt": 5, |
3143 | + "RoleSubtitle": 6, |
3144 | + "RoleMascot": 7, |
3145 | + "RoleEmblem": 8, |
3146 | + "RoleSummary": 9, |
3147 | + "RoleAttributes": 10, |
3148 | + "RoleBackground": 11 |
3149 | + } |
3150 | + } |
3151 | + Property { name: "categoryId"; type: "string" } |
3152 | + Property { name: "count"; type: "int"; isReadonly: true } |
3153 | + } |
3154 | + Component { |
3155 | + name: "unity::shell::scopes::ScopeInterface" |
3156 | + prototype: "QObject" |
3157 | + exports: ["Unity/Scope 0.2"] |
3158 | + isCreatable: false |
3159 | + exportMetaObjectRevisions: [0] |
3160 | + Property { name: "id"; type: "string"; isReadonly: true } |
3161 | + Property { name: "name"; type: "string"; isReadonly: true } |
3162 | + Property { name: "iconHint"; type: "string"; isReadonly: true } |
3163 | + Property { name: "description"; type: "string"; isReadonly: true } |
3164 | + Property { name: "searchHint"; type: "string"; isReadonly: true } |
3165 | + Property { name: "searchInProgress"; type: "bool"; isReadonly: true } |
3166 | + Property { name: "visible"; type: "bool"; isReadonly: true } |
3167 | + Property { name: "shortcut"; type: "string"; isReadonly: true } |
3168 | + Property { |
3169 | + name: "categories" |
3170 | + type: "unity::shell::scopes::CategoriesInterface" |
3171 | + isReadonly: true |
3172 | + isPointer: true |
3173 | + } |
3174 | + Property { name: "searchQuery"; type: "string" } |
3175 | + Property { name: "noResultsHint"; type: "string" } |
3176 | + Property { name: "formFactor"; type: "string" } |
3177 | + Property { name: "isActive"; type: "bool" } |
3178 | + Property { name: "currentDepartmentId"; type: "string"; isReadonly: true } |
3179 | + Property { name: "hasDepartments"; type: "bool"; isReadonly: true } |
3180 | + Signal { name: "showDash" } |
3181 | + Signal { name: "hideDash" } |
3182 | + Signal { |
3183 | + name: "gotoUri" |
3184 | + Parameter { name: "uri"; type: "string" } |
3185 | + } |
3186 | + Signal { |
3187 | + name: "previewRequested" |
3188 | + Parameter { name: "result"; type: "QVariant" } |
3189 | + } |
3190 | + Signal { |
3191 | + name: "gotoScope" |
3192 | + Parameter { name: "scopeId"; type: "string" } |
3193 | + } |
3194 | + Signal { |
3195 | + name: "openScope" |
3196 | + Parameter { name: "scope"; type: "unity::shell::scopes::ScopeInterface"; isPointer: true } |
3197 | + } |
3198 | + Signal { |
3199 | + name: "activateApplication" |
3200 | + Parameter { name: "desktop"; type: "string" } |
3201 | + } |
3202 | + Method { |
3203 | + name: "activate" |
3204 | + Parameter { name: "result"; type: "QVariant" } |
3205 | + } |
3206 | + Method { |
3207 | + name: "preview" |
3208 | + type: "unity::shell::scopes::PreviewStackInterface*" |
3209 | + Parameter { name: "result"; type: "QVariant" } |
3210 | + } |
3211 | + Method { name: "cancelActivation" } |
3212 | + Method { |
3213 | + name: "closeScope" |
3214 | + Parameter { name: "scope"; type: "unity::shell::scopes::ScopeInterface"; isPointer: true } |
3215 | + } |
3216 | + Method { |
3217 | + name: "getDepartment" |
3218 | + type: "unity::shell::scopes::DepartmentInterface*" |
3219 | + Parameter { name: "departmentId"; type: "string" } |
3220 | + } |
3221 | + Method { |
3222 | + name: "loadDepartment" |
3223 | + Parameter { name: "departmentId"; type: "string" } |
3224 | + } |
3225 | + } |
3226 | + Component { |
3227 | + name: "unity::shell::scopes::ScopesInterface" |
3228 | + prototype: "QAbstractListModel" |
3229 | + Enum { |
3230 | + name: "Roles" |
3231 | + values: { |
3232 | + "RoleScope": 0, |
3233 | + "RoleId": 1, |
3234 | + "RoleVisible": 2, |
3235 | + "RoleTitle": 3 |
3236 | + } |
3237 | + } |
3238 | + Property { name: "loaded"; type: "bool"; isReadonly: true } |
3239 | + Method { |
3240 | + name: "getScope" |
3241 | + type: "unity::shell::scopes::ScopeInterface*" |
3242 | + Parameter { name: "row"; type: "int" } |
3243 | + } |
3244 | + Method { |
3245 | + name: "getScope" |
3246 | + type: "unity::shell::scopes::ScopeInterface*" |
3247 | + Parameter { name: "scopeId"; type: "string" } |
3248 | + } |
3249 | + } |
3250 | +} |
3251 | |
3252 | === added file 'tests/utils/modules/Unity/Test/Test.qmltypes' |
3253 | --- tests/utils/modules/Unity/Test/Test.qmltypes 1970-01-01 00:00:00 +0000 |
3254 | +++ tests/utils/modules/Unity/Test/Test.qmltypes 2014-06-26 02:45:27 +0000 |
3255 | @@ -0,0 +1,59 @@ |
3256 | +import QtQuick.tooling 1.1 |
3257 | + |
3258 | +// This file describes the plugin-supplied types contained in the library. |
3259 | +// It is used for QML tooling purposes only. |
3260 | +// |
3261 | +// This file was auto-generated by: |
3262 | +// 'qmlplugindump -notrelocatable Unity.Test 0.1 tests/utils/modules' |
3263 | + |
3264 | +Module { |
3265 | + Component { |
3266 | + name: "TestUtil" |
3267 | + prototype: "QObject" |
3268 | + exports: ["Unity.Test/Util 0.1"] |
3269 | + isCreatable: false |
3270 | + isSingleton: true |
3271 | + exportMetaObjectRevisions: [0] |
3272 | + Method { |
3273 | + name: "isInstanceOf" |
3274 | + type: "bool" |
3275 | + Parameter { type: "QObject"; isPointer: true } |
3276 | + Parameter { type: "string" } |
3277 | + } |
3278 | + Method { name: "touchEvent"; type: "TouchEventSequenceWrapper*" } |
3279 | + } |
3280 | + Component { |
3281 | + name: "TouchEventSequenceWrapper" |
3282 | + prototype: "QObject" |
3283 | + exports: ["Unity.Test/TouchEventSequence 0.1"] |
3284 | + isCreatable: false |
3285 | + exportMetaObjectRevisions: [0] |
3286 | + Method { |
3287 | + name: "commit" |
3288 | + Parameter { name: "processEvents"; type: "bool" } |
3289 | + } |
3290 | + Method { name: "commit" } |
3291 | + Method { |
3292 | + name: "move" |
3293 | + Parameter { name: "touchId"; type: "int" } |
3294 | + Parameter { name: "x"; type: "int" } |
3295 | + Parameter { name: "y"; type: "int" } |
3296 | + } |
3297 | + Method { |
3298 | + name: "press" |
3299 | + Parameter { name: "touchId"; type: "int" } |
3300 | + Parameter { name: "x"; type: "int" } |
3301 | + Parameter { name: "y"; type: "int" } |
3302 | + } |
3303 | + Method { |
3304 | + name: "release" |
3305 | + Parameter { name: "touchId"; type: "int" } |
3306 | + Parameter { name: "x"; type: "int" } |
3307 | + Parameter { name: "y"; type: "int" } |
3308 | + } |
3309 | + Method { |
3310 | + name: "stationary" |
3311 | + Parameter { name: "touchId"; type: "int" } |
3312 | + } |
3313 | + } |
3314 | +} |
We'll need to check those .qmltypes files into bzr, and copy/install them along with qmldir, so there's a bit more work involved here.
They should be generated into the source dirs, not binary.
I'll take this over tomorrow morning if you have no objections :).