QtBase
v6.3.1
|
Go to the source code of this file.
Classes | |
struct | TestClass |
[7] More... | |
struct | Functor |
[13] More... | |
Functions | |
void | aFunction () |
[0] More... | |
void | aFunctionWithArguments (int arg1, double arg2, const QString &string) |
[explicit-pool-0] More... | |
QString | functionReturningAString () |
[1] More... | |
QString | someFunction (const QByteArray &input) |
[2] More... | |
future | waitForFinished () |
QtConcurrent::run & | addOne (n)).waitForFinished( |
void | aFunction (QPromise< void > &promise) |
[8] More... | |
void | aFunction (QPromise< void > &promise, int arg1, const QString &arg2) |
[9] More... | |
void | helloWorldFunction (QPromise< QString > &promise) |
[10] More... | |
void | aFunction (QPromise< int > &promise) |
[11] More... | |
future | suspend () |
future | resume () |
future | cancel () |
QObject::connect &[] | watcher (int progress){ ... ;qDebug()<< "current progress:"<< progress;} |
watcher | setFuture (QtConcurrent::run(aFunction)) |
run< double > (f) | |
void | foo (int arg) |
[14] More... | |
void | foo (int arg1, int arg2) |
Variables | |
QFuture< void > | future = QtConcurrent::run(aFunction) |
[5] More... | |
QThreadPool | pool |
int | integer = ... |
double | floatingPoint = ... |
QString | string = ... |
QString | result = future.result() |
QByteArray | bytearray = ... |
[3] More... | |
QImage | image = ... |
[4] More... | |
int | n = 42 |
TestClass | o |
QList< QString > | results = future.results() |
QFutureWatcher< int > | watcher |
Functor | f |
QtConcurrent::run& addOne | ( | n | ) |
void aFunction | ( | ) |
[0]
[explicit-pool-0]
[11]
[12]
[13]
Definition at line 175 of file src_concurrent_qtconcurrentrun.cpp.
future cancel | ( | ) |
void foo | ( | int | arg | ) |
[14]
[15]
void foo | ( | int | arg1, |
int | arg2 | ||
) |
QString functionReturningAString | ( | ) |
[1]
[2]
[10]
[11]
Definition at line 163 of file src_concurrent_qtconcurrentrun.cpp.
future resume | ( | ) |
watcher setFuture | ( | QtConcurrent::run(aFunction) | ) |
QString someFunction | ( | const QByteArray & | input | ) |
[2]
[3]
future suspend | ( | ) |
QtConcurrent::run o waitForFinished | ( | ) |
QObject::connect&[] watcher | ( | int | progress | ) |
QByteArray bytearray = ... |
Definition at line 228 of file src_concurrent_qtconcurrentrun.cpp.
double floatingPoint = ... |
Definition at line 68 of file src_concurrent_qtconcurrentrun.cpp.
QFuture<void> future = QtConcurrent::run(aFunction) |
int integer = ... |
Definition at line 67 of file src_concurrent_qtconcurrentrun.cpp.
int n = 42 |
Definition at line 120 of file src_concurrent_qtconcurrentrun.cpp.
Definition at line 133 of file src_concurrent_qtconcurrentrun.cpp.
QThreadPool pool |
Definition at line 59 of file src_concurrent_qtconcurrentrun.cpp.
QList<QByteArray> result = future.result() |
Definition at line 79 of file src_concurrent_qtconcurrentrun.cpp.
Definition at line 171 of file src_concurrent_qtconcurrentrun.cpp.
Definition at line 69 of file src_concurrent_qtconcurrentrun.cpp.
connect & watcher |
Definition at line 214 of file src_concurrent_qtconcurrentrun.cpp.