@@ -33,15 +33,58 @@ Module {
33 exportMetaObjectRevisions: [0]
33 exportMetaObjectRevisions: [0]
34 Property { name: "fullscreen"; type: "bool" }
34 Property { name: "fullscreen"; type: "bool" }
35 Property { name: "stage"; type: "Stage" }
35 Property { name: "stage"; type: "Stage" }
36+ Property { name: "surface"; type: "MirSurfaceItem"; isReadonly: true; isPointer: true }
37+ Property { name: "promptSurfaces"; type: "MirSurfaceItem"; isList: true; isReadonly: true }
36 Property { name: "imageQml"; type: "string" }
38 Property { name: "imageQml"; type: "string" }
37 Property { name: "windowQml"; type: "string" }
39 Property { name: "windowQml"; type: "string" }
38− Signal { name: "appIdChanged" }
41+ name: "appIdChanged"
42+ Parameter { type: "string" }
39− Signal { name: "nameChanged" }
45+ name: "nameChanged"
46+ Parameter { type: "string" }
40− Signal { name: "commentChanged" }
49+ name: "commentChanged"
50+ Parameter { type: "string" }
41− Signal { name: "iconChanged" }
53+ name: "iconChanged"
54+ Parameter { type: "QUrl" }
58+ Parameter { type: "Stage" }
42− Signal { name: "stateChanged" }
61+ name: "stateChanged"
62+ Parameter { type: "State" }
43− Signal { name: "focusedChanged" }
65+ name: "focusedChanged"
66+ Parameter { type: "bool" }
69+ name: "fullscreenChanged"
70+ Parameter { type: "bool" }
73+ name: "imageQmlChanged"
74+ Parameter { type: "string" }
77+ name: "windowQmlChanged"
78+ Parameter { type: "string" }
44− Signal { name: "screenshotChanged" }
81+ name: "screenshotChanged"
82+ Parameter { type: "QUrl" }
85+ name: "surfaceChanged"
86+ Parameter { type: "MirSurfaceItem"; isPointer: true }
46 Component {
89 Component {
47 name: "ApplicationManager"
90 name: "ApplicationManager"
@@ -102,11 +145,11 @@ Module {
102 "ForceMainStage": 1
145 "ForceMainStage": 1
148+ Property { name: "empty"; type: "bool"; isReadonly: true }
105 Property { name: "sideStageWidth"; type: "int"; isReadonly: true }
149 Property { name: "sideStageWidth"; type: "int"; isReadonly: true }
106 Property { name: "stageHint"; type: "StageHint"; isReadonly: true }
150 Property { name: "stageHint"; type: "StageHint"; isReadonly: true }
107 Property { name: "formFactorHint"; type: "FormFactorHint"; isReadonly: true }
151 Property { name: "formFactorHint"; type: "FormFactorHint"; isReadonly: true }
108 Property { name: "fake"; type: "bool"; isReadonly: true }
152 Property { name: "fake"; type: "bool"; isReadonly: true }
109− Property { name: "rightMargin"; type: "int" }
111 name: "focusRequested"
154 name: "focusRequested"
112 Parameter { name: "favoriteApplication"; type: "FavoriteApplication" }
155 Parameter { name: "favoriteApplication"; type: "FavoriteApplication" }
@@ -115,6 +158,10 @@ Module {
115 name: "focusRequested"
158 name: "focusRequested"
116 Parameter { name: "appId"; type: "string" }
159 Parameter { name: "appId"; type: "string" }
162+ name: "emptyChanged"
163+ Parameter { name: "empty"; type: "bool" }
119 name: "get"
166 name: "get"
120 type: "ApplicationInfo*"
167 type: "ApplicationInfo*"
@@ -177,6 +224,84 @@ Module {
178 Method { name: "availableApplications"; type: "QStringList" }
225 Method { name: "availableApplications"; type: "QStringList" }
228+ name: "MirSurfaceItem"
229+ defaultProperty: "data"
230+ prototype: "QQuickPaintedItem"
231+ exports: ["Unity.Application/MirSurfaceItem 0.1"]
233+ exportMetaObjectRevisions: [0]
257+ Property { name: "type"; type: "Type"; isReadonly: true }
258+ Property { name: "state"; type: "State"; isReadonly: true }
259+ Property { name: "name"; type: "string"; isReadonly: true }
260+ Property { name: "parentSurface"; type: "MirSurfaceItem"; isReadonly: true; isPointer: true }
261+ Property { name: "childSurfaces"; type: "MirSurfaceItem"; isList: true; isReadonly: true }
264+ Parameter { type: "Type" }
267+ name: "stateChanged"
268+ Parameter { type: "State" }
272+ Parameter { type: "string" }
275+ name: "parentSurfaceChanged"
276+ Parameter { type: "MirSurfaceItem"; isPointer: true }
278+ Signal { name: "removed" }
279+ Signal { name: "inputMethodRequested" }
280+ Signal { name: "inputMethodDismissed" }
283+ Parameter { name: "newState"; type: "State" }
285+ Method { name: "release" }
288+ name: "SurfaceManager"
289+ prototype: "QObject"
290+ exports: ["Unity.Application/SurfaceManager 0.1"]
293+ exportMetaObjectRevisions: [0]
294+ Signal { name: "countChanged" }
296+ name: "surfaceCreated"
297+ Parameter { name: "surface"; type: "MirSurfaceItem"; isPointer: true }
300+ name: "surfaceDestroyed"
301+ Parameter { name: "surface"; type: "MirSurfaceItem"; isPointer: true }
303+ Method { name: "inputMethodSurface"; type: "MirSurfaceItem*" }
180 Component {
305 Component {
181 name: "unity::shell::application::ApplicationInfoInterface"
306 name: "unity::shell::application::ApplicationInfoInterface"
182 prototype: "QObject"
307 prototype: "QObject"