@@ -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;