summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qgesture.h
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2015-02-07 13:00:49 +0100
committerOlivier Goffart (Woboq GmbH) <ogoffart@woboq.com>2015-02-08 12:19:07 +0000
commit163b8529516ddda24833f635f737863ba98bd688 (patch)
treecf7fbb32c6f240526132e6a69f214e31a2cbaf3e /src/widgets/kernel/qgesture.h
parente768d96e8bc161211b2d4ad377f3fb250f270a9b (diff)
QtWidgets: use Q_ENUM instead of Q_ENUMS
Change-Id: Id5280c1d9feab95e1506569f3d0eb23eeb74935f Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/widgets/kernel/qgesture.h')
-rw-r--r--src/widgets/kernel/qgesture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/kernel/qgesture.h b/src/widgets/kernel/qgesture.h
index a66132566b..4796a1ca4d 100644
--- a/src/widgets/kernel/qgesture.h
+++ b/src/widgets/kernel/qgesture.h
@@ -200,7 +200,6 @@ class Q_WIDGETS_EXPORT QSwipeGesture : public QGesture
{
Q_OBJECT
Q_DECLARE_PRIVATE(QSwipeGesture)
- Q_ENUMS(SwipeDirection)
Q_PROPERTY(SwipeDirection horizontalDirection READ horizontalDirection STORED false)
Q_PROPERTY(SwipeDirection verticalDirection READ verticalDirection STORED false)
@@ -209,6 +208,7 @@ class Q_WIDGETS_EXPORT QSwipeGesture : public QGesture
public:
enum SwipeDirection { NoDirection, Left, Right, Up, Down };
+ Q_ENUM(SwipeDirection)
explicit QSwipeGesture(QObject *parent = 0);
~QSwipeGesture();