Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Go to the source code of this file.
Classes | |
struct | TestClass |
[7] More... | |
struct | Functor |
[13] More... | |
Functions | |
void | aFunction () |
[0] | |
void | aFunctionWithArguments (int arg1, double arg2, const QString &string) |
[explicit-pool-0] | |
QString | functionReturningAString () |
[1] | |
QString | someFunction (const QByteArray &input) |
[2] | |
future | waitForFinished () |
static void | addOne (int &n) |
[6] | |
QtConcurrent::run & | addOne (n)).waitForFinished( |
void | aFunction (QPromise< void > &promise) |
[8] | |
void | aFunction (QPromise< void > &promise, int arg1, const QString &arg2) |
[9] | |
void | helloWorldFunction (QPromise< QString > &promise) |
[10] | |
void | aFunction (QPromise< int > &promise) |
[11] | |
future | suspend () |
future | resume () |
future | cancel () |
[6] | |
QObject::connect &[] | watcher (int progress){ ... ;qDebug()<< "current progress:"<< progress;} |
watcher | setFuture (QtConcurrent::run(aFunction)) |
run< double > (f) | |
void | foo (int arg) |
[14] | |
void | foo (int arg1, int arg2) |
Variables | |
QFuture< void > | future = QtConcurrent::run(aFunction) |
[5] | |
QThreadPool | pool |
[8] | |
int | integer = ... |
double | floatingPoint = ... |
QString | string = ... |
QString | result = future.result() |
QByteArray | bytearray = ... |
[3] | |
QImage | image = ... |
[4] | |
int | n = 42 |
TestClass | o |
QList< QString > | results = future.results() |
QFutureWatcher< int > | watcher |
Functor | f |
|
static |
QtConcurrent::run & addOne | ( | n | ) |
|
extern |
[0]
[explicit-pool-0]
[explicit-pool-0]
[1]
releaser cancel | ( | ) |
[6]
[7]
void foo | ( | int | arg | ) |
[14]
[15]
void foo | ( | int | arg1, |
int | arg2 ) |
|
extern |
[1]
[2]
future resume | ( | ) |
run< double > | ( | f | ) |
watcher setFuture | ( | QtConcurrent::run(aFunction) | ) |
|
extern |
[2]
[3]
future suspend | ( | ) |
static void waitForFinished | ( | ) |
Definition at line 479 of file main.cpp.
References g_testInfo, and isRunning().
QObject::connect &[] watcher | ( | int | progress | ) |
QByteArray bytearray = ... |
[3]
[4]
Definition at line 39 of file src_concurrent_qtconcurrentrun.cpp.
Referenced by testing.tools.encode_pdf_filter::_CopyBytes(), and testing.tools.strip_jp2_comments::rewrite_jp2c().
Definition at line 181 of file src_concurrent_qtconcurrentrun.cpp.
double floatingPoint = ... |
Definition at line 21 of file src_concurrent_qtconcurrentrun.cpp.
QFuture<void> future = QtConcurrent::run(aFunction) |
int integer = ... |
Definition at line 20 of file src_concurrent_qtconcurrentrun.cpp.
int n = 42 |
Definition at line 73 of file src_concurrent_qtconcurrentrun.cpp.
Definition at line 86 of file src_concurrent_qtconcurrentrun.cpp.
QThreadPool pool |
[8]
[9]
Definition at line 12 of file src_concurrent_qtconcurrentrun.cpp.
Referenced by QCocoaMenuItem::setMenu().
QList<QByteArray> result = future.result() |
Definition at line 32 of file src_concurrent_qtconcurrentrun.cpp.
Definition at line 124 of file src_concurrent_qtconcurrentrun.cpp.
Definition at line 22 of file src_concurrent_qtconcurrentrun.cpp.
connect & watcher |
Definition at line 167 of file src_concurrent_qtconcurrentrun.cpp.