Prefer Q_ENUM to Q_ENUMS

It does more things and it makes clazy complain.
icc-effect-5.26.4
Aleix Pol 2021-05-13 17:08:32 +02:00
parent a06bf936bc
commit 2a9a436307
1 changed files with 3 additions and 3 deletions

View File

@ -67,9 +67,9 @@ class Settings;
class KWIN_EXPORT Options : public QObject
{
Q_OBJECT
Q_ENUMS(XwaylandCrashPolicy)
Q_ENUMS(LatencyPolicy)
Q_ENUMS(RenderTimeEstimator)
Q_ENUM(XwaylandCrashPolicy)
Q_ENUM(LatencyPolicy)
Q_ENUM(RenderTimeEstimator)
Q_PROPERTY(FocusPolicy focusPolicy READ focusPolicy WRITE setFocusPolicy NOTIFY focusPolicyChanged)
Q_PROPERTY(XwaylandCrashPolicy xwaylandCrashPolicy READ xwaylandCrashPolicy WRITE setXwaylandCrashPolicy NOTIFY xwaylandCrashPolicyChanged)
Q_PROPERTY(int xwaylandMaxCrashCount READ xwaylandMaxCrashCount WRITE setXwaylandMaxCrashCount NOTIFY xwaylandMaxCrashCountChanged)