on xenial help sign in
Change in unity-api means no need to copy enum definition
commit0c63f823af4ea27e9f1340b902ef1f5044f26222 authorGerry Boland <gerry.boland@canonical.com> dateMon 9 Sep 2013, 13:42 (13 years ago) parent7f4e505
1 file changed−10
tests/mocks/Unity/Application/ApplicationManager.h−10
tests/mocks/Unity/Application/ApplicationManager.h−10
@@ -31,7 +31,6 @@ using namespace unity::shell::application;
3131class ApplicationManager : public ApplicationManagerInterface {
3232 Q_OBJECT
3333 Q_ENUMS(Role)
34− Q_ENUMS(Roles) //inherited, but want to expose to QML
3534 Q_ENUMS(StageHint)
3635 Q_ENUMS(FormFactorHint)
3736 Q_ENUMS(FavoriteApplication)
@@ -70,15 +69,6 @@ class ApplicationManager : public ApplicationManagerInterface {
7069 ForceMainStage = 0x1,
7170 };
7271 Q_DECLARE_FLAGS(ExecFlags, Flag)
73− enum Roles { // Q_ENUM of inherited Roles doesn't work?!?!?!
74− RoleAppId = Qt::UserRole,
75− RoleName,
76− RoleComment,
77− RoleIcon,
78− RoleStage,
79− RoleState,
80− RoleFocused,
81− };
8272
8373 int keyboardHeight() const;
8474 bool keyboardVisible() const;