Use Q_ENUM instead of Q_ENUMS

Authored by heikobecker on Mar 19 2018, 8:17 PM.

Description

Use Q_ENUM instead of Q_ENUMS

Q_ENUMS is deprecated since Qt5 5.5 and Q_ENUM(foo) gets automatically
registered to Qt's meta type system. qDebug(), QVariant and QCOMPARE
can then print the value rather than the number.

Details

Committed
heikobeckerMar 20 2018, 6:20 PM
Parents
R181:2ed5151687b4: Declare constructors with one parameter explicit
Branches
Unknown
Tags
Unknown