Definition at line 118 of file qfuturewatcher.h.
#include <qfuturewatcher.h>

Public Member Functions |
|
| QFutureWatcher (QObject *_parent=0) | |
| ~QFutureWatcher () | |
| void | setFuture (const QFuture< T > &future) |
| QFuture< T > | future () const |
| T | result () const |
| T | resultAt (int index) const |
| QFutureWatcher | ( | QObject * | _parent = 0 |
) | [inline] |
Definition at line 121 of file qfuturewatcher.h.
: QFutureWatcherBase(_parent)
{ }
| ~QFutureWatcher | ( | ) | [inline] |
Definition at line 124 of file qfuturewatcher.h.
{ disconnectOutputInterface(); }
| Q_INLINE_TEMPLATE void setFuture | ( | const QFuture< T > & | future | ) |
Definition at line 177 of file qfuturewatcher.h.
{
if (_future == m_future)
return;
disconnectOutputInterface(true);
m_future = _future;
connectOutputInterface();
}
| QFuture<T> future | ( | ) | const [inline] |
| T result | ( | ) | const [inline] |
Definition at line 131 of file qfuturewatcher.h.
{ return m_future.result(); }
| T resultAt | ( | int | index | ) | const [inline] |
Definition at line 132 of file qfuturewatcher.h.
{ return m_future.resultAt(index); }