|void||futureProgress (qreal progress)|
|FutureWatcher (QObject *parent=nullptr)|
|KAsync::Future< T >||future () const|
|void||setFuture (const KAsync::Future< T > &future)|
class KAsync::FutureWatcher< T >
FutureWatcher is returned by Job upon execution. User can then connect to its futureReady() and futureProgress() signals to be notified about progress of the asynchronous job. When futureReady() signal is emitted, the result of the job is available in Future::value().
Constructor & Destructor Documentation
Member Function Documentation
The signal is emitted when progress of the execution changes.
This has to be explicitly supported by the job being executed, otherwise the signal is not emitted.
- See also
|void KAsync::FutureWatcher< T >::setFuture||(||const KAsync::Future< T > &||future||)|
The documentation for this class was generated from the following file: