diff options
author | André Klitzing <aklitzing@gmail.com> | 2017-10-06 12:52:32 +0200 |
---|---|---|
committer | André Klitzing <aklitzing@gmail.com> | 2017-10-10 14:34:28 +0000 |
commit | 5775c5e344e94f47af73d0d72a631375fb10d3d5 (patch) | |
tree | e18316b976b9960b923bddd0c7c621cb4d59d535 /src/websockets | |
parent | b01ffb0f295fbf39771783da84797231f38b976e (diff) | |
download | qtwebsockets-5775c5e344e94f47af73d0d72a631375fb10d3d5.tar.gz |
Replace Q_ENUMS by Q_ENUM
Change-Id: Ie16c88fb0a215efe5f152ea2d12c984f8d9e0878
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/websockets')
-rw-r--r-- | src/websockets/qwebsocketserver.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/websockets/qwebsocketserver.h b/src/websockets/qwebsocketserver.h index f846290..9dc286b 100644 --- a/src/websockets/qwebsocketserver.h +++ b/src/websockets/qwebsocketserver.h @@ -65,8 +65,6 @@ class Q_WEBSOCKETS_EXPORT QWebSocketServer : public QObject Q_DISABLE_COPY(QWebSocketServer) Q_DECLARE_PRIVATE(QWebSocketServer) - Q_ENUMS(SslMode) - public: enum SslMode { #ifndef QT_NO_SSL @@ -74,6 +72,7 @@ public: #endif NonSecureMode = 1 }; + Q_ENUM(SslMode) explicit QWebSocketServer(const QString &serverName, SslMode secureMode, QObject *parent = Q_NULLPTR); |