
io.qt.core.QChildEvent Maven / Gradle / Ivy
package io.qt.core;
/**
* Contains event parameters for child object events
* Java wrapper for Qt class QChildEvent
*/
public class QChildEvent extends io.qt.core.QEvent
{
/**
* See QChildEvent::QChildEvent(QEvent::Type,QObject*)
*/
public QChildEvent(io.qt.core.QEvent.Type type, io.qt.core.QObject child){
super((QPrivateConstructor)null);
initialize_native(this, type, child);
}
private native static void initialize_native(QChildEvent instance, io.qt.core.QEvent.Type type, io.qt.core.QObject child);
protected QChildEvent(io.qt.core.QChildEvent 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(QChildEvent instance, io.qt.core.QChildEvent arg__1);
/**
*
*/
@io.qt.QtUninvokable
public final boolean added(){
return added_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean added_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final io.qt.core.QObject child(){
return child_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QObject child_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
protected final void set(io.qt.core.QChildEvent other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
set_native_cref_QChildEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native void set_native_cref_QChildEvent(long __this__nativeId, long other);
/**
* See QChildEvent::polished()const
*/
@io.qt.QtUninvokable
public final boolean polished(){
return polished_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean polished_native_constfct(long __this__nativeId);
/**
* See QChildEvent::removed()const
*/
@io.qt.QtUninvokable
public final boolean removed(){
return removed_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean removed_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public io.qt.core.QChildEvent clone(){
return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QChildEvent clone_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QChildEvent(QPrivateConstructor p) { super(p); }
@Override
public String toString() {
return getClass().getSimpleName() + "(type=" + type().name() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy