![]() |
QtConcurrent
Trial to use Doxygen to generate UML class diagram of QtConcurrent module.
|
Concurrent Filter and Filter-Reduce
The QtConcurrent::filter(), QtConcurrent::filtered() and QtConcurrent::filteredReduced() functions filter items in a sequence such as a QList or a QVector in parallel. QtConcurrent::filter() modifies a sequence in-place, QtConcurrent::filtered() returns a new sequence containing the filtered content, and QtConcurrent::filteredReduced() returns a single result.
These functions are a part of the {Qt Concurrent} framework.
Each of the above functions have a blocking variant that returns the final result instead of a QFuture. You use them in the same way as the asynchronous variants.
Note that the result types above are not QFuture objects, but real result types (in this case, QStringList and QSet<QString>).