#include <qfuture.h>
Classes |
|
| class | const_iterator |
Public Types |
|
| typedef const_iterator | ConstIterator |
Public Member Functions |
|
| QFuture () | |
| QFuture (QFutureInterface< T > *p) | |
| QFuture (const QFuture &other) | |
| ~QFuture () | |
| QFuture & | operator= (const QFuture &other) |
| bool | operator== (const QFuture &other) const |
| bool | operator!= (const QFuture &other) const |
| void | cancel () |
| bool | isCanceled () const |
| void | setPaused (bool paused) |
| bool | isPaused () const |
| void | pause () |
| void | resume () |
| void | togglePaused () |
| 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 () |
| T | result () const |
| T | resultAt (int index) const |
| bool | isResultReadyAt (int resultIndex) const |
| operator T () const | |
| QList< T > | results () const |
| const_iterator | begin () const |
| const_iterator | constBegin () const |
| const_iterator | end () const |
| const_iterator | constEnd () const |
Public Attributes |
|
| QFutureInterface< T > | d |
Friends |
|
| class | const_iterator |
| class | QFutureWatcher< T > |
| typedef const_iterator ConstIterator |
| QFuture | ( | ) | [inline] |
Definition at line 67 of file qfuture.h.
: d(QFutureInterface<T>::canceledResult())
{ }
| QFuture | ( | QFutureInterface< T > * | p | ) | [inline, explicit] |
| bool operator== | ( | const QFuture< T > & | other | ) | const [inline] |
| bool operator!= | ( | const QFuture< T > & | other | ) | const [inline] |
| void cancel | ( | ) | [inline] |
| bool isCanceled | ( | ) | const [inline] |
| void setPaused | ( | bool | paused | ) | [inline] |
| bool isPaused | ( | ) | const [inline] |
| void pause | ( | ) | [inline] |
| void resume | ( | ) | [inline] |
| void togglePaused | ( | ) | [inline] |
| bool isStarted | ( | ) | const [inline] |
| bool isFinished | ( | ) | const [inline] |
| bool isRunning | ( | ) | const [inline] |
| int resultCount | ( | ) | const [inline] |
| int progressValue | ( | ) | const [inline] |
| int progressMinimum | ( | ) | const [inline] |
| int progressMaximum | ( | ) | const [inline] |
| QString progressText | ( | ) | const [inline] |
| void waitForFinished | ( | ) | [inline] |
| T result | ( | ) | const [inline] |
| T resultAt | ( | int | index | ) | const [inline] |
| bool isResultReadyAt | ( | int | resultIndex | ) | const [inline] |
| QList<T> results | ( | ) | const [inline] |
| const_iterator begin | ( | ) | const [inline] |
Definition at line 152 of file qfuture.h.
{ return const_iterator(this, 0); }
| const_iterator constBegin | ( | ) | const [inline] |
Definition at line 153 of file qfuture.h.
{ return const_iterator(this, 0); }
| const_iterator end | ( | ) | const [inline] |
Definition at line 154 of file qfuture.h.
{ return const_iterator(this, -1); }
| const_iterator constEnd | ( | ) | const [inline] |
Definition at line 155 of file qfuture.h.
{ return const_iterator(this, -1); }
friend class const_iterator
[friend] |
friend class QFutureWatcher< T >
[friend] |
QFutureInterface<T>
d
[mutable] |