Utils: More forward declarations / drop unused headers [A-C]

Round 1 - focus on headers.
For classes with initial in range [A-C].
Try to keep the same separators between different kind of headers.

Change-Id: Ieab893d644af035c42590401c90728719394221f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Jarek Kobus
2022-05-23 22:27:01 +02:00
parent 7954c4cc69
commit ef2ddeb00b
10 changed files with 15 additions and 5 deletions

View File

@@ -26,6 +26,7 @@
#pragma once
#include "utils_global.h"
#include <QMainWindow>
namespace Utils {

View File

@@ -28,12 +28,12 @@
#include "utils_global.h"
#include "commandline.h"
#include "fileutils.h"
#include <QObject>
namespace Utils {
class FilePath;
class QtcProcess;
class QTCREATOR_UTILS_EXPORT Archive : public QObject

View File

@@ -25,7 +25,7 @@
#pragma once
#include "fileutils.h"
#include "filepath.h"
#include "id.h"
#include "infolabel.h"
#include "macroexpander.h"

View File

@@ -24,6 +24,7 @@
****************************************************************************/
#include "buildablehelperlibrary.h"
#include "environment.h"
#include "hostosinfo.h"
#include "qtcprocess.h"

View File

@@ -25,11 +25,16 @@
#pragma once
#include "environment.h"
#include "utils_global.h"
#include "filepath.h"
#include <QCoreApplication>
namespace Utils {
class Environment;
class QTCREATOR_UTILS_EXPORT BuildableHelperLibrary
{
Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::DebuggingHelperLibrary)

View File

@@ -27,7 +27,7 @@
#include "utils_global.h"
#include "fileutils.h"
#include "filepath.h"
#include "hostosinfo.h"
#include <QStringList>

View File

@@ -26,6 +26,7 @@
#pragma once
#include "utils_global.h"
#include <QLineEdit>
namespace Utils {

View File

@@ -25,11 +25,11 @@
#include "mcusupportversiondetection.h"
#include <utils/filepath.h>
#include <utils/qtcprocess.h>
#include <QDir>
#include <QRegularExpression>
#include <QXmlStreamReader>
namespace McuSupport {
namespace Internal {

View File

@@ -29,6 +29,7 @@
#include <utils/filepath.h>
#include <QCoreApplication>
#include <QTextDocument>
namespace TextEditor { class TextDocument; }

View File

@@ -27,6 +27,7 @@
#include <projectexplorer/devicesupport/idevice.h>
#include <projectexplorer/devicesupport/sshparameters.h>
#include <utils/fileutils.h>
#include <utils/qtcprocess.h>
#include <utils/theme/theme.h>