TaskTree: Prepare for de-utils-ization - part 2

Move TaskTree into Tasking namespace.
Move Tasking namespace out of Utils namespace.

Change-Id: Ib4c1d7f54f1808517e54768dfa27209c33517b61
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2023-05-10 19:54:52 +02:00
parent 5a73d07c72
commit 97a66067bb
63 changed files with 142 additions and 160 deletions

View File

@@ -12,6 +12,7 @@
#include <utils/qtcassert.h>
using namespace Core;
using namespace Tasking;
using namespace Utils;
namespace DiffEditor {

View File

@@ -61,7 +61,7 @@ signals:
protected:
// Core functions:
void setReloadRecipe(const Utils::Tasking::Group &recipe) { m_reloadRecipe = recipe; }
void setReloadRecipe(const Tasking::Group &recipe) { m_reloadRecipe = recipe; }
void setDiffFiles(const QList<FileData> &diffFileList);
// Optional:
void setDisplayName(const QString &name) { m_displayName = name; }
@@ -74,8 +74,8 @@ private:
Internal::DiffEditorDocument *const m_document;
QString m_displayName;
std::unique_ptr<Utils::TaskTree> m_taskTree;
Utils::Tasking::Group m_reloadRecipe;
std::unique_ptr<Tasking::TaskTree> m_taskTree;
Tasking::Group m_reloadRecipe;
};
Q_DECLARE_OPERATORS_FOR_FLAGS(DiffEditorController::PatchOptions)