Home · Modules · Classes · Namespaces · Functions

QxtFuture Class Reference
[QxtCore module]

The QxtFuture class provides a reference to a future result of a QxtSlotJob More...

    #include <QxtFuture>

Inherits QObject.

Public Functions

Signals

Additional Inherited Members


Detailed Description

The QxtFuture class provides a reference to a future result of a QxtSlotJob


Member Function Documentation

QxtFuture::QxtFuture ( const QxtFuture & other )

QxtFuture::~QxtFuture ()

QVariant QxtFuture::delayedResult ( int msec = -1 )

asks for the result of the execution. waits until the done() signal occurred or return a QVariant() if the timout ocures earlier This uses QxtSignalWaiter so it will _not_ block your current thread.

Warning: this function is not reentrant. You have been warned

void QxtFuture::done ()   [signal]

void QxtFuture::done ( QVariant )   [signal]

QVariant QxtFuture::joinedResult ()

asks for the result of the execution. This calls QxtJob::join() means it will _block_ the current thread untill the Slot has finished execution


Copyright © 2007-2010 Qxt Foundation
Qxt 0.6.1