io.qt.gui.QCloseEvent 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.gui;
import io.qt.*;
/**
* Contains parameters that describe a close event
* Java wrapper for Qt class QCloseEvent
*/
public class QCloseEvent extends io.qt.core.QEvent
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QCloseEvent:: QCloseEvent()
*/
public QCloseEvent(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QCloseEvent instance);
/**
* See QCloseEvent:: QCloseEvent(QCloseEvent)
*/
protected QCloseEvent(io.qt.gui.@StrictNonNull QCloseEvent arg__1){
super((QPrivateConstructor)null);
java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected.");
initialize_native(this, arg__1);
}
private native static void initialize_native(QCloseEvent instance, io.qt.gui.QCloseEvent arg__1);
/**
* See QCloseEvent:: operator=(QCloseEvent)
*/
@QtUninvokable
protected final void assign(io.qt.gui.@StrictNonNull QCloseEvent other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
assign_native_cref_QCloseEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QCloseEvent(long __this__nativeId, long other);
/**
*
* This function was introduced in Qt 6.0.
*/
@QtUninvokable
@Override
public io.qt.gui.@Nullable QCloseEvent clone(){
return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QCloseEvent clone_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QCloseEvent(QPrivateConstructor p) { super(p); }
/**
* @deprecated Use {@link #assign(io.qt.gui.QCloseEvent)} instead.
*/
@Deprecated
@QtUninvokable
protected final void set(io.qt.gui.@StrictNonNull QCloseEvent other) {
assign(other);
}
}