![]() |
Qt 6.x
The Qt SDK
|
#include <qfuture_impl.h>
Collaboration diagram for QtPrivate::CanceledHandler< Function, ResultType >:Static Public Member Functions | |
| template<class F = Function> | |
| static void | create (F &&handler, QFuture< ResultType > *future, QFutureInterface< ResultType > &fi) |
| template<class F = Function> | |
| static void | create (F &&handler, QFuture< ResultType > *future, QFutureInterface< ResultType > &fi, QObject *context) |
| template<class F = Function> | |
| static void | run (F &&handler, QFuture< ResultType > &parentFuture, QPromise< ResultType > &&promise) |
Definition at line 785 of file qfuture_impl.h.
|
inlinestatic |
Definition at line 789 of file qfuture_impl.h.
References fi, future, QFutureInterface< T >::future(), Q_ASSERT, and QtPrivate::CanceledHandler< Function, ResultType >::run().
Here is the call graph for this function:
|
inlinestatic |
Definition at line 802 of file qfuture_impl.h.
References QObject::connect(), context, QObject::deleteLater(), QObject::destroyed(), fi, QtPrivate::QBasicFutureWatcher::finished(), future, Q_ASSERT, QtPrivate::CanceledHandler< Function, ResultType >::run(), and watcher.
Here is the call graph for this function:
|
inlinestatic |
Definition at line 822 of file qfuture_impl.h.
References QtPrivate::fulfillPromise(), and QFuture< T >::isCanceled().
Referenced by QtPrivate::CanceledHandler< Function, ResultType >::create(), and QtPrivate::CanceledHandler< Function, ResultType >::create().
Here is the call graph for this function:
Here is the caller graph for this function: