io.qt.core.QFutureWatcherBase Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.core;
import io.qt.*;
/**
* Java wrapper for Qt class QFutureWatcherBase
* The following private function is pure virtual in Qt and thus has to
* be implemented in derived Java classes by using the @QtPrivateOverride annotation:
*
*
* @QtPrivateOverride
* @QtUninvokable
* private io.qt.core.@StrictNonNull QFutureInterfaceBase futureInterface() {...}
*
*/
public abstract class QFutureWatcherBase extends io.qt.core.QObject
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QFutureWatcherBase.class);
@NativeAccess
private static final class ConcreteWrapper extends QFutureWatcherBase {
@NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
}
/**
* See QFutureWatcherBase:: canceled()
*/
public final @NonNull Signal0 canceled = new Signal0();
/**
* See QFutureWatcherBase:: finished()
*/
public final @NonNull Signal0 finished = new Signal0();
/**
* See QFutureWatcherBase:: paused()
*/
public final @NonNull Signal0 paused = new Signal0();
/**
* See QFutureWatcherBase:: progressRangeChanged(int, int)
*/
public final @NonNull Signal2 progressRangeChanged = new Signal2<>();
/**
* See QFutureWatcherBase:: progressTextChanged(QString)
*/
public final @NonNull Signal1 progressTextChanged = new Signal1<>();
/**
* See QFutureWatcherBase:: progressValueChanged(int)
*/
public final @NonNull Signal1 progressValueChanged = new Signal1<>();
/**
* See QFutureWatcherBase:: resultReadyAt(int)
*/
public final @NonNull Signal1 resultReadyAt = new Signal1<>();
/**
* See QFutureWatcherBase:: resultsReadyAt(int, int)
*/
public final @NonNull Signal2 resultsReadyAt = new Signal2<>();
/**
* See QFutureWatcherBase:: resumed()
*/
public final @NonNull Signal0 resumed = new Signal0();
/**
* See QFutureWatcherBase:: started()
*/
public final @NonNull Signal0 started = new Signal0();
/**
* See QFutureWatcherBase:: suspended()
*/
public final @NonNull Signal0 suspended = new Signal0();
/**
* See QFutureWatcherBase:: suspending()
*/
public final @NonNull Signal0 suspending = new Signal0();
/**
* See QFutureWatcherBase:: QFutureWatcherBase(QObject*)
*/
public QFutureWatcherBase(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QFutureWatcherBase instance, io.qt.core.QObject parent);
/**
* See QFutureWatcherBase:: cancel()
*/
public final void cancel(){
cancel_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void cancel_native(long __this__nativeId);
/**
* See QFutureWatcherBase:: connectOutputInterface()
*/
@QtUninvokable
protected final void connectOutputInterface(){
connectOutputInterface_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void connectOutputInterface_native(long __this__nativeId);
/**
* See QFutureWatcherBase:: disconnectOutputInterface(bool)
*/
@QtUninvokable
protected final void disconnectOutputInterface(boolean pendingAssignment){
disconnectOutputInterface_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), pendingAssignment);
}
@QtUninvokable
private native void disconnectOutputInterface_native_bool(long __this__nativeId, boolean pendingAssignment);
/**
* See QFutureWatcherBase:: isCanceled()const
*/
@QtUninvokable
public final boolean isCanceled(){
return isCanceled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isCanceled_native_constfct(long __this__nativeId);
/**
* See QFutureWatcherBase:: isFinished()const
*/
@QtUninvokable
public final boolean isFinished(){
return isFinished_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isFinished_native_constfct(long __this__nativeId);
/**
* See QFutureWatcherBase:: isPaused()const
*/
@QtUninvokable
public final boolean isPaused(){
return isPaused_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isPaused_native_constfct(long __this__nativeId);
/**
* See QFutureWatcherBase:: isRunning()const
*/
@QtUninvokable
public final boolean isRunning(){
return isRunning_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isRunning_native_constfct(long __this__nativeId);
/**
* See QFutureWatcherBase:: isStarted()const
*/
@QtUninvokable
public final boolean isStarted(){
return isStarted_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isStarted_native_constfct(long __this__nativeId);
/**
* See QFutureWatcherBase:: isSuspended()const
*/
@QtUninvokable
public final boolean isSuspended(){
return isSuspended_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isSuspended_native_constfct(long __this__nativeId);
/**
* See QFutureWatcherBase:: isSuspending()const
*/
@QtUninvokable
public final boolean isSuspending(){
return isSuspending_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isSuspending_native_constfct(long __this__nativeId);
/**
* See QFutureWatcherBase:: pause()
*/
public final void pause(){
pause_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void pause_native(long __this__nativeId);
/**
* See QFutureWatcherBase:: progressMaximum()const
*/
@QtUninvokable
public final int progressMaximum(){
return progressMaximum_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int progressMaximum_native_constfct(long __this__nativeId);
/**
* See QFutureWatcherBase:: progressMinimum()const
*/
@QtUninvokable
public final int progressMinimum(){
return progressMinimum_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int progressMinimum_native_constfct(long __this__nativeId);
/**
* See QFutureWatcherBase:: progressText()const
*/
@QtUninvokable
public final java.lang.@NonNull String progressText(){
return progressText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String progressText_native_constfct(long __this__nativeId);
/**
* See QFutureWatcherBase:: progressValue()const
*/
@QtUninvokable
public final int progressValue(){
return progressValue_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int progressValue_native_constfct(long __this__nativeId);
/**
* See QFutureWatcherBase:: resume()
*/
public final void resume(){
resume_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void resume_native(long __this__nativeId);
/**
* See QFutureWatcherBase:: setPaused(bool)
*/
public final void setPaused(boolean paused){
setPaused_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), paused);
}
private native void setPaused_native_bool(long __this__nativeId, boolean paused);
/**
* See QFutureWatcherBase:: setPendingResultsLimit(int)
*/
@QtUninvokable
public final void setPendingResultsLimit(int limit){
setPendingResultsLimit_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), limit);
}
@QtUninvokable
private native void setPendingResultsLimit_native_int(long __this__nativeId, int limit);
/**
* See QFutureWatcherBase:: setSuspended(bool)
*/
public final void setSuspended(boolean suspend){
setSuspended_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), suspend);
}
private native void setSuspended_native_bool(long __this__nativeId, boolean suspend);
/**
* See QFutureWatcherBase:: suspend()
*/
public final void suspend(){
suspend_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void suspend_native(long __this__nativeId);
/**
* See QFutureWatcherBase:: togglePaused()
*/
public final void togglePaused(){
togglePaused_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void togglePaused_native(long __this__nativeId);
/**
* See QFutureWatcherBase:: toggleSuspended()
*/
public final void toggleSuspended(){
toggleSuspended_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void toggleSuspended_native(long __this__nativeId);
/**
* See QFutureWatcherBase:: waitForFinished()
*/
@QtUninvokable
public final void waitForFinished(){
waitForFinished_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void waitForFinished_native(long __this__nativeId);
/**
* See QObject:: connectNotify(QMetaMethod)
*/
@QtUninvokable
@Override
protected void connectNotify(io.qt.core.@NonNull QMetaMethod signal){
connectNotify_native_cref_QMetaMethod(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(signal));
}
@QtUninvokable
private native void connectNotify_native_cref_QMetaMethod(long __this__nativeId, long signal);
/**
* See QObject:: disconnectNotify(QMetaMethod)
*/
@QtUninvokable
@Override
protected void disconnectNotify(io.qt.core.@NonNull QMetaMethod signal){
disconnectNotify_native_cref_QMetaMethod(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(signal));
}
@QtUninvokable
private native void disconnectNotify_native_cref_QMetaMethod(long __this__nativeId, long signal);
/**
* See QObject:: event(QEvent*)
*/
@QtUninvokable
@Override
public boolean event(io.qt.core.@Nullable QEvent event){
return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native boolean event_native_QEvent_ptr(long __this__nativeId, long event);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QFutureWatcherBase(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QFutureWatcherBase(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QFutureWatcherBase instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QFutureWatcherBase(io.qt.core.QObject)}
* with parent = null
.
*/
public QFutureWatcherBase() {
this((io.qt.core.QObject)null);
}
/**
* Overloaded function for {@link #disconnectOutputInterface(boolean)}
* with pendingAssignment = false
.
*/
@QtUninvokable
protected final void disconnectOutputInterface() {
disconnectOutputInterface((boolean)false);
}
}