summaryrefslogtreecommitdiffstats
path: root/src/gui/embedded/qwsutils_qws.h
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@nokia.com>2009-08-26 08:25:19 (GMT)
committerPaul Olav Tvete <paul.tvete@nokia.com>2009-08-26 08:47:37 (GMT)
commit1e87709059dcf10e41c0781d4b97ce143543e4a4 (patch)
tree140d51e62112a67ff0b285b33db6a2d0f994bac9 /src/gui/embedded/qwsutils_qws.h
parente692a4044e161c46e6b145d2f3874a0b7b929b4d (diff)
downloadQt-1e87709059dcf10e41c0781d4b97ce143543e4a4.zip
Qt-1e87709059dcf10e41c0781d4b97ce143543e4a4.tar.gz
Qt-1e87709059dcf10e41c0781d4b97ce143543e4a4.tar.bz2
Make QWS compile with namespaces
Reviewed-by: hjk
Diffstat (limited to 'src/gui/embedded/qwsutils_qws.h')
-rw-r--r--src/gui/embedded/qwsutils_qws.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/embedded/qwsutils_qws.h b/src/gui/embedded/qwsutils_qws.h
index 23e0104..fe959ef 100644
--- a/src/gui/embedded/qwsutils_qws.h
+++ b/src/gui/embedded/qwsutils_qws.h
@@ -44,6 +44,12 @@
#include <QtCore/QIODevice>
+QT_BEGIN_HEADER
+
+QT_BEGIN_NAMESPACE
+
+QT_MODULE(Gui)
+
#ifndef QT_NO_SXE
#define QWS_SOCK_BASE QUnixSocket
#define QWS_SOCK_SERVER_BASE QUnixSocketServer
@@ -58,12 +64,6 @@ class QTcpServer;
class QWSSocket;
class QWSServerSocket;
-QT_BEGIN_HEADER
-
-QT_BEGIN_NAMESPACE
-
-QT_MODULE(Gui)
-
/********************************************************************
*
* Convenient socket functions