summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qtabbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/widgets/qtabbar.h')
-rw-r--r--src/widgets/widgets/qtabbar.h2
1 files changed, 1 insertions, 1 deletions
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,