Prefer Q_ENUM to Q_ENUMS

This commit is contained in:
Aleix Pol 2016-06-08 18:39:31 +02:00
parent fb8f468535
commit e2c89794d9

View file

@ -47,7 +47,7 @@ public:
IconNameRole,
DeviceRole
};
Q_ENUMS(ModelRoles);
Q_ENUM(ModelRoles);
// A device is always paired or reachable or both
// You can combine the Paired and Reachable flags
@ -58,7 +58,7 @@ public:
};
Q_DECLARE_FLAGS(StatusFilterFlags, StatusFilterFlag)
Q_FLAGS(StatusFilterFlags)
Q_ENUMS(StatusFilterFlag)
Q_ENUM(StatusFilterFlag)
explicit DevicesModel(QObject *parent = nullptr);
virtual ~DevicesModel();