Merge lp:~aacid/unity8/update_qmltypes into lp:unity8
- update_qmltypes
- Merge into trunk
Proposed by
Albert Astals Cid
on 2015-02-13
| Status: | Merged |
|---|---|
| Approved by: | Andrea Cimitan on 2015-02-16 |
| Approved revision: | 1612 |
| Merged at revision: | 1626 |
| Proposed branch: | lp:~aacid/unity8/update_qmltypes |
| Merge into: | lp:unity8 |
| Diff against target: |
1109 lines (+492/-145) 24 files modified
plugins/AccountsService/AccountsService.qmltypes (+3/-0) plugins/Dash/Dash.qmltypes (+17/-1) plugins/Greeter/Unity/Launcher/Launcher.qmltypes (+4/-1) plugins/LightDM/LightDM.qmltypes (+2/-2) plugins/ScreenGrabber/ScreenGrabber.qmltypes (+1/-1) plugins/Ubuntu/Gestures/Gestures.qmltypes (+15/-1) plugins/Unity/Indicators/Indicators.qmltypes (+10/-38) plugins/Unity/Launcher/Launcher.qmltypes (+3/-0) plugins/Unity/Session/Session.qmltypes (+5/-1) plugins/Utils/Utils.qmltypes (+66/-47) plugins/Wizard/Wizard.qmltypes (+0/-3) tests/mocks/AccountsService/AccountsService.qmltypes (+3/-0) tests/mocks/LightDM/LightDM.qmltypes (+33/-13) tests/mocks/MeeGo/QOfono/QOfono.qmltypes (+30/-0) tests/mocks/QMenuModel/QMenuModel.qmltypes (+33/-0) tests/mocks/Ubuntu/SystemSettings/LanguagePlugin/LanguagePlugin.qmltypes (+10/-0) tests/mocks/Ubuntu/SystemSettings/SecurityPrivacy/SecurityPrivacy.qmltypes (+39/-0) tests/mocks/Unity/Application/Application.qmltypes (+42/-0) tests/mocks/Unity/Indicators/Indicators.qmltypes (+8/-34) tests/mocks/Unity/Launcher/Launcher.qmltypes (+3/-0) tests/mocks/Unity/Notifications/Notifications.qmltypes (+139/-0) tests/mocks/Unity/Unity.qmltypes (+21/-0) tests/mocks/Wizard/Wizard.qmltypes (+4/-3) tests/utils/modules/Unity/Test/Test.qmltypes (+1/-0) |
| To merge this branch: | bzr merge lp:~aacid/unity8/update_qmltypes |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Andrea Cimitan (community) | 2015-02-13 | Approve on 2015-02-16 | |
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-02-13 | |
|
Review via email:
|
|||
Commit Message
Update qmltypes
Description of the Change
* Are there any related MPs required for this MP to build/function as expected?
No
* Did you perform an exploratory manual test run of your code change and any related functionality?
No, it's q qmltypes update
* Did you make sure that your branch does not contain spurious tags?
Yes
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/A
* If you changed the UI, has there been a design review?
N/A
To post a comment you must log in.
| Andrea Cimitan (cimi) wrote : | # |
* Did you perform an exploratory manual test run of the code change and any related functionality?
n
* Did CI run pass? If not, please explain why.
autopilot
* Did you make sure that the branch does not contain spurious tags?
y
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
| 1 | === modified file 'plugins/AccountsService/AccountsService.qmltypes' |
| 2 | --- plugins/AccountsService/AccountsService.qmltypes 2014-10-07 10:58:39 +0000 |
| 3 | +++ plugins/AccountsService/AccountsService.qmltypes 2015-02-13 09:02:58 +0000 |
| 4 | @@ -29,5 +29,8 @@ |
| 5 | Property { name: "statsWelcomeScreen"; type: "bool"; isReadonly: true } |
| 6 | Property { name: "passwordDisplayHint"; type: "PasswordDisplayHint"; isReadonly: true } |
| 7 | Property { name: "failedLogins"; type: "uint" } |
| 8 | + Property { name: "hereEnabled"; type: "bool" } |
| 9 | + Property { name: "hereLicensePath"; type: "string"; isReadonly: true } |
| 10 | + Property { name: "hereLicensePathValid"; type: "bool"; isReadonly: true } |
| 11 | } |
| 12 | } |
| 13 | |
| 14 | === modified file 'plugins/Dash/Dash.qmltypes' |
| 15 | --- plugins/Dash/Dash.qmltypes 2014-10-07 10:58:39 +0000 |
| 16 | +++ plugins/Dash/Dash.qmltypes 2015-02-13 09:02:58 +0000 |
| 17 | @@ -15,10 +15,26 @@ |
| 18 | Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } |
| 19 | Property { name: "columnSpacing"; type: "double" } |
| 20 | Property { name: "rowSpacing"; type: "double" } |
| 21 | + Property { name: "cacheBuffer"; type: "int" } |
| 22 | Property { name: "displayMarginBeginning"; type: "double" } |
| 23 | Property { name: "displayMarginEnd"; type: "double" } |
| 24 | } |
| 25 | Component { |
| 26 | + name: "CroppedImageSizer" |
| 27 | + prototype: "QObject" |
| 28 | + exports: ["Dash/CroppedImageSizer 0.1"] |
| 29 | + exportMetaObjectRevisions: [0] |
| 30 | + Property { name: "source"; type: "QUrl" } |
| 31 | + Property { name: "width"; type: "double" } |
| 32 | + Property { name: "height"; type: "double" } |
| 33 | + Property { name: "sourceSize"; type: "QSize"; isReadonly: true } |
| 34 | + Signal { name: "inputParamsChanged" } |
| 35 | + Method { |
| 36 | + name: "setImageSize" |
| 37 | + Parameter { name: "imageSize"; type: "QSize" } |
| 38 | + } |
| 39 | + } |
| 40 | + Component { |
| 41 | name: "HorizontalJournal" |
| 42 | defaultProperty: "data" |
| 43 | prototype: "AbstractDashView" |
| 44 | @@ -40,7 +56,7 @@ |
| 45 | Property { name: "forceNoClip"; type: "bool" } |
| 46 | Property { name: "stickyHeaderHeight"; type: "int"; isReadonly: true } |
| 47 | Property { name: "headerItemShownHeight"; type: "double"; isReadonly: true } |
| 48 | - Property { name: "cacheBuffer"; type: "double" } |
| 49 | + Property { name: "cacheBuffer"; type: "int" } |
| 50 | Signal { name: "headerChanged" } |
| 51 | Method { name: "positionAtBeginning" } |
| 52 | Method { name: "showHeader" } |
| 53 | |
| 54 | === modified file 'plugins/Greeter/Unity/Launcher/Launcher.qmltypes' |
| 55 | --- plugins/Greeter/Unity/Launcher/Launcher.qmltypes 2014-12-12 10:00:31 +0000 |
| 56 | +++ plugins/Greeter/Unity/Launcher/Launcher.qmltypes 2015-02-13 09:02:58 +0000 |
| 57 | @@ -4,7 +4,7 @@ |
| 58 | // It is used for QML tooling purposes only. |
| 59 | // |
| 60 | // This file was auto-generated by: |
| 61 | -// 'qmlplugindump -notrelocatable Unity.Launcher 0.1 plugins' |
| 62 | +// 'qmlplugindump -notrelocatable Unity.Launcher 0.1 plugins/Greeter' |
| 63 | |
| 64 | Module { |
| 65 | Component { |
| 66 | @@ -25,6 +25,7 @@ |
| 67 | name: "requestRemove" |
| 68 | Parameter { name: "appId"; type: "string" } |
| 69 | } |
| 70 | + Method { name: "refresh" } |
| 71 | Method { |
| 72 | name: "get" |
| 73 | type: "unity::shell::launcher::LauncherItemInterface*" |
| 74 | @@ -136,6 +137,8 @@ |
| 75 | type: "unity::shell::application::ApplicationManagerInterface" |
| 76 | isPointer: true |
| 77 | } |
| 78 | + Property { name: "onlyPinned"; type: "bool" } |
| 79 | + Signal { name: "hint" } |
| 80 | Method { |
| 81 | name: "move" |
| 82 | Parameter { name: "oldIndex"; type: "int" } |
| 83 | |
| 84 | === modified file 'plugins/LightDM/LightDM.qmltypes' |
| 85 | --- plugins/LightDM/LightDM.qmltypes 2014-10-07 10:58:39 +0000 |
| 86 | +++ plugins/LightDM/LightDM.qmltypes 2015-02-13 09:02:58 +0000 |
| 87 | @@ -114,7 +114,7 @@ |
| 88 | Method { name: "invalidate" } |
| 89 | } |
| 90 | Component { |
| 91 | - name: "QSortFilterProxyModelQML" |
| 92 | + name: "UnitySortFilterProxyModelQML" |
| 93 | prototype: "QSortFilterProxyModel" |
| 94 | Property { name: "model"; type: "QAbstractItemModel"; isPointer: true } |
| 95 | Property { name: "totalCount"; type: "int"; isReadonly: true } |
| 96 | @@ -242,7 +242,7 @@ |
| 97 | } |
| 98 | Component { |
| 99 | name: "UsersModel" |
| 100 | - prototype: "QSortFilterProxyModelQML" |
| 101 | + prototype: "UnitySortFilterProxyModelQML" |
| 102 | exports: ["LightDM/Users 0.1"] |
| 103 | isCreatable: false |
| 104 | isSingleton: true |
| 105 | |
| 106 | === modified file 'plugins/ScreenGrabber/ScreenGrabber.qmltypes' |
| 107 | --- plugins/ScreenGrabber/ScreenGrabber.qmltypes 2014-09-27 02:16:11 +0000 |
| 108 | +++ plugins/ScreenGrabber/ScreenGrabber.qmltypes 2015-02-13 09:02:58 +0000 |
| 109 | @@ -4,7 +4,7 @@ |
| 110 | // It is used for QML tooling purposes only. |
| 111 | // |
| 112 | // This file was auto-generated by: |
| 113 | -// 'qmlplugindump -nonrelocatable ScreenGrabber 0.1 plugins' |
| 114 | +// 'qmlplugindump -notrelocatable ScreenGrabber 0.1 plugins' |
| 115 | |
| 116 | Module { |
| 117 | Component { |
| 118 | |
| 119 | === modified file 'plugins/Ubuntu/Gestures/Gestures.qmltypes' |
| 120 | --- plugins/Ubuntu/Gestures/Gestures.qmltypes 2014-07-10 10:59:08 +0000 |
| 121 | +++ plugins/Ubuntu/Gestures/Gestures.qmltypes 2015-02-13 09:02:58 +0000 |
| 122 | @@ -33,7 +33,8 @@ |
| 123 | "Rightwards": 0, |
| 124 | "Leftwards": 1, |
| 125 | "Downwards": 2, |
| 126 | - "Upwards": 3 |
| 127 | + "Upwards": 3, |
| 128 | + "Horizontal": 4 |
| 129 | } |
| 130 | } |
| 131 | Method { |
| 132 | @@ -151,4 +152,17 @@ |
| 133 | exportMetaObjectRevisions: [0] |
| 134 | Signal { name: "pressedOutside" } |
| 135 | } |
| 136 | + Component { |
| 137 | + name: "TouchGate" |
| 138 | + defaultProperty: "data" |
| 139 | + prototype: "QQuickItem" |
| 140 | + exports: ["Ubuntu.Gestures/TouchGate 0.1"] |
| 141 | + exportMetaObjectRevisions: [0] |
| 142 | + Property { name: "targetItem"; type: "QQuickItem"; isPointer: true } |
| 143 | + Signal { |
| 144 | + name: "targetItemChanged" |
| 145 | + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } |
| 146 | + } |
| 147 | + Signal { name: "pressed" } |
| 148 | + } |
| 149 | } |
| 150 | |
| 151 | === modified file 'plugins/Unity/Indicators/Indicators.qmltypes' |
| 152 | --- plugins/Unity/Indicators/Indicators.qmltypes 2014-11-11 15:28:13 +0000 |
| 153 | +++ plugins/Unity/Indicators/Indicators.qmltypes 2015-02-13 09:02:58 +0000 |
| 154 | @@ -55,11 +55,16 @@ |
| 155 | exports: ["Unity.Indicators/IndicatorsManager 0.1"] |
| 156 | exportMetaObjectRevisions: [0] |
| 157 | Property { name: "loaded"; type: "bool"; isReadonly: true } |
| 158 | + Property { name: "profile"; type: "string" } |
| 159 | Signal { |
| 160 | name: "loadedChanged" |
| 161 | Parameter { type: "bool" } |
| 162 | } |
| 163 | Signal { |
| 164 | + name: "profileChanged" |
| 165 | + Parameter { type: "string" } |
| 166 | + } |
| 167 | + Signal { |
| 168 | name: "indicatorLoaded" |
| 169 | Parameter { name: "indicator_name"; type: "string" } |
| 170 | } |
| 171 | @@ -67,10 +72,7 @@ |
| 172 | name: "indicatorAboutToBeUnloaded" |
| 173 | Parameter { name: "indicator_name"; type: "string" } |
| 174 | } |
| 175 | - Method { |
| 176 | - name: "load" |
| 177 | - Parameter { name: "profile"; type: "string" } |
| 178 | - } |
| 179 | + Method { name: "load" } |
| 180 | Method { name: "unload" } |
| 181 | } |
| 182 | Component { |
| 183 | @@ -79,14 +81,12 @@ |
| 184 | exports: ["Unity.Indicators/IndicatorsModel 0.1"] |
| 185 | exportMetaObjectRevisions: [0] |
| 186 | Property { name: "count"; type: "int"; isReadonly: true } |
| 187 | + Property { name: "profile"; type: "string" } |
| 188 | Signal { |
| 189 | name: "indicatorDataChanged" |
| 190 | Parameter { name: "data"; type: "QVariant" } |
| 191 | } |
| 192 | - Method { |
| 193 | - name: "load" |
| 194 | - Parameter { name: "profile"; type: "string" } |
| 195 | - } |
| 196 | + Method { name: "load" } |
| 197 | Method { name: "unload" } |
| 198 | Method { |
| 199 | name: "data" |
| 200 | @@ -106,8 +106,7 @@ |
| 201 | values: { |
| 202 | "Identifier": 0, |
| 203 | "Position": 1, |
| 204 | - "IndicatorProperties": 2, |
| 205 | - "IsVisible": 3 |
| 206 | + "IndicatorProperties": 2 |
| 207 | } |
| 208 | } |
| 209 | } |
| 210 | @@ -201,12 +200,6 @@ |
| 211 | } |
| 212 | } |
| 213 | Component { |
| 214 | - name: "QAbstractProxyModel" |
| 215 | - prototype: "QAbstractItemModel" |
| 216 | - Property { name: "sourceModel"; type: "QAbstractItemModel"; isPointer: true } |
| 217 | - } |
| 218 | - Component { name: "QIdentityProxyModel"; prototype: "QAbstractProxyModel" } |
| 219 | - Component { |
| 220 | name: "RootStateObject" |
| 221 | prototype: "QObject" |
| 222 | Property { name: "valid"; type: "bool"; isReadonly: true } |
| 223 | @@ -215,7 +208,7 @@ |
| 224 | Property { name: "rightLabel"; type: "string"; isReadonly: true } |
| 225 | Property { name: "icons"; type: "QStringList"; isReadonly: true } |
| 226 | Property { name: "accessibleName"; type: "string"; isReadonly: true } |
| 227 | - Property { name: "visible"; type: "bool"; isReadonly: true } |
| 228 | + Property { name: "indicatorVisible"; type: "bool"; isReadonly: true } |
| 229 | Signal { name: "updated" } |
| 230 | } |
| 231 | Component { |
| 232 | @@ -268,25 +261,4 @@ |
| 233 | } |
| 234 | Method { name: "pop"; type: "UnityMenuModel*" } |
| 235 | } |
| 236 | - Component { |
| 237 | - name: "VisibleIndicatorsModel" |
| 238 | - prototype: "QIdentityProxyModel" |
| 239 | - exports: ["Unity.Indicators/VisibleIndicatorsModel 0.1"] |
| 240 | - exportMetaObjectRevisions: [0] |
| 241 | - Property { name: "model"; type: "QAbstractItemModel"; isPointer: true } |
| 242 | - Property { name: "visible"; type: "QVariantMap" } |
| 243 | - Signal { name: "totalCountChanged" } |
| 244 | - Method { |
| 245 | - name: "onBeginRowInserted" |
| 246 | - Parameter { type: "QModelIndex" } |
| 247 | - Parameter { name: "start"; type: "int" } |
| 248 | - Parameter { name: "end"; type: "int" } |
| 249 | - } |
| 250 | - Method { |
| 251 | - name: "onRowInserted" |
| 252 | - Parameter { type: "QModelIndex" } |
| 253 | - Parameter { name: "start"; type: "int" } |
| 254 | - Parameter { name: "end"; type: "int" } |
| 255 | - } |
| 256 | - } |
| 257 | } |
| 258 | |
| 259 | === modified file 'plugins/Unity/Launcher/Launcher.qmltypes' |
| 260 | --- plugins/Unity/Launcher/Launcher.qmltypes 2014-10-07 10:58:39 +0000 |
| 261 | +++ plugins/Unity/Launcher/Launcher.qmltypes 2015-02-13 09:02:58 +0000 |
| 262 | @@ -25,6 +25,7 @@ |
| 263 | name: "requestRemove" |
| 264 | Parameter { name: "appId"; type: "string" } |
| 265 | } |
| 266 | + Method { name: "refresh" } |
| 267 | Method { |
| 268 | name: "get" |
| 269 | type: "unity::shell::launcher::LauncherItemInterface*" |
| 270 | @@ -136,6 +137,8 @@ |
| 271 | type: "unity::shell::application::ApplicationManagerInterface" |
| 272 | isPointer: true |
| 273 | } |
| 274 | + Property { name: "onlyPinned"; type: "bool" } |
| 275 | + Signal { name: "hint" } |
| 276 | Method { |
| 277 | name: "move" |
| 278 | Parameter { name: "oldIndex"; type: "int" } |
| 279 | |
| 280 | === modified file 'plugins/Unity/Session/Session.qmltypes' |
| 281 | --- plugins/Unity/Session/Session.qmltypes 2014-10-07 10:58:39 +0000 |
| 282 | +++ plugins/Unity/Session/Session.qmltypes 2015-02-13 09:02:58 +0000 |
| 283 | @@ -9,7 +9,7 @@ |
| 284 | Module { |
| 285 | Component { |
| 286 | name: "DBusUnitySessionService" |
| 287 | - prototype: "QObject" |
| 288 | + prototype: "UnityDBusObject" |
| 289 | exports: ["Unity.Session/DBusUnitySessionService 0.1"] |
| 290 | isCreatable: false |
| 291 | isSingleton: true |
| 292 | @@ -33,6 +33,9 @@ |
| 293 | Method { name: "RequestLogout" } |
| 294 | Method { name: "RequestReboot" } |
| 295 | Method { name: "RequestShutdown" } |
| 296 | + Method { name: "logout" } |
| 297 | + Method { name: "reboot" } |
| 298 | + Method { name: "shutdown" } |
| 299 | } |
| 300 | Component { |
| 301 | name: "OrientationLock" |
| 302 | @@ -44,4 +47,5 @@ |
| 303 | Property { name: "enabled"; type: "bool"; isReadonly: true } |
| 304 | Property { name: "savedOrientation"; type: "Qt::ScreenOrientation" } |
| 305 | } |
| 306 | + Component { name: "UnityDBusObject"; prototype: "QObject" } |
| 307 | } |
| 308 | |
| 309 | === modified file 'plugins/Utils/Utils.qmltypes' |
| 310 | --- plugins/Utils/Utils.qmltypes 2014-10-07 10:58:39 +0000 |
| 311 | +++ plugins/Utils/Utils.qmltypes 2015-02-13 09:02:58 +0000 |
| 312 | @@ -60,53 +60,6 @@ |
| 313 | Method { name: "invalidate" } |
| 314 | } |
| 315 | Component { |
| 316 | - name: "QSortFilterProxyModelQML" |
| 317 | - prototype: "QSortFilterProxyModel" |
| 318 | - exports: ["Utils/SortFilterProxyModel 0.1"] |
| 319 | - exportMetaObjectRevisions: [0] |
| 320 | - Property { name: "model"; type: "QAbstractItemModel"; isPointer: true } |
| 321 | - Property { name: "totalCount"; type: "int"; isReadonly: true } |
| 322 | - Property { name: "count"; type: "int"; isReadonly: true } |
| 323 | - Property { name: "invertMatch"; type: "bool" } |
| 324 | - Signal { |
| 325 | - name: "invertMatchChanged" |
| 326 | - Parameter { type: "bool" } |
| 327 | - } |
| 328 | - Method { |
| 329 | - name: "get" |
| 330 | - type: "QVariantMap" |
| 331 | - Parameter { name: "row"; type: "int" } |
| 332 | - } |
| 333 | - Method { |
| 334 | - name: "data" |
| 335 | - type: "QVariant" |
| 336 | - Parameter { name: "row"; type: "int" } |
| 337 | - Parameter { name: "role"; type: "int" } |
| 338 | - } |
| 339 | - Method { name: "count"; type: "int" } |
| 340 | - Method { |
| 341 | - name: "findFirst" |
| 342 | - type: "int" |
| 343 | - Parameter { name: "role"; type: "int" } |
| 344 | - Parameter { name: "value"; type: "QVariant" } |
| 345 | - } |
| 346 | - Method { |
| 347 | - name: "mapRowToSource" |
| 348 | - type: "int" |
| 349 | - Parameter { name: "row"; type: "int" } |
| 350 | - } |
| 351 | - Method { |
| 352 | - name: "mapFromSource" |
| 353 | - type: "int" |
| 354 | - Parameter { name: "row"; type: "int" } |
| 355 | - } |
| 356 | - Method { |
| 357 | - name: "mapToSource" |
| 358 | - type: "int" |
| 359 | - Parameter { name: "row"; type: "int" } |
| 360 | - } |
| 361 | - } |
| 362 | - Component { |
| 363 | name: "RelativeTimeFormatter" |
| 364 | prototype: "TimeFormatter" |
| 365 | exports: ["Utils/RelativeTimeFormatter 0.1"] |
| 366 | @@ -147,10 +100,76 @@ |
| 367 | Property { name: "menuObjectPathHint"; type: "QByteArray" } |
| 368 | } |
| 369 | Component { |
| 370 | + name: "UnitySortFilterProxyModelQML" |
| 371 | + prototype: "QSortFilterProxyModel" |
| 372 | + exports: ["Utils/UnitySortFilterProxyModel 0.1"] |
| 373 | + exportMetaObjectRevisions: [0] |
| 374 | + Property { name: "model"; type: "QAbstractItemModel"; isPointer: true } |
| 375 | + Property { name: "totalCount"; type: "int"; isReadonly: true } |
| 376 | + Property { name: "count"; type: "int"; isReadonly: true } |
| 377 | + Property { name: "invertMatch"; type: "bool" } |
| 378 | + Signal { |
| 379 | + name: "invertMatchChanged" |
| 380 | + Parameter { type: "bool" } |
| 381 | + } |
| 382 | + Method { |
| 383 | + name: "get" |
| 384 | + type: "QVariantMap" |
| 385 | + Parameter { name: "row"; type: "int" } |
| 386 | + } |
| 387 | + Method { |
| 388 | + name: "data" |
| 389 | + type: "QVariant" |
| 390 | + Parameter { name: "row"; type: "int" } |
| 391 | + Parameter { name: "role"; type: "int" } |
| 392 | + } |
| 393 | + Method { name: "count"; type: "int" } |
| 394 | + Method { |
| 395 | + name: "findFirst" |
| 396 | + type: "int" |
| 397 | + Parameter { name: "role"; type: "int" } |
| 398 | + Parameter { name: "value"; type: "QVariant" } |
| 399 | + } |
| 400 | + Method { |
| 401 | + name: "mapRowToSource" |
| 402 | + type: "int" |
| 403 | + Parameter { name: "row"; type: "int" } |
| 404 | + } |
| 405 | + Method { |
| 406 | + name: "mapFromSource" |
| 407 | + type: "int" |
| 408 | + Parameter { name: "row"; type: "int" } |
| 409 | + } |
| 410 | + Method { |
| 411 | + name: "mapToSource" |
| 412 | + type: "int" |
| 413 | + Parameter { name: "row"; type: "int" } |
| 414 | + } |
| 415 | + } |
| 416 | + Component { |
| 417 | name: "WindowKeysFilter" |
| 418 | defaultProperty: "data" |
| 419 | prototype: "QQuickItem" |
| 420 | exports: ["Utils/WindowKeysFilter 0.1"] |
| 421 | exportMetaObjectRevisions: [0] |
| 422 | } |
| 423 | + Component { |
| 424 | + name: "WindowStateStorage" |
| 425 | + prototype: "QObject" |
| 426 | + exports: ["Utils/WindowStateStorage 0.1"] |
| 427 | + isCreatable: false |
| 428 | + isSingleton: true |
| 429 | + exportMetaObjectRevisions: [0] |
| 430 | + Method { |
| 431 | + name: "saveGeometry" |
| 432 | + Parameter { name: "windowId"; type: "string" } |
| 433 | + Parameter { name: "rect"; type: "QRect" } |
| 434 | + } |
| 435 | + Method { |
| 436 | + name: "getGeometry" |
| 437 | + type: "QRect" |
| 438 | + Parameter { name: "windowId"; type: "string" } |
| 439 | + Parameter { name: "defaultValue"; type: "QRect" } |
| 440 | + } |
| 441 | + } |
| 442 | } |
| 443 | |
| 444 | === modified file 'plugins/Wizard/Wizard.qmltypes' |
| 445 | --- plugins/Wizard/Wizard.qmltypes 2014-11-14 17:47:00 +0000 |
| 446 | +++ plugins/Wizard/Wizard.qmltypes 2015-02-13 09:02:58 +0000 |
| 447 | @@ -11,8 +11,6 @@ |
| 448 | name: "PageList" |
| 449 | prototype: "QObject" |
| 450 | exports: ["Wizard/PageList 0.1"] |
| 451 | - isCreatable: false |
| 452 | - isSingleton: true |
| 453 | exportMetaObjectRevisions: [0] |
| 454 | Property { name: "index"; type: "int"; isReadonly: true } |
| 455 | Property { name: "numPages"; type: "int"; isReadonly: true } |
| 456 | @@ -33,4 +31,3 @@ |
| 457 | } |
| 458 | } |
| 459 | } |
| 460 | - |
| 461 | |
| 462 | === modified file 'tests/mocks/AccountsService/AccountsService.qmltypes' |
| 463 | --- tests/mocks/AccountsService/AccountsService.qmltypes 2014-10-07 10:58:39 +0000 |
| 464 | +++ tests/mocks/AccountsService/AccountsService.qmltypes 2015-02-13 09:02:58 +0000 |
| 465 | @@ -29,5 +29,8 @@ |
| 466 | Property { name: "statsWelcomeScreen"; type: "bool" } |
| 467 | Property { name: "passwordDisplayHint"; type: "PasswordDisplayHint"; isReadonly: true } |
| 468 | Property { name: "failedLogins"; type: "uint" } |
| 469 | + Property { name: "hereEnabled"; type: "bool" } |
| 470 | + Property { name: "hereLicensePath"; type: "string" } |
| 471 | + Property { name: "hereLicensePathValid"; type: "bool"; isReadonly: true } |
| 472 | } |
| 473 | } |
| 474 | |
| 475 | === modified file 'tests/mocks/LightDM/LightDM.qmltypes' |
| 476 | --- tests/mocks/LightDM/LightDM.qmltypes 2014-10-07 10:58:39 +0000 |
| 477 | +++ tests/mocks/LightDM/LightDM.qmltypes 2015-02-13 09:02:58 +0000 |
| 478 | @@ -10,10 +10,6 @@ |
| 479 | Component { |
| 480 | name: "Greeter" |
| 481 | prototype: "QObject" |
| 482 | - exports: ["LightDM/Greeter 0.1"] |
| 483 | - isCreatable: false |
| 484 | - isSingleton: true |
| 485 | - exportMetaObjectRevisions: [0] |
| 486 | Property { name: "active"; type: "bool" } |
| 487 | Property { name: "authenticated"; type: "bool"; isReadonly: true } |
| 488 | Property { name: "authenticationUser"; type: "string"; isReadonly: true } |
| 489 | @@ -63,6 +59,32 @@ |
| 490 | } |
| 491 | } |
| 492 | Component { |
| 493 | + name: "MockGreeter" |
| 494 | + prototype: "Greeter" |
| 495 | + exports: ["LightDM/Greeter 0.1"] |
| 496 | + isCreatable: false |
| 497 | + isSingleton: true |
| 498 | + exportMetaObjectRevisions: [0] |
| 499 | + Property { name: "mockMode"; type: "string" } |
| 500 | + Signal { |
| 501 | + name: "mockModeChanged" |
| 502 | + Parameter { name: "mode"; type: "string" } |
| 503 | + } |
| 504 | + } |
| 505 | + Component { |
| 506 | + name: "MockUsersModel" |
| 507 | + prototype: "UsersModel" |
| 508 | + exports: ["LightDM/Users 0.1"] |
| 509 | + isCreatable: false |
| 510 | + isSingleton: true |
| 511 | + exportMetaObjectRevisions: [0] |
| 512 | + Property { name: "mockMode"; type: "string" } |
| 513 | + Signal { |
| 514 | + name: "mockModeChanged" |
| 515 | + Parameter { name: "mode"; type: "string" } |
| 516 | + } |
| 517 | + } |
| 518 | + Component { |
| 519 | name: "QAbstractProxyModel" |
| 520 | prototype: "QAbstractItemModel" |
| 521 | Property { name: "sourceModel"; type: "QAbstractItemModel"; isPointer: true } |
| 522 | @@ -86,6 +108,11 @@ |
| 523 | "BackgroundPathRole": 263 |
| 524 | } |
| 525 | } |
| 526 | + Property { name: "mockMode"; type: "string" } |
| 527 | + Signal { |
| 528 | + name: "mockModeChanged" |
| 529 | + Parameter { name: "mode"; type: "string" } |
| 530 | + } |
| 531 | } |
| 532 | Component { |
| 533 | name: "QSortFilterProxyModel" |
| 534 | @@ -114,7 +141,7 @@ |
| 535 | Method { name: "invalidate" } |
| 536 | } |
| 537 | Component { |
| 538 | - name: "QSortFilterProxyModelQML" |
| 539 | + name: "UnitySortFilterProxyModelQML" |
| 540 | prototype: "QSortFilterProxyModel" |
| 541 | Property { name: "model"; type: "QAbstractItemModel"; isPointer: true } |
| 542 | Property { name: "totalCount"; type: "int"; isReadonly: true } |
| 543 | @@ -240,12 +267,5 @@ |
| 544 | Method { name: "nextDataSourceSlot" } |
| 545 | Method { name: "readyForDataChangeSlot" } |
| 546 | } |
| 547 | - Component { |
| 548 | - name: "UsersModel" |
| 549 | - prototype: "QSortFilterProxyModelQML" |
| 550 | - exports: ["LightDM/Users 0.1"] |
| 551 | - isCreatable: false |
| 552 | - isSingleton: true |
| 553 | - exportMetaObjectRevisions: [0] |
| 554 | - } |
| 555 | + Component { name: "UsersModel"; prototype: "UnitySortFilterProxyModelQML" } |
| 556 | } |
| 557 | |
| 558 | === added file 'tests/mocks/MeeGo/QOfono/QOfono.qmltypes' |
| 559 | --- tests/mocks/MeeGo/QOfono/QOfono.qmltypes 1970-01-01 00:00:00 +0000 |
| 560 | +++ tests/mocks/MeeGo/QOfono/QOfono.qmltypes 2015-02-13 09:02:58 +0000 |
| 561 | @@ -0,0 +1,30 @@ |
| 562 | +import QtQuick.tooling 1.1 |
| 563 | + |
| 564 | +// This file describes the plugin-supplied types contained in the library. |
| 565 | +// It is used for QML tooling purposes only. |
| 566 | +// |
| 567 | +// This file was auto-generated by: |
| 568 | +// 'qmlplugindump -notrelocatable MeeGo.QOfono 0.2 tests/mocks' |
| 569 | + |
| 570 | +Module { |
| 571 | + Component { |
| 572 | + name: "MockQOfono" |
| 573 | + prototype: "QObject" |
| 574 | + exports: ["MeeGo.QOfono/MockQOfono 0.2"] |
| 575 | + isCreatable: false |
| 576 | + isSingleton: true |
| 577 | + exportMetaObjectRevisions: [0] |
| 578 | + Property { name: "available"; type: "bool" } |
| 579 | + Property { name: "modems"; type: "QStringList"; isReadonly: true } |
| 580 | + Method { |
| 581 | + name: "setModems" |
| 582 | + Parameter { name: "modems"; type: "QStringList" } |
| 583 | + Parameter { name: "present"; type: "QList<bool>" } |
| 584 | + } |
| 585 | + Method { |
| 586 | + name: "isModemPresent" |
| 587 | + type: "bool" |
| 588 | + Parameter { name: "modem"; type: "string" } |
| 589 | + } |
| 590 | + } |
| 591 | +} |
| 592 | |
| 593 | === modified file 'tests/mocks/QMenuModel/QMenuModel.qmltypes' |
| 594 | --- tests/mocks/QMenuModel/QMenuModel.qmltypes 2014-10-07 10:58:39 +0000 |
| 595 | +++ tests/mocks/QMenuModel/QMenuModel.qmltypes 2015-02-13 09:02:58 +0000 |
| 596 | @@ -8,12 +8,45 @@ |
| 597 | |
| 598 | Module { |
| 599 | Component { |
| 600 | + name: "ActionData" |
| 601 | + prototype: "QObject" |
| 602 | + exports: ["QMenuModel/ActionData 0.1"] |
| 603 | + isCreatable: false |
| 604 | + isSingleton: true |
| 605 | + exportMetaObjectRevisions: [0] |
| 606 | + Property { name: "data"; type: "QVariant" } |
| 607 | + } |
| 608 | + Component { |
| 609 | name: "ActionStateParser" |
| 610 | prototype: "QObject" |
| 611 | exports: ["QMenuModel/ActionStateParser 0.1"] |
| 612 | exportMetaObjectRevisions: [0] |
| 613 | } |
| 614 | Component { |
| 615 | + name: "DBusEnums" |
| 616 | + prototype: "QObject" |
| 617 | + exports: ["QMenuModel/DBus 0.1"] |
| 618 | + isCreatable: false |
| 619 | + exportMetaObjectRevisions: [0] |
| 620 | + Enum { |
| 621 | + name: "BusType" |
| 622 | + values: { |
| 623 | + "None": 0, |
| 624 | + "SessionBus": 1, |
| 625 | + "SystemBus": 2, |
| 626 | + "LastBusType": 3 |
| 627 | + } |
| 628 | + } |
| 629 | + Enum { |
| 630 | + name: "ConnectionStatus" |
| 631 | + values: { |
| 632 | + "Disconnected": 0, |
| 633 | + "Connecting": 1, |
| 634 | + "Connected": 2 |
| 635 | + } |
| 636 | + } |
| 637 | + } |
| 638 | + Component { |
| 639 | name: "UnityMenuModel" |
| 640 | prototype: "QAbstractListModel" |
| 641 | exports: ["QMenuModel/UnityMenuModel 0.1"] |
| 642 | |
| 643 | === added file 'tests/mocks/Ubuntu/SystemSettings/LanguagePlugin/LanguagePlugin.qmltypes' |
| 644 | --- tests/mocks/Ubuntu/SystemSettings/LanguagePlugin/LanguagePlugin.qmltypes 1970-01-01 00:00:00 +0000 |
| 645 | +++ tests/mocks/Ubuntu/SystemSettings/LanguagePlugin/LanguagePlugin.qmltypes 2015-02-13 09:02:58 +0000 |
| 646 | @@ -0,0 +1,10 @@ |
| 647 | +import QtQuick.tooling 1.1 |
| 648 | + |
| 649 | +// This file describes the plugin-supplied types contained in the library. |
| 650 | +// It is used for QML tooling purposes only. |
| 651 | +// |
| 652 | +// This file was auto-generated by: |
| 653 | +// 'qmlplugindump -notrelocatable Ubuntu.SystemSettings.LanguagePlugin 1.0 tests/mocks' |
| 654 | + |
| 655 | +Module { |
| 656 | +} |
| 657 | |
| 658 | === added file 'tests/mocks/Ubuntu/SystemSettings/SecurityPrivacy/SecurityPrivacy.qmltypes' |
| 659 | --- tests/mocks/Ubuntu/SystemSettings/SecurityPrivacy/SecurityPrivacy.qmltypes 1970-01-01 00:00:00 +0000 |
| 660 | +++ tests/mocks/Ubuntu/SystemSettings/SecurityPrivacy/SecurityPrivacy.qmltypes 2015-02-13 09:02:58 +0000 |
| 661 | @@ -0,0 +1,39 @@ |
| 662 | +import QtQuick.tooling 1.1 |
| 663 | + |
| 664 | +// This file describes the plugin-supplied types contained in the library. |
| 665 | +// It is used for QML tooling purposes only. |
| 666 | +// |
| 667 | +// This file was auto-generated by: |
| 668 | +// 'qmlplugindump -notrelocatable Ubuntu.SystemSettings.SecurityPrivacy 1.0 tests/mocks' |
| 669 | + |
| 670 | +Module { |
| 671 | + Component { |
| 672 | + name: "MockSecurityPrivacy" |
| 673 | + prototype: "QObject" |
| 674 | + exports: [ |
| 675 | + "Ubuntu.SystemSettings.SecurityPrivacy/UbuntuSecurityPrivacyPanel 1.0" |
| 676 | + ] |
| 677 | + exportMetaObjectRevisions: [0] |
| 678 | + Enum { |
| 679 | + name: "SecurityType" |
| 680 | + values: { |
| 681 | + "Swipe": 0, |
| 682 | + "Passcode": 1, |
| 683 | + "Passphrase": 2 |
| 684 | + } |
| 685 | + } |
| 686 | + Signal { |
| 687 | + name: "setSecurityCalled" |
| 688 | + Parameter { name: "oldPasswd"; type: "string" } |
| 689 | + Parameter { name: "newPasswd"; type: "string" } |
| 690 | + Parameter { name: "newType"; type: "SecurityType" } |
| 691 | + } |
| 692 | + Method { |
| 693 | + name: "setSecurity" |
| 694 | + type: "string" |
| 695 | + Parameter { name: "oldPasswd"; type: "string" } |
| 696 | + Parameter { name: "newPasswd"; type: "string" } |
| 697 | + Parameter { name: "newType"; type: "SecurityType" } |
| 698 | + } |
| 699 | + } |
| 700 | +} |
| 701 | |
| 702 | === modified file 'tests/mocks/Unity/Application/Application.qmltypes' |
| 703 | --- tests/mocks/Unity/Application/Application.qmltypes 2014-10-07 10:58:39 +0000 |
| 704 | +++ tests/mocks/Unity/Application/Application.qmltypes 2015-02-13 09:02:58 +0000 |
| 705 | @@ -239,6 +239,8 @@ |
| 706 | Property { name: "name"; type: "string"; isReadonly: true } |
| 707 | Property { name: "live"; type: "bool"; isReadonly: true } |
| 708 | Property { name: "orientation"; type: "Qt::ScreenOrientation" } |
| 709 | + Property { name: "touchPressCount"; type: "int" } |
| 710 | + Property { name: "touchReleaseCount"; type: "int" } |
| 711 | Signal { |
| 712 | name: "typeChanged" |
| 713 | Parameter { type: "Type" } |
| 714 | @@ -251,6 +253,14 @@ |
| 715 | name: "liveChanged" |
| 716 | Parameter { name: "live"; type: "bool" } |
| 717 | } |
| 718 | + Signal { |
| 719 | + name: "touchPressCountChanged" |
| 720 | + Parameter { name: "count"; type: "int" } |
| 721 | + } |
| 722 | + Signal { |
| 723 | + name: "touchReleaseCountChanged" |
| 724 | + Parameter { name: "count"; type: "int" } |
| 725 | + } |
| 726 | Signal { name: "inputMethodRequested" } |
| 727 | Signal { name: "inputMethodDismissed" } |
| 728 | Signal { name: "deregister" } |
| 729 | @@ -296,6 +306,10 @@ |
| 730 | name: "addChildSession" |
| 731 | Parameter { name: "session"; type: "Session"; isPointer: true } |
| 732 | } |
| 733 | + Method { |
| 734 | + name: "removeChildSession" |
| 735 | + Parameter { name: "session"; type: "Session"; isPointer: true } |
| 736 | + } |
| 737 | } |
| 738 | Component { |
| 739 | name: "SessionManager" |
| 740 | @@ -346,6 +360,34 @@ |
| 741 | Method { name: "inputMethodSurface"; type: "MirSurfaceItem*" } |
| 742 | } |
| 743 | Component { |
| 744 | + name: "UbuntuKeyboardInfo" |
| 745 | + prototype: "QObject" |
| 746 | + exports: ["Unity.Application/UbuntuKeyboardInfo 0.1"] |
| 747 | + isCreatable: false |
| 748 | + isSingleton: true |
| 749 | + exportMetaObjectRevisions: [0] |
| 750 | + Property { name: "x"; type: "double"; isReadonly: true } |
| 751 | + Property { name: "y"; type: "double"; isReadonly: true } |
| 752 | + Property { name: "width"; type: "double"; isReadonly: true } |
| 753 | + Property { name: "height"; type: "double"; isReadonly: true } |
| 754 | + Signal { |
| 755 | + name: "xChanged" |
| 756 | + Parameter { name: "x"; type: "double" } |
| 757 | + } |
| 758 | + Signal { |
| 759 | + name: "yChanged" |
| 760 | + Parameter { name: "y"; type: "double" } |
| 761 | + } |
| 762 | + Signal { |
| 763 | + name: "widthChanged" |
| 764 | + Parameter { name: "width"; type: "double" } |
| 765 | + } |
| 766 | + Signal { |
| 767 | + name: "heightChanged" |
| 768 | + Parameter { name: "height"; type: "double" } |
| 769 | + } |
| 770 | + } |
| 771 | + Component { |
| 772 | name: "unity::shell::application::ApplicationInfoInterface" |
| 773 | prototype: "QObject" |
| 774 | exports: ["Unity.Application/ApplicationInfoInterface 0.1"] |
| 775 | |
| 776 | === modified file 'tests/mocks/Unity/Indicators/Indicators.qmltypes' |
| 777 | --- tests/mocks/Unity/Indicators/Indicators.qmltypes 2014-10-07 10:58:39 +0000 |
| 778 | +++ tests/mocks/Unity/Indicators/Indicators.qmltypes 2015-02-13 09:02:58 +0000 |
| 779 | @@ -29,6 +29,7 @@ |
| 780 | exports: ["Unity.Indicators/FakeIndicatorsModel 0.1"] |
| 781 | exportMetaObjectRevisions: [0] |
| 782 | Property { name: "count"; type: "int"; isReadonly: true } |
| 783 | + Property { name: "profile"; type: "string" } |
| 784 | Property { name: "modelData"; type: "QVariant" } |
| 785 | Method { |
| 786 | name: "load" |
| 787 | @@ -64,16 +65,17 @@ |
| 788 | exportMetaObjectRevisions: [0] |
| 789 | Method { |
| 790 | name: "setCachedModelData" |
| 791 | - Parameter { name: "bus"; type: "QByteArray" } |
| 792 | Parameter { name: "path"; type: "QByteArray" } |
| 793 | - Parameter { name: "actions"; type: "QVariantMap" } |
| 794 | Parameter { name: "data"; type: "QVariant" } |
| 795 | } |
| 796 | Method { |
| 797 | name: "setCachedModelData" |
| 798 | - Parameter { name: "bus"; type: "QByteArray" } |
| 799 | - Parameter { name: "path"; type: "QByteArray" } |
| 800 | - Parameter { name: "actions"; type: "QVariantMap" } |
| 801 | + Parameter { name: "path"; type: "QByteArray" } |
| 802 | + } |
| 803 | + Method { |
| 804 | + name: "getCachedModelData" |
| 805 | + type: "QVariant" |
| 806 | + Parameter { name: "path"; type: "QByteArray" } |
| 807 | } |
| 808 | } |
| 809 | Component { |
| 810 | @@ -105,8 +107,7 @@ |
| 811 | values: { |
| 812 | "Identifier": 0, |
| 813 | "Position": 1, |
| 814 | - "IndicatorProperties": 2, |
| 815 | - "IsVisible": 3 |
| 816 | + "IndicatorProperties": 2 |
| 817 | } |
| 818 | } |
| 819 | } |
| 820 | @@ -183,12 +184,6 @@ |
| 821 | } |
| 822 | } |
| 823 | Component { |
| 824 | - name: "QAbstractProxyModel" |
| 825 | - prototype: "QAbstractItemModel" |
| 826 | - Property { name: "sourceModel"; type: "QAbstractItemModel"; isPointer: true } |
| 827 | - } |
| 828 | - Component { name: "QIdentityProxyModel"; prototype: "QAbstractProxyModel" } |
| 829 | - Component { |
| 830 | name: "SharedUnityMenuModel" |
| 831 | prototype: "QObject" |
| 832 | exports: ["Unity.Indicators/SharedUnityMenuModel 0.1"] |
| 833 | @@ -234,25 +229,4 @@ |
| 834 | } |
| 835 | Method { name: "pop"; type: "UnityMenuModel*" } |
| 836 | } |
| 837 | - Component { |
| 838 | - name: "VisibleIndicatorsModel" |
| 839 | - prototype: "QIdentityProxyModel" |
| 840 | - exports: ["Unity.Indicators/VisibleIndicatorsModel 0.1"] |
| 841 | - exportMetaObjectRevisions: [0] |
| 842 | - Property { name: "model"; type: "QAbstractItemModel"; isPointer: true } |
| 843 | - Property { name: "visible"; type: "QVariantMap" } |
| 844 | - Signal { name: "totalCountChanged" } |
| 845 | - Method { |
| 846 | - name: "onBeginRowInserted" |
| 847 | - Parameter { type: "QModelIndex" } |
| 848 | - Parameter { name: "start"; type: "int" } |
| 849 | - Parameter { name: "end"; type: "int" } |
| 850 | - } |
| 851 | - Method { |
| 852 | - name: "onRowInserted" |
| 853 | - Parameter { type: "QModelIndex" } |
| 854 | - Parameter { name: "start"; type: "int" } |
| 855 | - Parameter { name: "end"; type: "int" } |
| 856 | - } |
| 857 | - } |
| 858 | } |
| 859 | |
| 860 | === modified file 'tests/mocks/Unity/Launcher/Launcher.qmltypes' |
| 861 | --- tests/mocks/Unity/Launcher/Launcher.qmltypes 2014-10-07 10:58:39 +0000 |
| 862 | +++ tests/mocks/Unity/Launcher/Launcher.qmltypes 2015-02-13 09:02:58 +0000 |
| 863 | @@ -63,6 +63,7 @@ |
| 864 | type: "string" |
| 865 | Parameter { name: "appId"; type: "string" } |
| 866 | } |
| 867 | + Method { name: "emitHint" } |
| 868 | } |
| 869 | Component { |
| 870 | name: "MockQuickListModel" |
| 871 | @@ -141,6 +142,8 @@ |
| 872 | type: "unity::shell::application::ApplicationManagerInterface" |
| 873 | isPointer: true |
| 874 | } |
| 875 | + Property { name: "onlyPinned"; type: "bool" } |
| 876 | + Signal { name: "hint" } |
| 877 | Method { |
| 878 | name: "move" |
| 879 | Parameter { name: "oldIndex"; type: "int" } |
| 880 | |
| 881 | === modified file 'tests/mocks/Unity/Notifications/Notifications.qmltypes' |
| 882 | --- tests/mocks/Unity/Notifications/Notifications.qmltypes 2014-06-26 07:47:57 +0000 |
| 883 | +++ tests/mocks/Unity/Notifications/Notifications.qmltypes 2015-02-13 09:02:58 +0000 |
| 884 | @@ -7,4 +7,143 @@ |
| 885 | // 'qmlplugindump -notrelocatable Unity.Notifications 1.0 tests/mocks' |
| 886 | |
| 887 | Module { |
| 888 | + Component { |
| 889 | + name: "ActionModel" |
| 890 | + prototype: "QStringListModel" |
| 891 | + exports: ["Unity.Notifications/ActionModel 1.0"] |
| 892 | + exportMetaObjectRevisions: [0] |
| 893 | + Enum { |
| 894 | + name: "ActionsRoles" |
| 895 | + values: { |
| 896 | + "RoleActionLabel": 257, |
| 897 | + "RoleActionId": 258 |
| 898 | + } |
| 899 | + } |
| 900 | + Property { name: "count"; type: "int"; isReadonly: true } |
| 901 | + Method { |
| 902 | + name: "data" |
| 903 | + type: "QVariant" |
| 904 | + Parameter { name: "row"; type: "int" } |
| 905 | + Parameter { name: "role"; type: "int" } |
| 906 | + } |
| 907 | + Method { |
| 908 | + name: "append" |
| 909 | + Parameter { name: "id"; type: "string" } |
| 910 | + Parameter { name: "label"; type: "string" } |
| 911 | + } |
| 912 | + } |
| 913 | + Component { |
| 914 | + name: "MockNotification" |
| 915 | + prototype: "QObject" |
| 916 | + exports: ["Unity.Notifications/Notification 1.0"] |
| 917 | + exportMetaObjectRevisions: [0] |
| 918 | + Enum { |
| 919 | + name: "Type" |
| 920 | + values: { |
| 921 | + "PlaceHolder": 0, |
| 922 | + "Confirmation": 1, |
| 923 | + "Ephemeral": 2, |
| 924 | + "Interactive": 3, |
| 925 | + "SnapDecision": 4 |
| 926 | + } |
| 927 | + } |
| 928 | + Property { name: "summary"; type: "string" } |
| 929 | + Property { name: "body"; type: "string" } |
| 930 | + Property { name: "nid"; type: "int" } |
| 931 | + Property { name: "value"; type: "int" } |
| 932 | + Property { name: "icon"; type: "string" } |
| 933 | + Property { name: "secondaryIcon"; type: "string" } |
| 934 | + Property { name: "type"; type: "Type" } |
| 935 | + Property { name: "rawActions"; type: "QStringList" } |
| 936 | + Property { name: "actions"; type: "ActionModel"; isReadonly: true; isPointer: true } |
| 937 | + Property { name: "hints"; type: "QVariantMap" } |
| 938 | + Signal { |
| 939 | + name: "summaryChanged" |
| 940 | + Parameter { name: "summary"; type: "string" } |
| 941 | + } |
| 942 | + Signal { |
| 943 | + name: "bodyChanged" |
| 944 | + Parameter { name: "body"; type: "string" } |
| 945 | + } |
| 946 | + Signal { |
| 947 | + name: "idChanged" |
| 948 | + Parameter { name: "id"; type: "int" } |
| 949 | + } |
| 950 | + Signal { |
| 951 | + name: "valueChanged" |
| 952 | + Parameter { name: "value"; type: "int" } |
| 953 | + } |
| 954 | + Signal { |
| 955 | + name: "iconChanged" |
| 956 | + Parameter { name: "icon"; type: "string" } |
| 957 | + } |
| 958 | + Signal { |
| 959 | + name: "secondaryIconChanged" |
| 960 | + Parameter { name: "secondaryIcon"; type: "string" } |
| 961 | + } |
| 962 | + Signal { |
| 963 | + name: "typeChanged" |
| 964 | + Parameter { name: "type"; type: "Type" } |
| 965 | + } |
| 966 | + Signal { |
| 967 | + name: "actionsChanged" |
| 968 | + Parameter { name: "actions"; type: "QStringList" } |
| 969 | + } |
| 970 | + Signal { |
| 971 | + name: "hintsChanged" |
| 972 | + Parameter { name: "hints"; type: "QVariantMap" } |
| 973 | + } |
| 974 | + Signal { |
| 975 | + name: "dataChanged" |
| 976 | + Parameter { name: "nid"; type: "int" } |
| 977 | + } |
| 978 | + Signal { |
| 979 | + name: "completed" |
| 980 | + Parameter { name: "nid"; type: "int" } |
| 981 | + } |
| 982 | + Signal { |
| 983 | + name: "actionInvoked" |
| 984 | + Parameter { name: "action"; type: "string" } |
| 985 | + } |
| 986 | + Method { |
| 987 | + name: "invokeAction" |
| 988 | + Parameter { name: "action"; type: "string" } |
| 989 | + } |
| 990 | + Method { name: "close" } |
| 991 | + } |
| 992 | + Component { |
| 993 | + name: "MockNotificationModel" |
| 994 | + prototype: "QAbstractListModel" |
| 995 | + exports: ["Unity.Notifications/NotificationModel 1.0"] |
| 996 | + exportMetaObjectRevisions: [0] |
| 997 | + Property { name: "count"; type: "int"; isReadonly: true } |
| 998 | + Signal { |
| 999 | + name: "actionInvoked" |
| 1000 | + Parameter { name: "action"; type: "string" } |
| 1001 | + } |
| 1002 | + Signal { |
| 1003 | + name: "queueSizeChanged" |
| 1004 | + Parameter { name: "newSize"; type: "int" } |
| 1005 | + } |
| 1006 | + Method { |
| 1007 | + name: "onCompleted" |
| 1008 | + Parameter { name: "id"; type: "int" } |
| 1009 | + } |
| 1010 | + Method { |
| 1011 | + name: "append" |
| 1012 | + Parameter { name: "n"; type: "MockNotification"; isPointer: true } |
| 1013 | + } |
| 1014 | + Method { |
| 1015 | + name: "getRaw" |
| 1016 | + type: "MockNotification*" |
| 1017 | + Parameter { name: "notificationId"; type: "int" } |
| 1018 | + } |
| 1019 | + Method { name: "queued"; type: "int" } |
| 1020 | + Method { |
| 1021 | + name: "remove" |
| 1022 | + Parameter { name: "id"; type: "int" } |
| 1023 | + } |
| 1024 | + Method { name: "removeSecond" } |
| 1025 | + } |
| 1026 | + Component { name: "QStringListModel"; prototype: "QAbstractListModel" } |
| 1027 | } |
| 1028 | |
| 1029 | === modified file 'tests/mocks/Unity/Unity.qmltypes' |
| 1030 | --- tests/mocks/Unity/Unity.qmltypes 2014-10-07 10:58:39 +0000 |
| 1031 | +++ tests/mocks/Unity/Unity.qmltypes 2015-02-13 09:02:58 +0000 |
| 1032 | @@ -169,8 +169,19 @@ |
| 1033 | Parameter { name: "scope"; type: "Scope"; isPointer: true } |
| 1034 | } |
| 1035 | Method { name: "clear" } |
| 1036 | + Method { name: "clearFavorites" } |
| 1037 | Method { name: "load" } |
| 1038 | Method { |
| 1039 | + name: "setFavorite" |
| 1040 | + Parameter { name: "scopeId"; type: "string" } |
| 1041 | + Parameter { name: "favorite"; type: "bool" } |
| 1042 | + } |
| 1043 | + Method { |
| 1044 | + name: "moveFavoriteTo" |
| 1045 | + Parameter { name: "scopeId"; type: "string" } |
| 1046 | + Parameter { name: "index"; type: "int" } |
| 1047 | + } |
| 1048 | + Method { |
| 1049 | name: "getScopeFromAll" |
| 1050 | type: "Scope*" |
| 1051 | Parameter { name: "scope_id"; type: "string" } |
| 1052 | @@ -443,6 +454,16 @@ |
| 1053 | type: "unity::shell::scopes::ScopeInterface*" |
| 1054 | Parameter { name: "scopeId"; type: "string" } |
| 1055 | } |
| 1056 | + Method { |
| 1057 | + name: "setFavorite" |
| 1058 | + Parameter { name: "scopeId"; type: "string" } |
| 1059 | + Parameter { name: "favorite"; type: "bool" } |
| 1060 | + } |
| 1061 | + Method { |
| 1062 | + name: "moveFavoriteTo" |
| 1063 | + Parameter { name: "scopeId"; type: "string" } |
| 1064 | + Parameter { name: "index"; type: "int" } |
| 1065 | + } |
| 1066 | } |
| 1067 | Component { |
| 1068 | name: "unity::shell::scopes::SettingsModelInterface" |
| 1069 | |
| 1070 | === modified file 'tests/mocks/Wizard/Wizard.qmltypes' |
| 1071 | --- tests/mocks/Wizard/Wizard.qmltypes 2014-11-14 17:47:00 +0000 |
| 1072 | +++ tests/mocks/Wizard/Wizard.qmltypes 2015-02-13 09:02:58 +0000 |
| 1073 | @@ -15,6 +15,10 @@ |
| 1074 | isSingleton: true |
| 1075 | exportMetaObjectRevisions: [0] |
| 1076 | Property { name: "wizardEnabled"; type: "bool" } |
| 1077 | + Signal { |
| 1078 | + name: "updateSessionLanguageCalled" |
| 1079 | + Parameter { name: "locale"; type: "string" } |
| 1080 | + } |
| 1081 | Method { |
| 1082 | name: "updateSessionLanguage" |
| 1083 | Parameter { name: "locale"; type: "string" } |
| 1084 | @@ -24,8 +28,6 @@ |
| 1085 | name: "PageList" |
| 1086 | prototype: "QObject" |
| 1087 | exports: ["Wizard/PageList 0.1"] |
| 1088 | - isCreatable: false |
| 1089 | - isSingleton: true |
| 1090 | exportMetaObjectRevisions: [0] |
| 1091 | Property { name: "index"; type: "int"; isReadonly: true } |
| 1092 | Property { name: "numPages"; type: "int"; isReadonly: true } |
| 1093 | @@ -33,4 +35,3 @@ |
| 1094 | Method { name: "next"; type: "string" } |
| 1095 | } |
| 1096 | } |
| 1097 | - |
| 1098 | |
| 1099 | === modified file 'tests/utils/modules/Unity/Test/Test.qmltypes' |
| 1100 | --- tests/utils/modules/Unity/Test/Test.qmltypes 2014-06-26 07:47:57 +0000 |
| 1101 | +++ tests/utils/modules/Unity/Test/Test.qmltypes 2015-02-13 09:02:58 +0000 |
| 1102 | @@ -21,6 +21,7 @@ |
| 1103 | Parameter { type: "string" } |
| 1104 | } |
| 1105 | Method { name: "touchEvent"; type: "TouchEventSequenceWrapper*" } |
| 1106 | + Method { name: "ensureTouchRegistryInstalled" } |
| 1107 | } |
| 1108 | Component { |
| 1109 | name: "TouchEventSequenceWrapper" |

FAILED: Continuous integration, rev:1612 jenkins. qa.ubuntu. com/job/ unity8- ci/5317/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- vivid-touch/ 1349 jenkins. qa.ubuntu. com/job/ unity-phablet- qmluitests- vivid/481 jenkins. qa.ubuntu. com/job/ unity8- vivid-amd64- ci/482 jenkins. qa.ubuntu. com/job/ unity8- vivid-i386- ci/482 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- vivid-mako/ 1189 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 1347 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 1347/artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 18044
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity8- ci/5317/ rebuild
http://