All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.core.QBasicTimer Maven / Gradle / Ivy

The newest version!
package io.qt.core;


/**
 * 

Timer events for objects

*

Java wrapper for Qt class QBasicTimer

*/ public class QBasicTimer extends io.qt.QtObject { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QBasicTimer::QBasicTimer()

*/ public QBasicTimer(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QBasicTimer instance); /** *

See QBasicTimer::isActive()const

*/ @io.qt.QtUninvokable public final boolean isActive(){ return isActive_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean isActive_native_constfct(long __this__nativeId); /** *

See QBasicTimer::start(int,QObject*)

*/ @io.qt.QtUninvokable public final void start(int msec, io.qt.core.QObject obj){ start_native_int_QObject_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), msec, QtJambi_LibraryUtilities.internal.checkedNativeId(obj)); } @io.qt.QtUninvokable private native void start_native_int_QObject_ptr(long __this__nativeId, int msec, long obj); /** *

See QBasicTimer::start(int,Qt::TimerType,QObject*)

*/ @io.qt.QtUninvokable public final void start(int msec, io.qt.core.Qt.TimerType timerType, io.qt.core.QObject obj){ start_native_int_Qt_TimerType_QObject_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), msec, timerType.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(obj)); } @io.qt.QtUninvokable private native void start_native_int_Qt_TimerType_QObject_ptr(long __this__nativeId, int msec, int timerType, long obj); /** *

See QBasicTimer::stop()

*/ @io.qt.QtUninvokable public final void stop(){ stop_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native void stop_native(long __this__nativeId); /** *

See QBasicTimer::swap(QBasicTimer&)

*/ @io.qt.QtUninvokable public final void swap(io.qt.core.QBasicTimer other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); swap_native_ref_QBasicTimer(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @io.qt.QtUninvokable private native void swap_native_ref_QBasicTimer(long __this__nativeId, long other); /** *

See QBasicTimer::timerId()const

*/ @io.qt.QtUninvokable public final int timerId(){ return timerId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native int timerId_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QBasicTimer(QPrivateConstructor p) { super(p); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy