io.qt.core.QChildEvent 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.core;
import io.qt.*;
/**
* Contains event parameters for child object events
* Java wrapper for Qt class QChildEvent
*/
public class QChildEvent extends io.qt.core.QEvent
{
/**
* See QChildEvent:: QChildEvent(QChildEvent)
*/
protected QChildEvent(io.qt.core.@StrictNonNull 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);
/**
* See QChildEvent:: QChildEvent(QEvent::Type, QObject*)
*/
public QChildEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.core.@Nullable 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);
/**
*
*/
@QtUninvokable
public final boolean added(){
return added_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean added_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final io.qt.core.@Nullable QObject child(){
return child_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QObject child_native_constfct(long __this__nativeId);
/**
* See QChildEvent:: operator=(QChildEvent)
*/
@QtUninvokable
protected final void assign(io.qt.core.@StrictNonNull QChildEvent other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
assign_native_cref_QChildEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QChildEvent(long __this__nativeId, long other);
/**
* See QChildEvent:: polished()const
*/
@QtUninvokable
public final boolean polished(){
return polished_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean polished_native_constfct(long __this__nativeId);
/**
* See QChildEvent:: removed()const
*/
@QtUninvokable
public final boolean removed(){
return removed_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean removed_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
@Override
public io.qt.core.@Nullable QChildEvent clone(){
return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QChildEvent clone_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QChildEvent(QPrivateConstructor p) { super(p); }
/**
* @deprecated Use {@link #assign(io.qt.core.QChildEvent)} instead.
*/
@Deprecated
@QtUninvokable
protected final void set(io.qt.core.@StrictNonNull QChildEvent other) {
assign(other);
}
}