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

@@ -16,8 +16,8 @@
#include <utils/stringutils.h>
using namespace ProjectExplorer;
using namespace Tasking;
using namespace Utils;
using namespace Utils::Tasking;
namespace RemoteLinux {
namespace Internal {
@@ -130,7 +130,7 @@ TaskItem GenericLinuxDeviceTesterPrivate::unameTask() const
else
emit q->errorMessage(Tr::tr("uname failed.") + '\n');
};
return Tasking::Group {
return Group {
optional,
ProcessTask(setup, done, error)
};
@@ -219,7 +219,7 @@ TaskItem GenericLinuxDeviceTesterPrivate::transferTask(FileTransferMethod method
TaskItem GenericLinuxDeviceTesterPrivate::transferTasks() const
{
TreeStorage<TransferStorage> storage;
return Tasking::Group {
return Group {
continueOnDone,
Storage(storage),
transferTask(FileTransferMethod::GenericCopy, storage),
@@ -260,7 +260,7 @@ TaskItem GenericLinuxDeviceTesterPrivate::commandTasks() const
}));
for (const QString &commandName : commandsToTest())
tasks.append(commandTask(commandName));
return Tasking::Group {tasks};
return Group {tasks};
}
} // namespace Internal