RunExtensions: Move onResultReady and onFinished into asynctask.h

Change-Id: I96dbf5b0253251224ae678172cd5fca12b34326a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
Jarek Kobus
2023-04-06 17:59:27 +02:00
parent 2abe6bbe2c
commit 7ab0fd56ae
21 changed files with 78 additions and 92 deletions

View File

@@ -14,6 +14,7 @@
#include "../modemanager.h"
#include <utils/algorithm.h>
#include <utils/asynctask.h>
#include <utils/appmainwindow.h>
#include <utils/fancylineedit.h>
#include <utils/fsengine/fileiconprovider.h>

View File

@@ -18,7 +18,6 @@
#include <utils/pathchooser.h>
#include <utils/qtcassert.h>
#include <utils/qtcprocess.h>
#include <utils/runextensions.h>
#include <utils/temporarydirectory.h>
#include <utils/wizard.h>
#include <utils/wizardpage.h>

View File

@@ -109,7 +109,7 @@ namespace Core {
start a task concurrently in a different thread.
QtConcurrent has several different functions to run e.g.
a class function in a different thread. Qt Creator itself
adds a few more in \c{src/libs/qtconcurrent/runextensions.h}.
adds a few more in \c{src/libs/utils/asynctask.h}.
The QtConcurrent functions to run a concurrent task return a
\c QFuture object. This is what you want to give the
ProgressManager in the addTask() function.