Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
5.2.0
-
None
-
qtbase/dev: cf66bf942bfd19c6c01d05a77b84d4a36cb7ca9f
Description
The values of the enumeration Qt::Edge (in QtCore/qnamespace.h) can be used in a bitmask (just 1 bit set per value) - but Qt provides no flags type for Qt::Edge.
Maybe that there is no need for in Qt - but it could be useful for other 3rd party libraries.
Please add:
Q_DECLARE_FLAGS(Edges, Edge) Q_DECLARE_OPERATORS_FOR_FLAGS(Edges)