QtTaskTree::QThreadFunctionBase Class
class QtTaskTree::QThreadFunctionBaseA base class for QThreadFunction class template. More...
| Header: | #include <qthreadfunctiontask.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS TaskTree)target_link_libraries(mytarget PRIVATE Qt6::TaskTree) |
| qmake: | QT += tasktree |
| Since: | Qt 6.11 |
| Inherits: | QObject |
| Inherited By: | |
| Status: | Technical Preview |
Note: All functions in this class are reentrant.
Static Public Members
| void | syncAll() |
Reimplemented Protected Functions
| virtual bool | event(QEvent *event) override |
Detailed Description
Member Function Documentation
[override virtual protected] bool QThreadFunctionBase::event(QEvent *event)
Reimplements: QObject::event(QEvent *e).
[static] void QThreadFunctionBase::syncAll()
This method should be called on application quit to synchronize the finalization of all still possibly running functions that were started via QThreadFunction. The call has to be executed from the main thread.
See also QThreadFunction::setAutoDelayedSync().