Tasking::Async: Rename Async into AsyncTask

Rename Utils::AsyncTask into Utils::Async.
Rename AsyncTaskBase into AsyncTask.

Task-number: QTCREATORBUG-29102
Change-Id: I3aa24d84138c19922d4f61b1c9cf15bc8989f60e
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2023-05-03 14:33:12 +02:00
parent 1d69f943aa
commit 187a7640de
26 changed files with 123 additions and 124 deletions

View File

@@ -443,7 +443,7 @@ LocatorMatcherTask currentDocumentMatcher()
*resultStorage = request.currentDocumentSymbolsData();
};
const auto onFilterSetup = [=](AsyncTask<void> &async) {
const auto onFilterSetup = [=](Async<void> &async) {
async.setFutureSynchronizer(ExtensionSystem::PluginManager::futureSynchronizer());
async.setConcurrentCallData(filterCurrentResults, *storage, *resultStorage,
TextDocument::currentTextDocument()->plainText());
@@ -452,7 +452,7 @@ LocatorMatcherTask currentDocumentMatcher()
const Group root {
Storage(resultStorage),
CurrentDocumentSymbolsRequest(onQuerySetup, onQueryDone),
Async<void>(onFilterSetup)
AsyncTask<void>(onFilterSetup)
};
return {root, storage};
}