#include <QtCore/QFutureInterface>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QFutureInterface


Public Types Index

Only has inherited public types

enum State

NoState 0x00, Running 0x01, Started 0x02, Finished 0x04, Canceled 0x08, Paused 0x10, Throttled 0x20

Public Functions Index

QFutureInterface (State initialState=NoState)
QFutureInterface (const QFutureInterface &other)
~QFutureInterface ()
QFuture< T >future ()
QFutureInterface &operator= (const QFutureInterface &other)
voidreportFinished (const T *result=0)
voidreportResult (const T *result, int index=-1)
voidreportResult (const T &result, int index=-1)
voidreportResults (const QVector< T > &results, int beginIndex=-1, int count=-1)
const T *resultPointer (int index) const
const T &resultReference (int index) const
QList< T >results ()
voidcancel ()Inherited
QtConcurrent::internal::ExceptionStore &exceptionStore ()Inherited
intexpectedResultCount ()Inherited
boolisCanceled () const Inherited
boolisFinished () const Inherited
boolisPaused () const Inherited
boolisProgressUpdateNeeded () const Inherited
boolisResultReadyAt (int index) const Inherited
boolisRunning () const Inherited
boolisStarted () const Inherited
boolisThrottled () const Inherited
QMutex *mutex () const Inherited
booloperator!= (const QFutureInterfaceBase &other) const Inherited
QFutureInterfaceBase &operator= (const QFutureInterfaceBase &other)Inherited
booloperator== (const QFutureInterfaceBase &other) const Inherited
intprogressMaximum () const Inherited
intprogressMinimum () const Inherited
QStringprogressText () const Inherited
intprogressValue () const Inherited
QFutureInterfaceBase (State initialState=NoState)Inherited
QFutureInterfaceBase (const QFutureInterfaceBase &other)Inherited
boolqueryState (State state) const Inherited
voidreportCanceled ()Inherited
voidreportException (const QtConcurrent::Exception &e)Inherited
voidreportFinished ()Inherited
voidreportResultsReady (int beginIndex, int endIndex)Inherited
voidreportStarted ()Inherited
intresultCount () const Inherited
QtConcurrent::ResultStoreBase &resultStoreBase ()Inherited
const QtConcurrent::ResultStoreBase &resultStoreBase () const Inherited
voidsetExpectedResultCount (int resultCount)Inherited
voidsetFilterMode (bool enable)Inherited
voidsetPaused (bool paused)Inherited
voidsetProgressRange (int minimum, int maximum)Inherited
voidsetProgressValue (int progressValue)Inherited
voidsetProgressValueAndText (int progressValue, const QString &progressText)Inherited
voidsetRunnable (QRunnable *runnable)Inherited
voidsetThrottled (bool enable)Inherited
voidtogglePaused ()Inherited
voidwaitForFinished ()Inherited
boolwaitForNextResult ()Inherited
voidwaitForResult (int resultIndex)Inherited
voidwaitForResume ()Inherited

Static Public Functions Index

Protected Functions Index

Only has inherited protected functions

boolreferenceCountIsOne () const Inherited

Public Types

(Only has inherited public types)

State Inherited

NoState 0x00
Running 0x01
Started 0x02
Finished 0x04
Canceled 0x08
Paused 0x10
Throttled 0x20

Public Functions

QFutureInterface (
  • StateinitialState)

QFutureInterface (

~QFutureInterface ()


QFuture< T > future ()

QFutureInterface & operator= (

void reportFinished (
  • const T *result)

void reportResult (
  • const T *result,
  • intindex )

void reportResult (
  • const T &result,
  • intindex )

void reportResults (
  • const QVector< T > &results,
  • intbeginIndex,
  • intcount )

const T * resultPointer (
  • intindex)

const T & resultReference (
  • intindex)

QList< T > results ()

void cancel ()Inherited

QtConcurrent::internal::ExceptionStore & exceptionStore ()Inherited

int expectedResultCount ()Inherited

bool isCanceled ()Inherited

bool isFinished ()Inherited

bool isPaused ()Inherited

bool isProgressUpdateNeeded ()Inherited

bool isResultReadyAt (
  • intindex)

bool isRunning ()Inherited

bool isStarted ()Inherited

bool isThrottled ()Inherited

QMutex * mutex ()Inherited

bool operator!= (Inherited

QFutureInterfaceBase & operator= (Inherited

bool operator== (Inherited

int progressMaximum ()Inherited

int progressMinimum ()Inherited

QString progressText ()Inherited

int progressValue ()Inherited

QFutureInterfaceBase (
  • StateinitialState)

QFutureInterfaceBase (Inherited

bool queryState (
  • Statestate)

void reportCanceled ()Inherited

void reportException (Inherited

void reportFinished ()Inherited

void reportResultsReady (
  • intbeginIndex,
  • intendIndex )

void reportStarted ()Inherited

int resultCount ()Inherited

QtConcurrent::ResultStoreBase & resultStoreBase ()Inherited

const QtConcurrent::ResultStoreBase & resultStoreBase ()Inherited

void setExpectedResultCount (
  • intresultCount)

void setFilterMode (
  • boolenable)

void setPaused (
  • boolpaused)

void setProgressRange (
  • intminimum,
  • intmaximum )

void setProgressValue (
  • intprogressValue)

void setProgressValueAndText (
  • intprogressValue,
  • const QString &progressText )

void setRunnable (Inherited

void setThrottled (
  • boolenable)

void togglePaused ()Inherited

void waitForFinished ()Inherited

bool waitForNextResult ()Inherited

void waitForResult (
  • intresultIndex)

void waitForResume ()Inherited

Static Public Functions

QFutureInterface canceledResult ()

Protected Functions

(Only has inherited protected functions)

bool referenceCountIsOne ()Inherited

Last modified: 2015-03-26

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus