summaryrefslogtreecommitdiffstats
path: root/examples/scxml/ftpclient
diff options
context:
space:
mode:
Diffstat (limited to 'examples/scxml/ftpclient')
-rw-r--r--examples/scxml/ftpclient/ftpcontrolchannel.h2
-rw-r--r--examples/scxml/ftpclient/ftpdatachannel.h2
-rw-r--r--examples/scxml/ftpclient/main.cpp5
3 files changed, 5 insertions, 4 deletions
diff --git a/examples/scxml/ftpclient/ftpcontrolchannel.h b/examples/scxml/ftpclient/ftpcontrolchannel.h
index 78a2486..092f2a9 100644
--- a/examples/scxml/ftpclient/ftpcontrolchannel.h
+++ b/examples/scxml/ftpclient/ftpcontrolchannel.h
@@ -51,9 +51,9 @@
#ifndef FTPCONTROLCHANNEL_H
#define FTPCONTROLCHANNEL_H
+#include <QHostAddress>
#include <QObject>
#include <QTcpSocket>
-#include <QHostAddress>
class FtpControlChannel : public QObject
{
diff --git a/examples/scxml/ftpclient/ftpdatachannel.h b/examples/scxml/ftpclient/ftpdatachannel.h
index 097e7e7..fb1b6ef 100644
--- a/examples/scxml/ftpclient/ftpdatachannel.h
+++ b/examples/scxml/ftpclient/ftpdatachannel.h
@@ -52,9 +52,9 @@
#define FTPDATACHANNEL_H
#include <QObject>
+#include <QScopedPointer>
#include <QTcpServer>
#include <QTcpSocket>
-#include <QScopedPointer>
class FtpDataChannel : public QObject
{
diff --git a/examples/scxml/ftpclient/main.cpp b/examples/scxml/ftpclient/main.cpp
index 8dd0c16..167bb6f 100644
--- a/examples/scxml/ftpclient/main.cpp
+++ b/examples/scxml/ftpclient/main.cpp
@@ -48,11 +48,12 @@
**
****************************************************************************/
-
-#include "simpleftp.h"
#include "ftpcontrolchannel.h"
#include "ftpdatachannel.h"
+#include "simpleftp.h"
+
#include <QCoreApplication>
+
#include <iostream>
struct Command {