io.qt.core.QTimerEvent 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 parameters that describe a timer event
* Java wrapper for Qt class QTimerEvent
*/
public class QTimerEvent extends io.qt.core.QEvent
{
/**
* See QTimerEvent:: QTimerEvent(QTimerEvent)
* @param arg__1
*/
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(Qt::TimerId)
* @since This function was introduced in Qt 6.8.
* @param timerId
*/
public QTimerEvent(io.qt.core.Qt.@NonNull TimerId timerId){
super((QPrivateConstructor)null);
initialize_native(this, timerId);
}
private native static void initialize_native(QTimerEvent instance, io.qt.core.Qt.TimerId timerId);
/**
* See QTimerEvent:: QTimerEvent(int)
* @param timerId
*/
public QTimerEvent(int timerId){
super((QPrivateConstructor)null);
initialize_native(this, timerId);
}
private native static void initialize_native(QTimerEvent instance, int timerId);
/**
*
* @since This function was introduced in Qt 6.8.
* @return
*/
@QtUninvokable
public final io.qt.core.Qt.@NonNull TimerId id(){
return io.qt.core.Qt.TimerId.resolve(id_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int id_native_constfct(long __this__nativeId);
/**
* See QTimerEvent:: operator=(QTimerEvent)
* @param other
*/
@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
* @return
*/
@QtUninvokable
public final int timerId(){
return timerId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int timerId_native_constfct(long __this__nativeId);
/**
*
* @since This function was introduced in Qt 6.0.
* @return
*/
@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);
/**
* 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