Utils: More forward declarations / drop unused headers [D-G]

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

Change-Id: Id42cd7b3743a816f75cecb6b576c0e37cb057473
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2022-05-24 00:40:44 +02:00
parent 7dd51acdfa
commit 2853660a59
51 changed files with 107 additions and 56 deletions

View File

@@ -25,13 +25,12 @@
#pragma once
#include "fileutils.h"
#include "hostosinfo.h"
#include "namevaluedictionary.h"
#include "namevalueitem.h"
#include "optional.h"
#include "utils_global.h"
#include <QStringList>
#include "environmentfwd.h"
#include "filepath.h"
#include "namevaluedictionary.h"
#include "optional.h"
#include <functional>
@@ -51,11 +50,11 @@ public:
void appendOrSet(const QString &key, const QString &value, const QString &sep = QString());
void prependOrSet(const QString &key, const QString &value, const QString &sep = QString());
void appendOrSetPath(const Utils::FilePath &value);
void prependOrSetPath(const Utils::FilePath &value);
void appendOrSetPath(const FilePath &value);
void prependOrSetPath(const FilePath &value);
void prependOrSetLibrarySearchPath(const Utils::FilePath &value);
void prependOrSetLibrarySearchPaths(const Utils::FilePaths &values);
void prependOrSetLibrarySearchPath(const FilePath &value);
void prependOrSetLibrarySearchPaths(const FilePaths &values);
void setupEnglishOutput();
@@ -97,8 +96,8 @@ public:
void addSetValue(const QString &key, const QString &value);
void addUnsetValue(const QString &key);
void addPrependToPath(const Utils::FilePaths &values);
void addAppendToPath(const Utils::FilePaths &values);
void addPrependToPath(const FilePaths &values);
void addAppendToPath(const FilePaths &values);
void addModify(const NameValueItems &items);
void addChange(const Item &item) { m_changeItems.append(item); }