Conform to Creator's include style

Get rid of <QtModule/qclass.h> style and use <QClass> directly,
like in all other places in Creator. Remove some unneeded
declarations.

Change-Id: I1b5630850c570e5d86df01a341f7352bc1971e48
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2021-08-19 16:39:21 +02:00
parent f8ff5d0652
commit a09bedf1cb
8 changed files with 22 additions and 31 deletions

View File

@@ -28,11 +28,11 @@
#include "launcherpackets.h"
#include "launchersocket.h"
#include <QtCore/qcoreapplication.h>
#include <QtCore/qdebug.h>
#include <QtCore/qdir.h>
#include <QtCore/qprocess.h>
#include <QtNetwork/qlocalserver.h>
#include <QCoreApplication>
#include <QDebug>
#include <QDir>
#include <QLocalServer>
#include <QProcess>
#ifdef Q_OS_UNIX
#include <unistd.h>

View File

@@ -30,13 +30,8 @@
#include <QObject>
#include <QThread>
QT_BEGIN_NAMESPACE
class QLocalServer;
QT_END_NAMESPACE
namespace Utils {
namespace Internal {
class LauncherProcess;
class LauncherSocket;
class LauncherInterfacePrivate;
}

View File

@@ -25,8 +25,8 @@
#include "launcherpackets.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qcoreapplication.h>
#include <QByteArray>
#include <QCoreApplication>
namespace Utils {
namespace Internal {

View File

@@ -27,9 +27,9 @@
#include "processutils.h"
#include <QtCore/qdatastream.h>
#include <QtCore/qprocess.h>
#include <QtCore/qstringlist.h>
#include <QDataStream>
#include <QProcess>
#include <QStringList>
QT_BEGIN_NAMESPACE
class QByteArray;

View File

@@ -28,9 +28,10 @@
#include "qtcassert.h"
#include <QtCore/qcoreapplication.h>
#include <QtCore/qelapsedtimer.h>
#include <QtNetwork/qlocalsocket.h>
#include <QCoreApplication>
#include <QElapsedTimer>
#include <QLocalSocket>
#include <QMutexLocker>
namespace Utils {
namespace Internal {

View File

@@ -28,11 +28,9 @@
#include "launcherpackets.h"
#include "processutils.h"
#include <QtCore/qobject.h>
#include <QHash>
#include <QMutex>
#include <QMutexLocker>
#include <QObject>
#include <QProcess>
#include <QWaitCondition>
@@ -44,8 +42,6 @@ class QLocalSocket;
QT_END_NAMESPACE
namespace Utils {
class LauncherInterface;
namespace Internal {
class LauncherInterfacePrivate;
@@ -198,7 +194,6 @@ private:
bool m_unixTerminalDisabled = false;
friend class LauncherSocket;
friend class CallerHandle;
};
class LauncherSocket : public QObject

View File

@@ -28,10 +28,10 @@
#include "launcherlogging.h"
#include "processutils.h"
#include <QtCore/qcoreapplication.h>
#include <QtCore/qprocess.h>
#include <QtCore/qtimer.h>
#include <QtNetwork/qlocalsocket.h>
#include <QCoreApplication>
#include <QLocalSocket>
#include <QProcess>
#include <QTimer>
namespace Utils {
namespace Internal {

View File

@@ -27,9 +27,9 @@
#include <launcherpackets.h>
#include <QtCore/qbytearray.h>
#include <QtCore/qhash.h>
#include <QtCore/qobject.h>
#include <QByteArray>
#include <QHash>
#include <QObject>
QT_BEGIN_NAMESPACE
class QLocalSocket;