java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QFutureSynchronizer<T>
- All Implemented Interfaces:
QtObjectInterface
public class QFutureSynchronizer<T> extends QtObject
Convenience class that simplifies QFuture synchronization
Java wrapper for Qt class QFutureSynchronizer
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QFutureSynchronizer()
QFutureSynchronizer(QFuture<T> future)
protected
QFutureSynchronizer(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description void
addFuture(QFuture<T> future)
boolean
cancelOnWait()
void
clearFutures()
List<QFuture<T>>
futures()
void
setCancelOnWait(boolean enabled)
void
setFuture(QFuture<T> future)
void
waitForFinished()
-
Constructor Details
-
QFutureSynchronizer
public QFutureSynchronizer() -
QFutureSynchronizer
-
QFutureSynchronizer
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details