From 7d6c6bc082dc4c93078c5803f0b6cc536474b9b1 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Sun, 10 Aug 2014 19:31:57 +0200 Subject: Use Q_ENUM and Q_FLAG for types in QtCore Change-Id: I33590a9c4c6d87c5bbba1d201e32c6bf1bd3e00b Reviewed-by: Lars Knoll Reviewed-by: Marc Mutz --- src/corelib/tools/qeasingcurve.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/corelib/tools/qeasingcurve.h') diff --git a/src/corelib/tools/qeasingcurve.h b/src/corelib/tools/qeasingcurve.h index 702842eb68..a3866c72a2 100644 --- a/src/corelib/tools/qeasingcurve.h +++ b/src/corelib/tools/qeasingcurve.h @@ -50,7 +50,6 @@ class QPointF; class Q_CORE_EXPORT QEasingCurve { Q_GADGET - Q_ENUMS(Type) public: enum Type { Linear, @@ -67,6 +66,7 @@ public: InCurve, OutCurve, SineCurve, CosineCurve, BezierSpline, TCBSpline, Custom, NCurveTypes }; + Q_ENUM(Type) QEasingCurve(Type type = Linear); QEasingCurve(const QEasingCurve &other); -- cgit v1.2.3