io.qt.gui.QCloseEvent Maven / Gradle / Ivy
The newest version!
package io.qt.gui;
/**
* 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);
protected QCloseEvent(io.qt.gui.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);
@io.qt.QtUninvokable
protected final void set(io.qt.gui.QCloseEvent other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
set_native_cref_QCloseEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native void set_native_cref_QCloseEvent(long __this__nativeId, long other);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QCloseEvent(QPrivateConstructor p) { super(p); }
@Override
@io.qt.QtUninvokable
public String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private static native String toString_native(long __this_nativeId);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy