io.qt.gui.QActionEvent 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;
/**
* Event that is generated when a QAction is added, removed, or changed
* Java wrapper for Qt class QActionEvent
*/
public class QActionEvent extends io.qt.core.QEvent
{
static {
QtJambi_LibraryUtilities.initialize();
}
protected QActionEvent(io.qt.gui.QActionEvent 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(QActionEvent instance, io.qt.gui.QActionEvent arg__1);
/**
* Overloaded constructor for {@link #QActionEvent(int, io.qt.gui.QAction, io.qt.gui.QAction)}
* with before = null
.
*/
public QActionEvent(int type, io.qt.gui.QAction action) {
this(type, action, (io.qt.gui.QAction)null);
}
/**
* See QActionEvent::QActionEvent(int,QAction*,QAction*)
*/
public QActionEvent(int type, io.qt.gui.QAction action, io.qt.gui.QAction before){
super((QPrivateConstructor)null);
initialize_native(this, type, action, before);
}
private native static void initialize_native(QActionEvent instance, int type, io.qt.gui.QAction action, io.qt.gui.QAction before);
/**
* See QActionEvent::action()const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QAction action(){
return action_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QAction action_native_constfct(long __this__nativeId);
/**
* See QActionEvent::before()const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QAction before(){
return before_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QAction before_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
protected final void set(io.qt.gui.QActionEvent other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
set_native_cref_QActionEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native void set_native_cref_QActionEvent(long __this__nativeId, long other);
/**
*
*/
@io.qt.QtUninvokable
public io.qt.gui.QActionEvent clone(){
return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QActionEvent clone_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QActionEvent(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 - 2025 Weber Informatics LLC | Privacy Policy