io.qt.core.QEventLoopLocker Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.core;
import io.qt.*;
/**
* Means to quit an event loop when it is no longer needed
* Java wrapper for Qt class QEventLoopLocker
*/
public class QEventLoopLocker extends QtObject
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QEventLoopLocker:: QEventLoopLocker()
*/
public QEventLoopLocker(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QEventLoopLocker instance);
/**
* See QEventLoopLocker:: QEventLoopLocker(QEventLoop*)
*/
public QEventLoopLocker(io.qt.core.@Nullable QEventLoop loop){
super((QPrivateConstructor)null);
initialize_native(this, loop);
}
private native static void initialize_native(QEventLoopLocker instance, io.qt.core.QEventLoop loop);
/**
* See QEventLoopLocker:: QEventLoopLocker(QThread*)
*/
public QEventLoopLocker(io.qt.core.@Nullable QThread thread){
super((QPrivateConstructor)null);
initialize_native(this, thread);
}
private native static void initialize_native(QEventLoopLocker instance, io.qt.core.QThread thread);
/**
* See QEventLoopLocker:: swap(QEventLoopLocker&)
*/
@QtUninvokable
public final void swap(io.qt.core.@StrictNonNull QEventLoopLocker other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
swap_native_ref_QEventLoopLocker(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void swap_native_ref_QEventLoopLocker(long __this__nativeId, long other);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QEventLoopLocker(QPrivateConstructor p) { super(p); }
}