summaryrefslogtreecommitdiff
path: root/examples/webchannel/shared/websocketclientwrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webchannel/shared/websocketclientwrapper.cpp')
-rw-r--r--examples/webchannel/shared/websocketclientwrapper.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/webchannel/shared/websocketclientwrapper.cpp b/examples/webchannel/shared/websocketclientwrapper.cpp
index 3743bdd..16be85e 100644
--- a/examples/webchannel/shared/websocketclientwrapper.cpp
+++ b/examples/webchannel/shared/websocketclientwrapper.cpp
@@ -51,7 +51,7 @@
#include "websocketclientwrapper.h"
#include "websockettransport.h"
-#include <QtWebSockets/QWebSocketServer>
+#include <QWebSocketServer>
/*!
\brief Wraps connected QWebSockets clients in WebSocketTransport objects.
@@ -61,8 +61,6 @@
published objects.
*/
-QT_BEGIN_NAMESPACE
-
/*!
Construct the client wrapper with the given parent.
@@ -84,5 +82,3 @@ void WebSocketClientWrapper::handleNewConnection()
{
emit clientConnected(new WebSocketTransport(m_server->nextPendingConnection()));
}
-
-QT_END_NAMESPACE