Module qtjambi
Package io.qt.core

Class QFutureInterfaceBase

java.lang.Object
io.qt.QtObject
io.qt.core.QFutureInterfaceBase
All Implemented Interfaces:
QtObjectInterface, Cloneable
Direct Known Subclasses:
QFutureInterface

public class QFutureInterfaceBase extends QtObject implements Cloneable

Java wrapper for Qt class QFutureInterfaceBase

  • Constructor Details

    • QFutureInterfaceBase

      public QFutureInterfaceBase(QFutureInterfaceBase other)

      See QFutureInterfaceBase::QFutureInterfaceBase(QFutureInterfaceBase)

      Parameters:
      other -
    • QFutureInterfaceBase

      public QFutureInterfaceBase(QFutureInterfaceBase.State initialState)

      See QFutureInterfaceBase::QFutureInterfaceBase(QFutureInterfaceBase::State)

      Parameters:
      initialState -
    • QFutureInterfaceBase

      public QFutureInterfaceBase()

      Overloaded constructor for QFutureInterfaceBase(io.qt.core.QFutureInterfaceBase.State) with initialState = io.qt.core.QFutureInterfaceBase.State.NoState.

  • Method Details

    • cancel

      @QtUninvokable public final void cancel()

      See QFutureInterfaceBase::cancel()

    • cancel

      @QtUninvokable protected final void cancel(QFutureInterfaceBase.CancelMode mode)

      See QFutureInterfaceBase::cancel(QFutureInterfaceBase::CancelMode)

      Parameters:
      mode -
    • cancelAndFinish

      @QtUninvokable public final void cancelAndFinish()

      See QFutureInterfaceBase::cancelAndFinish()

    • cleanContinuation

      @QtUninvokable protected final void cleanContinuation()

      See QFutureInterfaceBase::cleanContinuation()

    • derefT

      @QtUninvokable protected final boolean derefT()

      See QFutureInterfaceBase::derefT()const

      Returns:
    • expectedResultCount

      @QtUninvokable public final int expectedResultCount()

      See QFutureInterfaceBase::expectedResultCount()

      Returns:
    • hasException

      @QtUninvokable public final boolean hasException()

      See QFutureInterfaceBase::hasException()const

      Returns:
    • isCanceled

      @QtUninvokable public final boolean isCanceled()

      See QFutureInterfaceBase::isCanceled()const

      Returns:
    • isChainCanceled

      @QtUninvokable public final boolean isChainCanceled()

      See QFutureInterfaceBase::isChainCanceled()const

      Returns:
    • isFinished

      @QtUninvokable public final boolean isFinished()

      See QFutureInterfaceBase::isFinished()const

      Returns:
    • isPaused

      @Deprecated @QtUninvokable public final boolean isPaused()
      Deprecated.

      See QFutureInterfaceBase::isPaused()const

      Returns:
    • isProgressUpdateNeeded

      @QtUninvokable public final boolean isProgressUpdateNeeded()

      See QFutureInterfaceBase::isProgressUpdateNeeded()const

      Returns:
    • isResultReadyAt

      @QtUninvokable public final boolean isResultReadyAt(int index)

      See QFutureInterfaceBase::isResultReadyAt(int)const

      Parameters:
      index -
      Returns:
    • isRunning

      @QtUninvokable public final boolean isRunning()

      See QFutureInterfaceBase::isRunning()const

      Returns:
    • isRunningOrPending

      @QtUninvokable protected final boolean isRunningOrPending()

      See QFutureInterfaceBase::isRunningOrPending()const

      Returns:
    • isStarted

      @QtUninvokable public final boolean isStarted()

      See QFutureInterfaceBase::isStarted()const

      Returns:
    • isSuspended

      @QtUninvokable public final boolean isSuspended()

      See QFutureInterfaceBase::isSuspended()const

      Returns:
    • isSuspending

      @QtUninvokable public final boolean isSuspending()

      See QFutureInterfaceBase::isSuspending()const

      Returns:
    • isThrottled

      @QtUninvokable public final boolean isThrottled()

      See QFutureInterfaceBase::isThrottled()const

      Returns:
    • isValid

      @QtUninvokable public final boolean isValid()

      See QFutureInterfaceBase::isValid()const

      Returns:
    • launchAsync

      @QtUninvokable protected final boolean launchAsync()

      See QFutureInterfaceBase::launchAsync()const

      Returns:
    • loadState

      @QtUninvokable public final int loadState()

      See QFutureInterfaceBase::loadState()const

      Returns:
    • mutex

      @QtUninvokable public final QMutex mutex()

      See QFutureInterfaceBase::mutex()const

      Returns:
    • assign

      @QtUninvokable public final void assign(QFutureInterfaceBase other)

      See QFutureInterfaceBase::operator=(QFutureInterfaceBase)

      Parameters:
      other -
    • equals

      @QtUninvokable public final boolean equals(QFutureInterfaceBase other)

      See QFutureInterfaceBase::operator==(QFutureInterfaceBase)const

      Parameters:
      other -
      Returns:
    • progressMaximum

      @QtUninvokable public final int progressMaximum()

      See QFutureInterfaceBase::progressMaximum()const

      Returns:
    • progressMinimum

      @QtUninvokable public final int progressMinimum()

      See QFutureInterfaceBase::progressMinimum()const

      Returns:
    • progressText

      @QtUninvokable public final String progressText()

      See QFutureInterfaceBase::progressText()const

      Returns:
    • progressValue

      @QtUninvokable public final int progressValue()

      See QFutureInterfaceBase::progressValue()const

      Returns:
    • queryState

      @QtUninvokable public final boolean queryState(QFutureInterfaceBase.State state)

      See QFutureInterfaceBase::queryState(QFutureInterfaceBase::State)const

      Parameters:
      state -
      Returns:
    • refT

      @QtUninvokable protected final boolean refT()

      See QFutureInterfaceBase::refT()const

      Returns:
    • reportCanceled

      @QtUninvokable public final void reportCanceled()

      See QFutureInterfaceBase::reportCanceled()

    • reportFinished

      @QtDeclaredFinal @QtUninvokable public void reportFinished()

      See QFutureInterfaceBase::reportFinished()

    • reportResultsReady

      @QtUninvokable public final void reportResultsReady(int beginIndex, int endIndex)

      See QFutureInterfaceBase::reportResultsReady(int,int)

      Parameters:
      beginIndex -
      endIndex -
    • reportStarted

      @QtUninvokable public final void reportStarted()

      See QFutureInterfaceBase::reportStarted()

    • reportSuspended

      @QtUninvokable public final void reportSuspended()

      See QFutureInterfaceBase::reportSuspended()const

    • reset

      @QtUninvokable protected final void reset()

      See QFutureInterfaceBase::reset()

    • resultCount

      @QtUninvokable public final int resultCount()

      See QFutureInterfaceBase::resultCount()const

      Returns:
    • rethrowPossibleException

      @QtUninvokable protected final void rethrowPossibleException()

      See QFutureInterfaceBase::rethrowPossibleException()

    • runContinuation

      @QtUninvokable protected final void runContinuation()

      See QFutureInterfaceBase::runContinuation()const

    • setContinuation

      @QtUninvokable protected final void setContinuation(Consumer<QFutureInterfaceBase> func)

      See QFutureInterfaceBase::setContinuation(std::function<void(const QFutureInterfaceBase&)>)

      Parameters:
      func -
    • setExpectedResultCount

      @QtUninvokable public final void setExpectedResultCount(int resultCount)

      See QFutureInterfaceBase::setExpectedResultCount(int)

      Parameters:
      resultCount -
    • setFilterMode

      @QtUninvokable public final void setFilterMode(boolean enable)

      See QFutureInterfaceBase::setFilterMode(bool)

      Parameters:
      enable -
    • setLaunchAsync

      @QtUninvokable protected final void setLaunchAsync(boolean value)

      See QFutureInterfaceBase::setLaunchAsync(bool)

      Parameters:
      value -
    • setPaused

      @Deprecated @QtUninvokable public final void setPaused(boolean paused)
      Deprecated.
      Use setSuspended() instead.@param paused

      See QFutureInterfaceBase::setPaused(bool)

    • setProgressRange

      @QtUninvokable public final void setProgressRange(int minimum, int maximum)

      See QFutureInterfaceBase::setProgressRange(int,int)

      Parameters:
      minimum -
      maximum -
    • setProgressValue

      @QtUninvokable public final void setProgressValue(int progressValue)

      See QFutureInterfaceBase::setProgressValue(int)

      Parameters:
      progressValue -
    • setProgressValueAndText

      @QtUninvokable public final void setProgressValueAndText(int progressValue, String progressText)

      See QFutureInterfaceBase::setProgressValueAndText(int,QString)

      Parameters:
      progressValue -
      progressText -
    • setRunnable

      @QtUninvokable public final void setRunnable(QRunnable runnable)

      See QFutureInterfaceBase::setRunnable(QRunnable*)

      Parameters:
      runnable -
    • setSuspended

      @QtUninvokable public final void setSuspended(boolean suspend)

      See QFutureInterfaceBase::setSuspended(bool)

      Parameters:
      suspend -
    • setThreadPool

      @QtUninvokable public final void setThreadPool(QThreadPool pool)

      See QFutureInterfaceBase::setThreadPool(QThreadPool*)

      Parameters:
      pool -
    • setThrottled

      @QtUninvokable public final void setThrottled(boolean enable)

      See QFutureInterfaceBase::setThrottled(bool)

      Parameters:
      enable -
    • suspendIfRequested

      @QtUninvokable public final void suspendIfRequested()

      See QFutureInterfaceBase::suspendIfRequested()

    • swap

      @QtUninvokable public final void swap(QFutureInterfaceBase other)

      See QFutureInterfaceBase::swap(QFutureInterfaceBase&)

      Parameters:
      other -
    • threadPool

      @QtUninvokable public final QThreadPool threadPool()

      See QFutureInterfaceBase::threadPool()const

      Returns:
    • togglePaused

      @Deprecated @QtUninvokable public final void togglePaused()
      Deprecated.
      Use toggleSuspended() instead.

      See QFutureInterfaceBase::togglePaused()

    • toggleSuspended

      @QtUninvokable public final void toggleSuspended()

      See QFutureInterfaceBase::toggleSuspended()

    • waitForFinished

      @QtUninvokable public final void waitForFinished()

      See QFutureInterfaceBase::waitForFinished()

    • waitForNextResult

      @QtUninvokable public final boolean waitForNextResult()

      See QFutureInterfaceBase::waitForNextResult()

      Returns:
    • waitForResult

      @QtUninvokable public final void waitForResult(int resultIndex)

      See QFutureInterfaceBase::waitForResult(int)

      Parameters:
      resultIndex -
    • waitForResume

      @QtUninvokable public final void waitForResume()

      See QFutureInterfaceBase::waitForResume()

    • equals

      @QtUninvokable public boolean equals(Object other)

      See QFutureInterfaceBase::operator==(QFutureInterfaceBase)const

      Overrides:
      equals in class QtObject
      Parameters:
      other - other object
      Returns:
      true if the native counterpart of the two objects are one and the same.
    • hashCode

      @QtUninvokable public int hashCode()
      Returns the objects's hash code computed by qHash(QFutureInterfaceBase).
      Overrides:
      hashCode in class Object
    • reportException

      @QtUninvokable public final void reportException(Throwable e)
    • clone

      Creates and returns a copy of this object.

      See QFutureInterfaceBase::QFutureInterfaceBase(QFutureInterfaceBase)

      Overrides:
      clone in class Object
    • setRunnable

      @QtUninvokable public final void setRunnable(Runnable runnable)

      Overloaded function for setRunnable(io.qt.core.QRunnable).