Prefer Q_ENUM to Q_ENUMS
This commit is contained in:
parent
fb8f468535
commit
e2c89794d9
1 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ public:
|
||||||
IconNameRole,
|
IconNameRole,
|
||||||
DeviceRole
|
DeviceRole
|
||||||
};
|
};
|
||||||
Q_ENUMS(ModelRoles);
|
Q_ENUM(ModelRoles);
|
||||||
|
|
||||||
// A device is always paired or reachable or both
|
// A device is always paired or reachable or both
|
||||||
// You can combine the Paired and Reachable flags
|
// You can combine the Paired and Reachable flags
|
||||||
|
@ -58,7 +58,7 @@ public:
|
||||||
};
|
};
|
||||||
Q_DECLARE_FLAGS(StatusFilterFlags, StatusFilterFlag)
|
Q_DECLARE_FLAGS(StatusFilterFlags, StatusFilterFlag)
|
||||||
Q_FLAGS(StatusFilterFlags)
|
Q_FLAGS(StatusFilterFlags)
|
||||||
Q_ENUMS(StatusFilterFlag)
|
Q_ENUM(StatusFilterFlag)
|
||||||
|
|
||||||
explicit DevicesModel(QObject *parent = nullptr);
|
explicit DevicesModel(QObject *parent = nullptr);
|
||||||
virtual ~DevicesModel();
|
virtual ~DevicesModel();
|
||||||
|
|
Loading…
Reference in a new issue