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.1
Show newest version
package io.qt.core;


/**
 * 

Exception-safe wrapper around QObject::blockSignals()

*

Java wrapper for Qt class QSignalBlocker

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

See QSignalBlocker::QSignalBlocker(QObject*)

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

See QSignalBlocker::reblock()

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

See QSignalBlocker::unblock()

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy