
io.qt.core.QTimerEvent Maven / Gradle / Ivy
package io.qt.core;
import io.qt.*;
/**
* Contains parameters that describe a timer event
* Java wrapper for Qt class QTimerEvent
*/
public class QTimerEvent extends io.qt.core.QEvent
{
/**
* See QTimerEvent:: QTimerEvent(QTimerEvent)
*/
protected QTimerEvent(io.qt.core.@StrictNonNull QTimerEvent 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(QTimerEvent instance, io.qt.core.QTimerEvent arg__1);
/**
* See QTimerEvent:: QTimerEvent(int)
*/
public QTimerEvent(int timerId){
super((QPrivateConstructor)null);
initialize_native(this, timerId);
}
private native static void initialize_native(QTimerEvent instance, int timerId);
/**
* See QTimerEvent:: operator=(QTimerEvent)
*/
@QtUninvokable
protected final void assign(io.qt.core.@StrictNonNull QTimerEvent other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
assign_native_cref_QTimerEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QTimerEvent(long __this__nativeId, long other);
/**
* See QTimerEvent:: timerId()const
*/
@QtUninvokable
public final int timerId(){
return timerId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int timerId_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
@Override
public io.qt.core.@Nullable QTimerEvent clone(){
return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QTimerEvent clone_native_constfct(long __this__nativeId);
/**
* See QTimerEvent:: id
*/
@QtUninvokable
protected final void setTimerId(int timerId){
setTimerId_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), timerId);
}
@QtUninvokable
private native void setTimerId_native_int(long __this__nativeId, int timerId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QTimerEvent(QPrivateConstructor p) { super(p); }
/**
* @deprecated Use {@link #assign(io.qt.core.QTimerEvent)} instead.
*/
@Deprecated
@QtUninvokable
protected final void set(io.qt.core.@StrictNonNull QTimerEvent other) {
assign(other);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy