Merge lp:~gerboland/unity-api/adjust-application-api into lp:unity-api
Proposed by
Gerry Boland
Status: | Merged |
---|---|
Approved by: | Michael Zanetti |
Approved revision: | 99 |
Merged at revision: | 95 |
Proposed branch: | lp:~gerboland/unity-api/adjust-application-api |
Merge into: | lp:unity-api |
Diff against target: |
201 lines (+62/-31) 4 files modified
include/unity/shell/application/ApplicationManagerInterface.h (+23/-10) test/qmltest/mocks/plugins/Unity/Application/Mocks/MockApplicationManager.cpp (+28/-13) test/qmltest/mocks/plugins/Unity/Application/Mocks/MockApplicationManager.h (+9/-7) test/qmltest/unity/shell/application/tst_Application.qml (+2/-1) |
To merge this branch: | bzr merge lp:~gerboland/unity-api/adjust-application-api |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Zanetti (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+183641@code.launchpad.net |
Commit message
ApplicationMana
Description of the change
ApplicationMana
To post a comment you must log in.
9 + Q_PROPERTY(QString focusedApplication READ focusedApplication NOTIFY focusedApplicat ionChanged)
As we still support ApplicationInfo objects I'd probably rename this to focusedApplicat ionId
30 - Q_INVOKABLE virtual unity:: shell:: application: :ApplicationInf oInterface *get(int index) const = 0; shell:: application: :ApplicationInf oInterface *get(const int index) const = 0;
33 + Q_INVOKABLE virtual unity::
I don't really see the point of this. It only restricts the usage of the variable in the actual implementation without any benefit (as we're creating a copy of that integer anyways). But not a real problem either.