on ff2ea35 help sign in
unity8/tests/mocks/Unity/Application/Application.qmltypes
311 lines 10 kB history raw
1import QtQuick.tooling 1.1
3// This file describes the plugin-supplied types contained in the library.
4// It is used for QML tooling purposes only.
5//
6// This file was auto-generated by:
7// 'qmlplugindump -notrelocatable Unity.Application 0.1 tests/mocks'
9Module {
10 Component {
11 name: "ApplicationImage"
12 defaultProperty: "data"
13 prototype: "QQuickItem"
14 exports: ["Unity.Application/ApplicationImage 0.1"]
15 exportMetaObjectRevisions: [0]
16 Enum {
17 name: "FillMode"
18 values: {
19 "Stretch": 0,
20 "PreserveAspectCrop": 1
21 }
22 }
23 Property { name: "source"; type: "ApplicationInfo"; isPointer: true }
24 Property { name: "fillMode"; type: "FillMode" }
25 Property { name: "ready"; type: "bool" }
26 Method { name: "scheduleUpdate" }
27 Method { name: "updateFromCache" }
28 }
29 Component {
30 name: "ApplicationInfo"
31 prototype: "unity::shell::application::ApplicationInfoInterface"
32 exports: ["Unity.Application/ApplicationInfo 0.1"]
33 exportMetaObjectRevisions: [0]
34 Property { name: "fullscreen"; type: "bool" }
35 Property { name: "stage"; type: "Stage" }
36 Property { name: "imageQml"; type: "string" }
37 Property { name: "windowQml"; type: "string" }
38 Signal { name: "appIdChanged" }
39 Signal { name: "nameChanged" }
40 Signal { name: "commentChanged" }
41 Signal { name: "iconChanged" }
42 Signal { name: "stateChanged" }
43 Signal { name: "focusedChanged" }
44 Signal { name: "screenshotChanged" }
45 }
46 Component {
47 name: "ApplicationManager"
48 prototype: "unity::shell::application::ApplicationManagerInterface"
49 exports: ["Unity.Application/ApplicationManager 0.1"]
50 isCreatable: false
51 isSingleton: true
52 exportMetaObjectRevisions: [0]
53 Enum {
54 name: "Role"
55 values: {
56 "Dash": 0,
57 "Default": 1,
58 "Indicators": 2,
59 "Notifications": 3,
60 "Greeter": 4,
61 "Launcher": 5,
62 "OnScreenKeyboard": 6,
63 "ShutdownDialog": 7
64 }
65 }
66 Enum {
67 name: "StageHint"
68 values: {
69 "MainStage": 0,
70 "IntegrationStage": 1,
71 "ShareStage": 2,
72 "ContentPickingStage": 3,
73 "SideStage": 4,
74 "ConfigurationStage": 5
75 }
76 }
77 Enum {
78 name: "FormFactorHint"
79 values: {
80 "DesktopFormFactor": 0,
81 "PhoneFormFactor": 1,
82 "TabletFormFactor": 2
83 }
84 }
85 Enum {
86 name: "FavoriteApplication"
87 values: {
88 "CameraApplication": 0,
89 "GalleryApplication": 1,
90 "BrowserApplication": 2,
91 "ShareApplication": 3,
92 "PhoneApplication": 4,
93 "DialerApplication": 5,
94 "MessagingApplication": 6,
95 "AddressbookApplication": 7
96 }
97 }
98 Enum {
99 name: "ExecFlags"
100 values: {
101 "NoFlag": 0,
102 "ForceMainStage": 1
103 }
104 }
105 Property { name: "sideStageWidth"; type: "int"; isReadonly: true }
106 Property { name: "stageHint"; type: "StageHint"; isReadonly: true }
107 Property { name: "formFactorHint"; type: "FormFactorHint"; isReadonly: true }
108 Property { name: "fake"; type: "bool"; isReadonly: true }
109 Property { name: "rightMargin"; type: "int" }
110 Signal {
111 name: "focusRequested"
112 Parameter { name: "favoriteApplication"; type: "FavoriteApplication" }
113 }
114 Signal {
115 name: "focusRequested"
116 Parameter { name: "appId"; type: "string" }
117 }
118 Method {
119 name: "get"
120 type: "ApplicationInfo*"
121 Parameter { name: "index"; type: "int" }
122 }
123 Method {
124 name: "findApplication"
125 type: "ApplicationInfo*"
126 Parameter { name: "appId"; type: "string" }
127 }
128 Method {
129 name: "move"
130 Parameter { name: "from"; type: "int" }
131 Parameter { name: "to"; type: "int" }
132 }
133 Method {
134 name: "requestFocusApplication"
135 type: "bool"
136 Parameter { name: "appId"; type: "string" }
137 }
138 Method {
139 name: "focusApplication"
140 type: "bool"
141 Parameter { name: "appId"; type: "string" }
142 }
143 Method { name: "unfocusCurrentApplication" }
144 Method {
145 name: "startApplication"
146 type: "ApplicationInfo*"
147 Parameter { name: "appId"; type: "string" }
148 Parameter { name: "arguments"; type: "QStringList" }
149 }
150 Method {
151 name: "startApplication"
152 type: "ApplicationInfo*"
153 Parameter { name: "appId"; type: "string" }
154 }
155 Method {
156 name: "startApplication"
157 type: "ApplicationInfo*"
158 Parameter { name: "appId"; type: "string" }
159 Parameter { name: "flags"; type: "ExecFlags" }
160 Parameter { name: "arguments"; type: "QStringList" }
161 }
162 Method {
163 name: "startApplication"
164 type: "ApplicationInfo*"
165 Parameter { name: "appId"; type: "string" }
166 Parameter { name: "flags"; type: "ExecFlags" }
167 }
168 Method {
169 name: "stopApplication"
170 type: "bool"
171 Parameter { name: "appId"; type: "string" }
172 }
173 Method {
174 name: "updateScreenshot"
175 type: "bool"
176 Parameter { name: "appId"; type: "string" }
177 }
178 Method { name: "availableApplications"; type: "QStringList" }
179 }
180 Component {
181 name: "unity::shell::application::ApplicationInfoInterface"
182 prototype: "QObject"
183 exports: ["Unity.Application/ApplicationInfoInterface 0.1"]
184 isCreatable: false
185 exportMetaObjectRevisions: [0]
186 Enum {
187 name: "Stage"
188 values: {
189 "MainStage": 0,
190 "SideStage": 1
191 }
192 }
193 Enum {
194 name: "State"
195 values: {
196 "Starting": 0,
197 "Running": 1,
198 "Suspended": 2,
199 "Stopped": 3
200 }
201 }
202 Property { name: "appId"; type: "string"; isReadonly: true }
203 Property { name: "name"; type: "string"; isReadonly: true }
204 Property { name: "comment"; type: "string"; isReadonly: true }
205 Property { name: "icon"; type: "QUrl"; isReadonly: true }
206 Property { name: "stage"; type: "Stage"; isReadonly: true }
207 Property { name: "state"; type: "State"; isReadonly: true }
208 Property { name: "focused"; type: "bool"; isReadonly: true }
209 Property { name: "screenshot"; type: "QUrl"; isReadonly: true }
210 Signal {
211 name: "nameChanged"
212 Parameter { name: "name"; type: "string" }
213 }
214 Signal {
215 name: "commentChanged"
216 Parameter { name: "comment"; type: "string" }
217 }
218 Signal {
219 name: "iconChanged"
220 Parameter { name: "icon"; type: "QUrl" }
221 }
222 Signal {
223 name: "stageChanged"
224 Parameter { name: "stage"; type: "Stage" }
225 }
226 Signal {
227 name: "stateChanged"
228 Parameter { name: "state"; type: "State" }
229 }
230 Signal {
231 name: "focusedChanged"
232 Parameter { name: "focused"; type: "bool" }
233 }
234 Signal {
235 name: "screenshotChanged"
236 Parameter { name: "screenshot"; type: "QUrl" }
237 }
238 }
239 Component {
240 name: "unity::shell::application::ApplicationManagerInterface"
241 prototype: "QAbstractListModel"
242 exports: ["Unity.Application/ApplicationManagerInterface 0.1"]
243 isCreatable: false
244 exportMetaObjectRevisions: [0]
245 Enum {
246 name: "Roles"
247 values: {
248 "RoleAppId": 256,
249 "RoleName": 257,
250 "RoleComment": 258,
251 "RoleIcon": 259,
252 "RoleStage": 260,
253 "RoleState": 261,
254 "RoleFocused": 262,
255 "RoleScreenshot": 263
256 }
257 }
258 Property { name: "count"; type: "int"; isReadonly: true }
259 Property { name: "focusedApplicationId"; type: "string"; isReadonly: true }
260 Property { name: "suspended"; type: "bool" }
261 Signal {
262 name: "focusRequested"
263 Parameter { name: "appId"; type: "string" }
264 }
265 Signal {
266 name: "applicationAdded"
267 Parameter { name: "appId"; type: "string" }
268 }
269 Signal {
270 name: "applicationRemoved"
271 Parameter { name: "appId"; type: "string" }
272 }
273 Method {
274 name: "get"
275 type: "unity::shell::application::ApplicationInfoInterface*"
276 Parameter { name: "index"; type: "int" }
277 }
278 Method {
279 name: "findApplication"
280 type: "unity::shell::application::ApplicationInfoInterface*"
281 Parameter { name: "appId"; type: "string" }
282 }
283 Method {
284 name: "requestFocusApplication"
285 type: "bool"
286 Parameter { name: "appId"; type: "string" }
287 }
288 Method {
289 name: "focusApplication"
290 type: "bool"
291 Parameter { name: "appId"; type: "string" }
292 }
293 Method { name: "unfocusCurrentApplication" }
294 Method {
295 name: "startApplication"
296 type: "unity::shell::application::ApplicationInfoInterface*"
297 Parameter { name: "appId"; type: "string" }
298 Parameter { name: "arguments"; type: "QStringList" }
299 }
300 Method {
301 name: "stopApplication"
302 type: "bool"
303 Parameter { name: "appId"; type: "string" }
304 }
305 Method {
306 name: "updateScreenshot"
307 type: "bool"
308 Parameter { name: "appId"; type: "string" }
309 }
310 }