io.qt.gui.QApplicationStateChangeEvent 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.*;
/**
* Java wrapper for Qt class QApplicationStateChangeEvent
*/
public class QApplicationStateChangeEvent extends io.qt.core.QEvent
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QApplicationStateChangeEvent:: QApplicationStateChangeEvent(QApplicationStateChangeEvent)
*/
protected QApplicationStateChangeEvent(io.qt.gui.@StrictNonNull QApplicationStateChangeEvent 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(QApplicationStateChangeEvent instance, io.qt.gui.QApplicationStateChangeEvent arg__1);
/**
* See QApplicationStateChangeEvent:: QApplicationStateChangeEvent(Qt::ApplicationState)
*/
public QApplicationStateChangeEvent(io.qt.core.Qt.@NonNull ApplicationState state){
super((QPrivateConstructor)null);
initialize_native(this, state);
}
private native static void initialize_native(QApplicationStateChangeEvent instance, io.qt.core.Qt.ApplicationState state);
/**
* See QApplicationStateChangeEvent:: applicationState()const
*/
@QtUninvokable
public final io.qt.core.Qt.@NonNull ApplicationState applicationState(){
return io.qt.core.Qt.ApplicationState.resolve(applicationState_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int applicationState_native_constfct(long __this__nativeId);
/**
* See QApplicationStateChangeEvent:: operator=(QApplicationStateChangeEvent)
*/
@QtUninvokable
protected final void assign(io.qt.gui.@StrictNonNull QApplicationStateChangeEvent other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
assign_native_cref_QApplicationStateChangeEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QApplicationStateChangeEvent(long __this__nativeId, long other);
/**
* See QEvent:: clone()const
*/
@QtUninvokable
@Override
public io.qt.gui.@Nullable QApplicationStateChangeEvent clone(){
return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QApplicationStateChangeEvent clone_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QApplicationStateChangeEvent(QPrivateConstructor p) { super(p); }
/**
* @deprecated Use {@link #assign(io.qt.gui.QApplicationStateChangeEvent)} instead.
*/
@Deprecated
@QtUninvokable
protected final void set(io.qt.gui.@StrictNonNull QApplicationStateChangeEvent other) {
assign(other);
}
}