forked from qt-creator/qt-creator
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:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user