Remove #include <utils/fileutils.h> from most header files

It has some platform specific warts, filepath.h is somewhat
cheaper and less ugly overall.

Partially clean up surroundings

Change-Id: Ida1fd470ec020f69c446109427f92a08e879789f
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
hjk
2024-07-24 15:49:50 +02:00
parent 09a999302c
commit f49523029a
153 changed files with 254 additions and 224 deletions

View File

@@ -3,7 +3,7 @@
#pragma once
#include <utils/fileutils.h>
#include <utils/filepath.h>
#include <QCheckBox>
#include <QComboBox>

View File

@@ -0,0 +1,19 @@
// Copyright (C) 2020 Alexis Jeandet.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include "common.h"
#include "mesonpluginconstants.h"
#include <QFile>
#include <QJsonArray>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonValue>
namespace MesonProjectManager {
namespace Internal {
} // namespace Internal
} // namespace MesonProjectManager

View File

@@ -0,0 +1,22 @@
// Copyright (C) 2020 Alexis Jeandet.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include "mesoninfoparser.h"
#include "mesonprojectnodes.h"
#include <utils/filepath.h>
namespace MesonProjectManager::Internal {
class ProjectTree
{
public:
ProjectTree();
static std::unique_ptr<MesonProjectNode> buildTree(const Utils::FilePath &srcDir,
const TargetsList &targets,
const Utils::FilePaths &bsFiles);
};
} // MesonProjectManager::Internal

View File

@@ -4,7 +4,7 @@
#pragma once
#include <utils/algorithm.h>
#include <utils/fileutils.h>
#include <utils/filepath.h>
#include <QDir>
#include <QVariant>