|
| QFuture () |
template<typename U = T, typename = QtPrivate::EnableForNonVoid<U>> |
| QFuture (QFutureInterface< T > *p) |
template<typename U = T, typename = QtPrivate::EnableForVoid<U>> |
| QFuture (QFutureInterfaceBase *p) |
template<typename U, typename V = T, typename = QtPrivate::EnableForVoid<V>> |
| QFuture (const QFuture< U > &other) |
template<typename U, typename V = T, typename = QtPrivate::EnableForVoid<V>> |
QFuture< void > & | operator= (const QFuture< U > &other) |
void | cancel () |
bool | isCanceled () const |
void | cancelChain () |
bool | isSuspending () const |
bool | isSuspended () const |
void | setSuspended (bool suspend) |
void | suspend () |
void | resume () |
void | toggleSuspended () |
bool | isStarted () const |
bool | isFinished () const |
bool | isRunning () const |
int | resultCount () const |
int | progressValue () const |
int | progressMinimum () const |
int | progressMaximum () const |
QString | progressText () const |
void | waitForFinished () |
template<typename U = T, typename = QtPrivate::EnableForNonVoid<U>> |
T | result () const |
template<typename U = T, typename = QtPrivate::EnableForNonVoid<U>> |
T | resultAt (int index) const |
template<typename U = T, typename = QtPrivate::EnableForNonVoid<U>> |
bool | isResultReadyAt (int resultIndex) const |
template<typename U = T, typename = QtPrivate::EnableForNonVoid<U>> |
QList< T > | results () const |
template<typename U = T, typename = QtPrivate::EnableForNonVoid<U>> |
T | takeResult () |
bool | isValid () const |
template<class Function> |
QFuture< ResultType< Function > > | then (Function &&function) |
template<class Function> |
QFuture< ResultType< Function > > | then (QtFuture::Launch policy, Function &&function) |
template<class Function> |
QFuture< ResultType< Function > > | then (QThreadPool *pool, Function &&function) |
template<class Function> |
QFuture< ResultType< Function > > | then (QObject *context, Function &&function) |
template<class Function, typename = std::enable_if_t<!QtPrivate::ArgResolver<Function>::HasExtraArgs>> |
QFuture< T > | onFailed (Function &&handler) |
template<class Function, typename = std::enable_if_t<!QtPrivate::ArgResolver<Function>::HasExtraArgs>> |
QFuture< T > | onFailed (QObject *context, Function &&handler) |
template<class Function, typename = std::enable_if_t<std::is_invocable_r_v<T, Function>>> |
QFuture< T > | onCanceled (Function &&handler) |
template<class Function, typename = std::enable_if_t<std::is_invocable_r_v<T, Function>>> |
QFuture< T > | onCanceled (QObject *context, Function &&handler) |
template<class U = T, typename = std::enable_if_t<QtPrivate::isQFutureV<U>>> |
auto | unwrap () |
template<class U = T, typename = QtPrivate::EnableForNonVoid<U>> |
const_iterator | begin () const |
template<class U = T, typename = QtPrivate::EnableForNonVoid<U>> |
const_iterator | constBegin () const |
template<class U = T, typename = QtPrivate::EnableForNonVoid<U>> |
const_iterator | end () const |
template<class U = T, typename = QtPrivate::EnableForNonVoid<U>> |
const_iterator | constEnd () const |
template<class Function> |
QFuture< typename QFuture< T >::template ResultType< Function > > | then (Function &&function) |
template<class Function> |
QFuture< typename QFuture< T >::template ResultType< Function > > | then (QtFuture::Launch policy, Function &&function) |
template<class Function> |
QFuture< typename QFuture< T >::template ResultType< Function > > | then (QThreadPool *pool, Function &&function) |
template<class Function> |
QFuture< typename QFuture< T >::template ResultType< Function > > | then (QObject *context, Function &&function) |
template<typename T>
class QFuture< T >
Definition at line 26 of file qfuture.h.