@@ -57,7 +57,6 @@ class QInputDeviceManager;
5757class QInputDevice : public QObject
5858{
5959 Q_OBJECT
60− Q_FLAGS(InputType InputTypeFlags)
6160 friend class QInputDeviceManagerPrivate;
6261
6362public:
@@ -71,8 +70,9 @@ public:
7170 Keyboard = 16,
7271 Switch = 32
7372 };
74− Q_ENUM(InputType)
73+ Q_FLAG(InputType)
7574 Q_DECLARE_FLAGS(InputTypeFlags, InputType)
75+ Q_FLAG(InputTypeFlags)
7676
7777 explicit QInputDevice(QObject *parent = 0);
7878 QString name() const;