From 163b8529516ddda24833f635f737863ba98bd688 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Sat, 7 Feb 2015 13:00:49 +0100 Subject: QtWidgets: use Q_ENUM instead of Q_ENUMS Change-Id: Id5280c1d9feab95e1506569f3d0eb23eeb74935f Reviewed-by: Marc Mutz --- src/widgets/widgets/qtabbar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/widgets/widgets/qtabbar.h') diff --git a/src/widgets/widgets/qtabbar.h b/src/widgets/widgets/qtabbar.h index 5cca289020..70cb02eb72 100644 --- a/src/widgets/widgets/qtabbar.h +++ b/src/widgets/widgets/qtabbar.h @@ -49,7 +49,6 @@ class Q_WIDGETS_EXPORT QTabBar: public QWidget { Q_OBJECT - Q_ENUMS(Shape) Q_PROPERTY(Shape shape READ shape WRITE setShape) Q_PROPERTY(int currentIndex READ currentIndex WRITE setCurrentIndex NOTIFY currentChanged) Q_PROPERTY(int count READ count) @@ -72,6 +71,7 @@ public: enum Shape { RoundedNorth, RoundedSouth, RoundedWest, RoundedEast, TriangularNorth, TriangularSouth, TriangularWest, TriangularEast }; + Q_ENUM(Shape) enum ButtonPosition { LeftSide, -- cgit v1.2.3