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

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

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

import io.qt.*;


/**
 * 

Watches the lifetime of multiple QObjects

*

Java wrapper for Qt class QObjectCleanupHandler

*/ public class QObjectCleanupHandler extends io.qt.core.QObject { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QObjectCleanupHandler.class); /** *

See QObjectCleanupHandler::QObjectCleanupHandler()

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

See QObjectCleanupHandler::add(QObject*)

*/ @QtUninvokable public final io.qt.core.@Nullable QObject add(io.qt.core.@Nullable QObject object){ return add_native_QObject_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(object)); } @QtUninvokable private native io.qt.core.QObject add_native_QObject_ptr(long __this__nativeId, long object); /** *

See QObjectCleanupHandler::clear()

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

See QObjectCleanupHandler::isEmpty()const

*/ @QtUninvokable public final boolean isEmpty(){ return isEmpty_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isEmpty_native_constfct(long __this__nativeId); /** *

See QObjectCleanupHandler::remove(QObject*)

*/ @QtUninvokable public final void remove(io.qt.core.@Nullable QObject object){ remove_native_QObject_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(object)); } @QtUninvokable private native void remove_native_QObject_ptr(long __this__nativeId, long object); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QObjectCleanupHandler(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QObjectCleanupHandler(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QObjectCleanupHandler instance, QDeclarativeConstructor constructor); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy