aboutsummaryrefslogtreecommitdiffstats
path: root/examples/webchannel/chatserver-cpp
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2017-08-28 12:57:24 +0200
committerKai Koehne <kai.koehne@qt.io>2017-09-06 11:35:13 +0000
commit7f992db892686fe4c260b0362d13b957af908692 (patch)
tree96d9526d04ccc42726a32096c27292ba95a61b30 /examples/webchannel/chatserver-cpp
parente7f150abaa8e81d3e404e9631a49341a7f7623d1 (diff)
Examples: Use canonical include style and sort #include
See also https://wiki.qt.io/Writing_Qt_Examples Change-Id: Ife2300b9f1a074e9dc418d53f8c47138129b0cc7 Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
Diffstat (limited to 'examples/webchannel/chatserver-cpp')
-rw-r--r--examples/webchannel/chatserver-cpp/chatserver.cpp4
-rw-r--r--examples/webchannel/chatserver-cpp/main.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/webchannel/chatserver-cpp/chatserver.cpp b/examples/webchannel/chatserver-cpp/chatserver.cpp
index beee713..1025c80 100644
--- a/examples/webchannel/chatserver-cpp/chatserver.cpp
+++ b/examples/webchannel/chatserver-cpp/chatserver.cpp
@@ -50,9 +50,9 @@
#include "chatserver.h"
-#include <QtCore/QDebug>
-#include <QTimer>
+#include <QDebug>
#include <QTime>
+#include <QTimer>
ChatServer::ChatServer(QObject *parent)
: QObject(parent)
diff --git a/examples/webchannel/chatserver-cpp/main.cpp b/examples/webchannel/chatserver-cpp/main.cpp
index ea27e87..9e025ac 100644
--- a/examples/webchannel/chatserver-cpp/main.cpp
+++ b/examples/webchannel/chatserver-cpp/main.cpp
@@ -48,14 +48,14 @@
**
****************************************************************************/
-#include "qwebchannel.h"
#include "chatserver.h"
#include "../shared/websocketclientwrapper.h"
#include "../shared/websockettransport.h"
-#include <QtWebSockets/QWebSocketServer>
#include <QCoreApplication>
+#include <QWebChannel>
+#include <QWebSocketServer>
int main(int argc, char** argv)
{