diff options
author | Kai Koehne <kai.koehne@qt.io> | 2017-08-28 12:57:24 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2017-09-06 11:35:13 +0000 |
commit | 7f992db892686fe4c260b0362d13b957af908692 (patch) | |
tree | 96d9526d04ccc42726a32096c27292ba95a61b30 /examples/webchannel/standalone | |
parent | e7f150abaa8e81d3e404e9631a49341a7f7623d1 (diff) | |
download | qtwebchannel-7f992db892686fe4c260b0362d13b957af908692.tar.gz |
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/standalone')
-rw-r--r-- | examples/webchannel/standalone/main.cpp | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/examples/webchannel/standalone/main.cpp b/examples/webchannel/standalone/main.cpp index f468652..736ee52 100644 --- a/examples/webchannel/standalone/main.cpp +++ b/examples/webchannel/standalone/main.cpp @@ -48,21 +48,18 @@ ** ****************************************************************************/ -#include "qwebchannel.h" +#include "ui_dialog.h" +#include "../shared/websocketclientwrapper.h" +#include "../shared/websockettransport.h" #include <QApplication> -#include <QDialog> -#include <QVariantMap> #include <QDesktopServices> -#include <QUrl> +#include <QDialog> #include <QDir> #include <QFileInfo> -#include <QtWebSockets/QWebSocketServer> - -#include "../shared/websocketclientwrapper.h" -#include "../shared/websockettransport.h" - -#include "ui_dialog.h" +#include <QUrl> +#include <QWebChannel> +#include <QWebSocketServer> /*! An instance of this class gets published over the WebChannel and is then accessible to HTML clients. |