java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QAbstractFuture
io.qt.core.QVoidFuture
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public final class QVoidFuture extends QAbstractFuture implements Cloneable
Java wrapper for Qt class QVoidFuture
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QVoidFuture()
QVoidFuture(QVoidFutureInterface p)
protected
QVoidFuture(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description void
cancel()
QVoidFuture
clone()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
boolean
isCanceled()
boolean
isFinished()
boolean
isPaused()
Deprecated.Use isSuspending() or isSuspended() instead.boolean
isRunning()
boolean
isStarted()
boolean
isSuspended()
boolean
isSuspending()
boolean
isValid()
QVoidFuture
onCanceled(Runnable function)
QVoidFuture
onFailed(Consumer<Throwable> function)
void
pause()
Deprecated.Use suspend() instead.int
progressMaximum()
int
progressMinimum()
String
progressText()
int
progressValue()
int
resultCount()
void
resume()
void
setPaused(boolean paused)
Deprecated.Use setSuspended() instead.void
setSuspended(boolean suspend)
void
suspend()
QVoidFuture
then(QtFuture.Launch policy, Consumer<QVoidFuture> function)
<R> QFuture<R>
then(QtFuture.Launch policy, Function<QVoidFuture,R> function)
QVoidFuture
then(QThreadPool pool, Consumer<QVoidFuture> function)
<R> QFuture<R>
then(QThreadPool pool, Function<QVoidFuture,R> function)
QVoidFuture
then(Consumer<QVoidFuture> function)
<R> QFuture<R>
then(Function<QVoidFuture,R> function)
void
togglePaused()
Deprecated.Use toggleSuspended() instead.void
toggleSuspended()
void
waitForFinished()
-
Constructor Details
-
QVoidFuture
public QVoidFuture() -
QVoidFuture
-
QVoidFuture
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
cancel
- Specified by:
cancel
in classQAbstractFuture
-
isCanceled
- Specified by:
isCanceled
in classQAbstractFuture
-
isFinished
- Specified by:
isFinished
in classQAbstractFuture
-
isPaused
Deprecated.Use isSuspending() or isSuspended() instead.- Specified by:
isPaused
in classQAbstractFuture
-
isRunning
- Specified by:
isRunning
in classQAbstractFuture
-
isStarted
- Specified by:
isStarted
in classQAbstractFuture
-
isSuspended
-
isSuspending
-
isValid
-
pause
Deprecated.Use suspend() instead.- Specified by:
pause
in classQAbstractFuture
-
progressMaximum
- Specified by:
progressMaximum
in classQAbstractFuture
-
progressMinimum
- Specified by:
progressMinimum
in classQAbstractFuture
-
progressText
- Specified by:
progressText
in classQAbstractFuture
-
progressValue
- Specified by:
progressValue
in classQAbstractFuture
-
resultCount
- Specified by:
resultCount
in classQAbstractFuture
-
resume
- Specified by:
resume
in classQAbstractFuture
-
setPaused
Deprecated.Use setSuspended() instead.- Specified by:
setPaused
in classQAbstractFuture
-
setSuspended
-
suspend
-
togglePaused
Deprecated.Use toggleSuspended() instead.- Specified by:
togglePaused
in classQAbstractFuture
-
toggleSuspended
-
waitForFinished
- Specified by:
waitForFinished
in classQAbstractFuture
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
then
-
then
@QtUninvokable public <R> QFuture<R> then(QtFuture.Launch policy, Function<QVoidFuture,R> function) -
then
-
then
-
then
-
then
-
onFailed
-
onCanceled
-
clone
- Specified by:
clone
in classQAbstractFuture
-