summaryrefslogtreecommitdiff
path: root/examples/webchannel/shared/websockettransport.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webchannel/shared/websockettransport.h')
-rw-r--r--examples/webchannel/shared/websockettransport.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/webchannel/shared/websockettransport.h b/examples/webchannel/shared/websockettransport.h
index 44cb92e..7158aa5 100644
--- a/examples/webchannel/shared/websockettransport.h
+++ b/examples/webchannel/shared/websockettransport.h
@@ -54,8 +54,9 @@
#include <QtWebChannel/QWebChannelAbstractTransport>
QT_BEGIN_NAMESPACE
-
class QWebSocket;
+QT_END_NAMESPACE
+
class WebSocketTransport : public QWebChannelAbstractTransport
{
Q_OBJECT
@@ -72,6 +73,4 @@ private:
QWebSocket *m_socket;
};
-QT_END_NAMESPACE
-
#endif // WEBSOCKETTRANSPORT_H