Qt 4.8
Classes | Functions
qfuture.h File Reference
#include <QtCore/qglobal.h>
#include <QtCore/qfutureinterface.h>
#include <QtCore/qstring.h>
#include <QtCore/qtconcurrentcompilertest.h>

Go to the source code of this file.

Classes

class  QFuture< T >
 The QFuture class represents the result of an asynchronous computation. More...
 
class  QFuture< T >::const_iterator
 The QFuture::const_iterator class provides an STL-style const iterator for QFuture. More...
 
class  QFutureWatcher< T >
 The QFutureWatcher class allows monitoring a QFuture using signals and slots. More...
 

Functions

template<typename T >
QFuture< void > qToVoidFuture (const QFuture< T > &future)
 

Function Documentation

◆ qToVoidFuture()

template<typename T >
QFuture<void> qToVoidFuture ( const QFuture< T > &  future)

Definition at line 268 of file qfuture.h.

269 {
270  return QFuture<void>(future.d);
271 }
The QFuture class represents the result of an asynchronous computation.
Definition: qfuture.h:64
QFutureInterface< T > d
Definition: qfuture.h:161