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