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

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

There is a newer version: 6.8.0
Show newest version
package io.qt.core;

import io.qt.*;


/**
 * 

Exception-safe wrapper around QObject::blockSignals()

*

Java wrapper for Qt class QSignalBlocker

*/ public class QSignalBlocker extends QtObject implements AutoCloseable { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QSignalBlocker::QSignalBlocker(QObject*)

*/ public QSignalBlocker(io.qt.core.@Nullable QObject o){ super((QPrivateConstructor)null); initialize_native(this, o); } private native static void initialize_native(QSignalBlocker instance, io.qt.core.QObject o); /** *

See QSignalBlocker::dismiss()

*/ @QtUninvokable public final void dismiss(){ dismiss_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void dismiss_native(long __this__nativeId); /** *

See QSignalBlocker::reblock()

*/ @QtUninvokable public final void reblock(){ reblock_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void reblock_native(long __this__nativeId); /** *

See QSignalBlocker::unblock()

*/ @QtUninvokable public final void unblock(){ unblock_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void unblock_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QSignalBlocker(QPrivateConstructor p) { super(p); } public void close(){dispose();} }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy