summaryrefslogtreecommitdiffstats
path: root/src/platformsupport
diff options
context:
space:
mode:
authorAlbert Astals Cid <albert.astals@canonical.com>2016-12-23 11:52:47 +0100
committerAlbert Astals Cid <albert.astals@canonical.com>2017-01-02 10:31:25 +0000
commit59ae55e12e075005ceae6e353ef1ee00817ec751 (patch)
tree83dcec3230d244aeb3b7b8aaf4a01147f6c4f887 /src/platformsupport
parent92f6a4588f6bfc78e9b8b536ec7895d048c3aa30 (diff)
Q_ENUMS -> Q_ENUM and Q_FLAGS -> Q_FLAG
Change-Id: I3cdc7338354da40ab20bdaeb9d5745264ea27228 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/platformsupport')
-rw-r--r--src/platformsupport/devicediscovery/qdevicediscovery_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platformsupport/devicediscovery/qdevicediscovery_p.h b/src/platformsupport/devicediscovery/qdevicediscovery_p.h
index d4962fb7d6..e3c22b0b37 100644
--- a/src/platformsupport/devicediscovery/qdevicediscovery_p.h
+++ b/src/platformsupport/devicediscovery/qdevicediscovery_p.h
@@ -68,7 +68,6 @@ QT_BEGIN_NAMESPACE
class QDeviceDiscovery : public QObject
{
Q_OBJECT
- Q_ENUMS(QDeviceType)
public:
enum QDeviceType {
@@ -84,6 +83,7 @@ public:
Device_InputMask = Device_Mouse | Device_Touchpad | Device_Touchscreen | Device_Keyboard | Device_Tablet | Device_Joystick,
Device_VideoMask = Device_DRM
};
+ Q_ENUM(QDeviceType)
Q_DECLARE_FLAGS(QDeviceTypes, QDeviceType)
static QDeviceDiscovery *create(QDeviceTypes type, QObject *parent = 0);