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

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

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

import io.qt.*;
import java.util.function.Supplier;


/**
 * 

The base class of all Qt objects

*

Java wrapper for Qt class QObject

*/ public class QObject extends QtObject implements QtSignalEmitterInterface, QtSignalBlockerInterface, QtThreadAffineInterface { static { QtJambi_LibraryUtilities.initialize(); } @QtPropertyMember(enabled=false) private java.util.Collection __rcEventFilters; /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QObject.class); /** *

See QObject::destroyed(QObject*)

*/ public final @NonNull Signal1Default1 destroyed = new Signal1Default1<>(()->null); /** *

See QObject::objectNameChanged(QString)

*/ @QtPropertyNotify(name="objectName") public final @NonNull PrivateSignal1 objectNameChanged = new PrivateSignal1<>(); /** *

See QObject::QObject(QObject*)

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

See QObject::bindableObjectName()

*/ @QtPropertyBindable(name="objectName") @QtUninvokable public final io.qt.core.@NonNull QBindable bindableObjectName(){ return bindableObjectName_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QBindable bindableObjectName_native(long __this__nativeId); /** *

See QObject::bindingStorage()

*/ @QtUninvokable private final io.qt.core.@Nullable QBindingStorage bindingStorage(){ return bindingStorage_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QBindingStorage bindingStorage_native(long __this__nativeId); /** *

See QObject::blockSignals(bool)

*/ @QtUninvokable public final boolean blockSignals(boolean b){ return blockSignals_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), b); } @QtUninvokable private native boolean blockSignals_native_bool(long __this__nativeId, boolean b); /** *

See QObject::children()const

*/ @QtUninvokable public final io.qt.core.@NonNull QList children(){ return children_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QList children_native_constfct(long __this__nativeId); /** *

See QObject::deleteLater()

*/ public final void disposeLater(){ disposeLater_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void disposeLater_native(long __this__nativeId); /** *

See QObject::dumpObjectInfo()const

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

See QObject::dumpObjectTree()const

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

See QObject::dynamicPropertyNames()const

*/ @QtUninvokable public final io.qt.core.@NonNull QList dynamicPropertyNames(){ return dynamicPropertyNames_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QList dynamicPropertyNames_native_constfct(long __this__nativeId); /** *

See QObject::findChild(QString,Qt::FindChildOptions)const

*/ @QtUninvokable public final io.qt.core.@Nullable QObject findChild(java.lang.@NonNull String aName, io.qt.core.Qt.@NonNull FindChildOptions options){ return findChild_native_cref_QString_Qt_FindChildOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), aName, options.value()); } @QtUninvokable private native io.qt.core.@Nullable QObject findChild_native_cref_QString_Qt_FindChildOptions_constfct(long __this__nativeId, java.lang.String aName, int options); /** *

See QObject::findChild(QString,Qt::FindChildOptions)const

*/ @QtUninvokable public final T findChild(java.lang.Class type, java.lang.@NonNull String aName, io.qt.core.Qt.@NonNull FindChildOptions options){ return findChild_native_cref_QString_Qt_FindChildOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), type, aName, options.value()); } @QtUninvokable private native T findChild_native_cref_QString_Qt_FindChildOptions_constfct(long __this__nativeId, java.lang.Class type, java.lang.String aName, int options); /** *

See QObject::findChildren(QRegularExpression,Qt::FindChildOptions)const

*/ @QtUninvokable public final io.qt.core.@NonNull QList findChildren(io.qt.core.@NonNull QRegularExpression re, io.qt.core.Qt.@NonNull FindChildOptions options){ return findChildren_native_cref_QRegularExpression_Qt_FindChildOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(re), options.value()); } @QtUninvokable private native io.qt.core.@NonNull QList findChildren_native_cref_QRegularExpression_Qt_FindChildOptions_constfct(long __this__nativeId, long re, int options); /** *

See QObject::findChildren(QString,Qt::FindChildOptions)const

*/ @QtUninvokable public final io.qt.core.@NonNull QList findChildren(java.lang.@NonNull String aName, io.qt.core.Qt.@NonNull FindChildOptions options){ return findChildren_native_cref_QString_Qt_FindChildOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), aName, options.value()); } @QtUninvokable private native io.qt.core.@NonNull QList findChildren_native_cref_QString_Qt_FindChildOptions_constfct(long __this__nativeId, java.lang.String aName, int options); /** *

See QObject::findChildren(Qt::FindChildOptions)const

*/ @QtUninvokable public final io.qt.core.@NonNull QList findChildren(io.qt.core.Qt.@NonNull FindChildOptions options){ return findChildren_native_Qt_FindChildOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), options.value()); } @QtUninvokable private native io.qt.core.@NonNull QList findChildren_native_Qt_FindChildOptions_constfct(long __this__nativeId, int options); /** *

See QObject::findChildren(QRegularExpression,Qt::FindChildOptions)const

*/ @QtUninvokable public final io.qt.core.@NonNull QList findChildren(java.lang.Class type, io.qt.core.@NonNull QRegularExpression re, io.qt.core.Qt.@NonNull FindChildOptions options){ return findChildren_native_cref_QRegularExpression_Qt_FindChildOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), type, QtJambi_LibraryUtilities.internal.checkedNativeId(re), options.value()); } @QtUninvokable private native io.qt.core.@NonNull QList findChildren_native_cref_QRegularExpression_Qt_FindChildOptions_constfct(long __this__nativeId, java.lang.Class type, long re, int options); /** *

See QObject::findChildren(QString,Qt::FindChildOptions)const

*/ @QtUninvokable public final io.qt.core.@NonNull QList findChildren(java.lang.Class type, java.lang.@NonNull String aName, io.qt.core.Qt.@NonNull FindChildOptions options){ return findChildren_native_cref_QString_Qt_FindChildOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), type, aName, options.value()); } @QtUninvokable private native io.qt.core.@NonNull QList findChildren_native_cref_QString_Qt_FindChildOptions_constfct(long __this__nativeId, java.lang.Class type, java.lang.String aName, int options); /** *

See QObject::findChildren(Qt::FindChildOptions)const

*/ @QtUninvokable public final io.qt.core.@NonNull QList findChildren(java.lang.Class type, io.qt.core.Qt.@NonNull FindChildOptions options){ return findChildren_native_Qt_FindChildOptions_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), type, options.value()); } @QtUninvokable private native io.qt.core.@NonNull QList findChildren_native_Qt_FindChildOptions_constfct(long __this__nativeId, java.lang.Class type, int options); /** *

See QObject::inherits(const char*)const

*/ @QtUninvokable public final boolean inherits(java.lang.@Nullable String classname){ return inherits_native_const_char_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), classname); } @QtUninvokable private native boolean inherits_native_const_char_ptr_constfct(long __this__nativeId, java.lang.String classname); /** *

See QObject::installEventFilter(QObject*)

*/ @QtUninvokable public final void installEventFilter(io.qt.core.@Nullable QObject filterObj){ installEventFilter_native_QObject_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(filterObj)); if (filterObj != null) { if(__rcEventFilters==null) __rcEventFilters = QtJambi_LibraryUtilities.internal.newRCList(); __rcEventFilters.add(filterObj); } } @QtUninvokable private native void installEventFilter_native_QObject_ptr(long __this__nativeId, long filterObj); /** *

See QObject::isQuickItemType()const

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

See QObject::isSignalConnected(QMetaMethod)const

*/ @QtUninvokable protected final boolean isSignalConnected(io.qt.core.@NonNull QMetaMethod signal){ return isSignalConnected_native_cref_QMetaMethod_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(signal)); } @QtUninvokable private native boolean isSignalConnected_native_cref_QMetaMethod_constfct(long __this__nativeId, long signal); /** *

See QObject::isWidgetType()const

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

See QObject::isWindowType()const

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

See QObject::killTimer(int)

*/ @QtUninvokable public final void killTimer(int id){ killTimer_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), id); } @QtUninvokable private native void killTimer_native_int(long __this__nativeId, int id); /** *

See QObject::moveToThread(QThread*)

*/ @QtUninvokable public final void moveToThread(io.qt.core.@Nullable QThread thread){ moveToThread_native_QThread_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(thread)); } @QtUninvokable private native void moveToThread_native_QThread_ptr(long __this__nativeId, long thread); /** *

See QObject::objectName()const

*/ @QtPropertyReader(name="objectName") @QtUninvokable public final java.lang.@NonNull String objectName(){ return objectName_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String objectName_native_constfct(long __this__nativeId); /** *

See QObject::parent()const

*/ @QtUninvokable public final io.qt.core.@Nullable QObject parent(){ return parent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QObject parent_native_constfct(long __this__nativeId); /** *

See QObject::property(const char*)const

*/ @QtUninvokable public final java.lang.Object property(java.lang.@Nullable String name){ return property_native_const_char_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), name); } @QtUninvokable private native java.lang.Object property_native_const_char_ptr_constfct(long __this__nativeId, java.lang.String name); /** *

See QObject::receivers(const char*)const

*/ @QtUninvokable protected final int receivers(java.lang.@Nullable String signal){ if(signal==null || signal.isEmpty()) return 0; if(!signal.startsWith("2")){ io.qt.core.QMetaMethod method = metaObject().method(signal); if(method!=null && method.methodType()==io.qt.core.QMetaMethod.MethodType.Signal) { signal = "2" + method.cppMethodSignature(); } } return receivers_native_const_char_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), signal); } @QtUninvokable private native int receivers_native_const_char_ptr_constfct(long __this__nativeId, java.lang.String signal); /** *

See QObject::removeEventFilter(QObject*)

*/ @QtUninvokable public final void removeEventFilter(io.qt.core.@Nullable QObject obj){ removeEventFilter_native_QObject_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(obj)); if (obj != null) { while (__rcEventFilters != null && __rcEventFilters.remove(obj)) ; } } @QtUninvokable private native void removeEventFilter_native_QObject_ptr(long __this__nativeId, long obj); /** *

See QObject::sender()const

*/ @QtUninvokable protected final io.qt.core.@Nullable QObject sender(){ return sender_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QObject sender_native_constfct(long __this__nativeId); /** *

See QObject::senderSignalIndex()const

*/ @QtUninvokable protected final int senderSignalIndex(){ return senderSignalIndex_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int senderSignalIndex_native_constfct(long __this__nativeId); /** *

See QObject::setObjectName(QString)

*/ @QtUninvokable public final void setObjectName(java.lang.@NonNull String name){ setObjectName_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name); } @QtUninvokable private native void setObjectName_native_cref_QString(long __this__nativeId, java.lang.String name); /** *

See QObject::setParent(QObject*)

*/ @QtUninvokable public final void setParent(io.qt.core.@Nullable QObject parent){ setParent_native_QObject_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } @QtUninvokable private native void setParent_native_QObject_ptr(long __this__nativeId, long parent); /** *

See QObject::setProperty(const char*,QVariant)

*/ @QtUninvokable public final boolean setProperty(java.lang.@Nullable String name, java.lang.Object value){ return setProperty_native_const_char_ptr_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), name, value); } @QtUninvokable private native boolean setProperty_native_const_char_ptr_cref_QVariant(long __this__nativeId, java.lang.String name, java.lang.Object value); /** *

See QObject::signalsBlocked()const

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

See QObject::startTimer(int,Qt::TimerType)

*/ @QtUninvokable public final int startTimer(int interval, io.qt.core.Qt.@NonNull TimerType timerType){ if(interval < 0){ throw new IllegalArgumentException("Timers cannot have negative intervals."); } if(QAbstractEventDispatcher.instance()==null){ throw new RuntimeException("Timers can only be used with threads providing an event dispatcher."); } return startTimer_native_int_Qt_TimerType(QtJambi_LibraryUtilities.internal.nativeId(this), interval, timerType.value()); } @QtUninvokable private native int startTimer_native_int_Qt_TimerType(long __this__nativeId, int interval, int timerType); /** *

See QObject::startTimer(std::chrono::milliseconds,Qt::TimerType)

*/ @QtUninvokable public final int startTimer(java.time.temporal.@NonNull TemporalAmount time, io.qt.core.Qt.@NonNull TimerType timerType){ return startTimer_native_std_chrono_milliseconds_Qt_TimerType(QtJambi_LibraryUtilities.internal.nativeId(this), time, timerType.value()); } @QtUninvokable private native int startTimer_native_std_chrono_milliseconds_Qt_TimerType(long __this__nativeId, java.time.temporal.TemporalAmount time, int timerType); /** *

See QObject::thread()const

*/ @QtUninvokable public final io.qt.core.@Nullable QThread thread(){ return thread_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QThread thread_native_constfct(long __this__nativeId); /** *

See QObject::childEvent(QChildEvent*)

*/ @QtUninvokable protected void childEvent(io.qt.core.@Nullable QChildEvent event){ childEvent_native_QChildEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void childEvent_native_QChildEvent_ptr(long __this__nativeId, long event); /** *

See QObject::connectNotify(QMetaMethod)

*/ @QtUninvokable protected void connectNotify(io.qt.core.@NonNull QMetaMethod signal){ connectNotify_native_cref_QMetaMethod(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(signal)); } @QtUninvokable private native void connectNotify_native_cref_QMetaMethod(long __this__nativeId, long signal); /** *

See QObject::customEvent(QEvent*)

*/ @QtUninvokable protected void customEvent(io.qt.core.@Nullable QEvent event){ customEvent_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void customEvent_native_QEvent_ptr(long __this__nativeId, long event); /** *

See QObject::disconnectNotify(QMetaMethod)

*/ @QtUninvokable protected void disconnectNotify(io.qt.core.@NonNull QMetaMethod signal){ disconnectNotify_native_cref_QMetaMethod(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(signal)); } @QtUninvokable private native void disconnectNotify_native_cref_QMetaMethod(long __this__nativeId, long signal); /** *

See QObject::event(QEvent*)

*/ @QtUninvokable public boolean event(io.qt.core.@Nullable QEvent event){ return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native boolean event_native_QEvent_ptr(long __this__nativeId, long event); /** *

See QObject::eventFilter(QObject*,QEvent*)

*/ @QtUninvokable public boolean eventFilter(io.qt.core.@Nullable QObject watched, io.qt.core.@Nullable QEvent event){ return eventFilter_native_QObject_ptr_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(watched), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native boolean eventFilter_native_QObject_ptr_QEvent_ptr(long __this__nativeId, long watched, long event); /** *

See QObject::timerEvent(QTimerEvent*)

*/ @QtUninvokable protected void timerEvent(io.qt.core.@Nullable QTimerEvent event){ timerEvent_native_QTimerEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void timerEvent_native_QTimerEvent_ptr(long __this__nativeId, long event); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QObject(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QObject(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QObject instance, QDeclarativeConstructor constructor); /** * Parameter type for declarative constructors, i.e. constructors being * called by QML only. * @hidden */ protected static final class QDeclarativeConstructor { private QDeclarativeConstructor(Class cls, long placement) { this.placement = placement; this.cls = cls; } @NativeAccess private final long placement; @NativeAccess private final Class cls; } private static String classToScope(Class cls) { if(cls.isEnum()) { if(cls.getDeclaringClass()!=null) { return classToScope(cls.getDeclaringClass()); }else { return cls.getPackage().getName(); } }else if(cls.isAnonymousClass()) { if(cls.getEnclosingClass()!=null) { return classToScope(cls.getEnclosingClass()); } }else if(cls.getEnclosingClass()!=null) { return classToScope(cls.getEnclosingClass())+"$"+cls.getSimpleName(); } return cls.getName(); } /** * Returns a translated version of source, or source itself if there is no appropriate translated version. * Note that if you need to translate in a static context, you can use QCoreApplication::translate(), * which is a static method. * * @param source the source text to translate. * @return translated version of the source text. * @see QObject::tr(const char *, const char *, int) */ public static @NonNull String tr(@Nullable String source) { String scope = classToScope(QtJambi_LibraryUtilities.internal.callerClassProvider().get()); return QCoreApplication.translate(scope, source); } /** * Returns a translated version of source, or source itself if there is no appropriate translated version. * The comment is used to help translators translate the source text. * Note that if you need to translate in a static context, you can use QCoreApplication::translate(), * which is a static method. * * @param source the source text to translate. * @param comment helps the translator translate the source text. * @return translated version of the source text. * @see QObject::tr(const char *, const char *, int) */ public static @NonNull String tr(@Nullable String source, @Nullable String comment) { String scope = classToScope(QtJambi_LibraryUtilities.internal.callerClassProvider().get()); return QCoreApplication.translate(scope, source, comment); } /** * Returns a translated version of source, or source itself if there is no appropriate translated version. * If %n occurs in the source text, it will be substituted with count. * The comment is used to help translators translate the source text. * Note that if you need to translate in a static context, you can use QCoreApplication::translate(), * which is a static method. * * @param source the source text to translate. * @param comment helps the translator translate the source text. * @param count in source %n will be substituted by count. * @return translated version of the source text. * @see QObject::tr(const char *, const char *, int) */ public static @NonNull String tr(@Nullable String source, @Nullable String comment, int count) { String scope = classToScope(QtJambi_LibraryUtilities.internal.callerClassProvider().get()); return QCoreApplication.translate(scope, source, comment, count); } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes no * parameters. */ public final class Signal0 extends QMetaObject.AbstractPublicSignal0 { /** * Default constructor */ public Signal0() { super(); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes one * parameter. * * @param The type of the single parameter of the signal. */ public final class Signal1 extends QMetaObject.AbstractPublicSignal1 { /** * Default constructor */ public Signal1() { super(); } /** * Constructor with argument checker */ public Signal1(QMetaObject.@StrictNonNull ArgChecker1 argumentTest) { super(argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes two * parameters. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. */ public final class Signal2 extends QMetaObject.AbstractPublicSignal2 { /** * Default constructor */ public Signal2() { super(); } /** * Constructor with argument checker */ public Signal2(QMetaObject.@StrictNonNull ArgChecker2 argumentTest) { super(argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes three * parameters. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. */ public final class Signal3 extends QMetaObject.AbstractPublicSignal3 { /** * Default constructor */ public Signal3() { super(); } /** * Constructor with argument checker */ public Signal3(QMetaObject.@StrictNonNull ArgChecker3 argumentTest) { super(argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes four * parameters. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. */ public final class Signal4 extends QMetaObject.AbstractPublicSignal4 { /** * Default constructor */ public Signal4() { super(); } /** * Constructor with argument checker */ public Signal4(QMetaObject.@StrictNonNull ArgChecker4 argumentTest) { super(argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes five * parameters. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. */ public final class Signal5 extends QMetaObject.AbstractPublicSignal5 { /** * Default constructor */ public Signal5() { super(); } /** * Constructor with argument checker */ public Signal5(QMetaObject.@StrictNonNull ArgChecker5 argumentTest) { super(argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes six * parameters. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. */ public final class Signal6 extends QMetaObject.AbstractPublicSignal6 { /** * Default constructor */ public Signal6() { super(); } /** * Constructor with argument checker */ public Signal6(QMetaObject.@StrictNonNull ArgChecker6 argumentTest) { super(argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes seven * parameters. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. */ public final class Signal7 extends QMetaObject.AbstractPublicSignal7 { /** * Default constructor */ public Signal7() { super(); } /** * Constructor with argument checker */ public Signal7(QMetaObject.@StrictNonNull ArgChecker7 argumentTest) { super(argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes eight * parameters. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. */ public final class Signal8 extends QMetaObject.AbstractPublicSignal8 { /** * Default constructor */ public Signal8() { super(); } /** * Constructor with argument checker */ public Signal8(QMetaObject.@StrictNonNull ArgChecker8 argumentTest) { super(argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes nine * parameters. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. */ public final class Signal9 extends QMetaObject.AbstractPublicSignal9{ /** * Default constructor */ public Signal9() { super(); } /** * Constructor with argument checker */ public Signal9(QMetaObject.@StrictNonNull ArgChecker9 argumentTest) { super(argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes one * parameters and providing default value for the parameter. * * @param The type of the first parameter of the signal. */ public final class Signal1Default1 extends QMetaObject.AbstractSignal1Default1{ @SuppressWarnings("unused") private Signal1Default1() { } public Signal1Default1(@StrictNonNull Supplier arg1Default){ super(arg1Default); } public Signal1Default1(@StrictNonNull Supplier arg1Default, QMetaObject.@StrictNonNull ArgChecker1 argumentTest){ super(arg1Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes two * parameters and providing a default value for parameter no. 2. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. */ public final class Signal2Default1 extends QMetaObject.AbstractSignal2Default1{ @SuppressWarnings("unused") private Signal2Default1() { super(); } public Signal2Default1(@StrictNonNull Supplier arg2Default) { super(arg2Default); } /** * Constructor with argument checker */ public Signal2Default1(@StrictNonNull Supplier arg2Default, QMetaObject.@StrictNonNull ArgChecker2 argumentTest) { super(arg2Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes two * parameters and providing default values for parameters 1 and 2. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. */ public final class Signal2Default2 extends QMetaObject.AbstractSignal2Default2{ @SuppressWarnings("unused") private Signal2Default2() { } public Signal2Default2(@StrictNonNull Supplier arg1Default, @StrictNonNull Supplier arg2Default){ super(arg1Default, arg2Default); } /** * Constructor with argument checker */ public Signal2Default2(@StrictNonNull Supplier arg1Default, @StrictNonNull Supplier arg2Default, QMetaObject.@StrictNonNull ArgChecker2 argumentTest){ super(arg1Default, arg2Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes three * parameters and providing a default value for parameter no. 3. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. */ public final class Signal3Default1 extends QMetaObject.AbstractSignal3Default1 { @SuppressWarnings("unused") private Signal3Default1() { } public Signal3Default1(@StrictNonNull Supplier arg3Default) { super(arg3Default); } public Signal3Default1(@StrictNonNull Supplier arg3Default, QMetaObject.@StrictNonNull ArgChecker3 argumentTest) { super(arg3Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes three * parameters and providing default values for parameters 2 and 3. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. */ public final class Signal3Default2 extends QMetaObject.AbstractSignal3Default2 { @SuppressWarnings("unused") private Signal3Default2() { } public Signal3Default2(@StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default){ super(arg2Default, arg3Default); } /** * Constructor with argument checker */ public Signal3Default2(@StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default, QMetaObject.@StrictNonNull ArgChecker3 argumentTest) { super(arg2Default, arg3Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes three * parameters and providing default values for parameters 1 to 3. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. */ public final class Signal3Default3 extends QMetaObject.AbstractSignal3Default3{ @SuppressWarnings("unused") private Signal3Default3() { } public Signal3Default3(@StrictNonNull Supplier arg1Default, @StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default){ super(arg1Default, arg2Default, arg3Default); } /** * Constructor with argument checker */ public Signal3Default3(@StrictNonNull Supplier arg1Default, @StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default, QMetaObject.@StrictNonNull ArgChecker3 argumentTest) { super(arg1Default, arg2Default, arg3Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes four * parameters and providing a default value for parameter no. 4. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. */ public final class Signal4Default1 extends QMetaObject.AbstractSignal4Default1{ @SuppressWarnings("unused") private Signal4Default1() { } public Signal4Default1(@StrictNonNull Supplier arg4Default){ super(arg4Default); } /** * Constructor with argument checker */ public Signal4Default1(@StrictNonNull Supplier arg4Default, QMetaObject.@StrictNonNull ArgChecker4 argumentTest) { super(arg4Default, argumentTest); } @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes four * parameters and providing default values for parameters 3 and 4. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. */ public final class Signal4Default2 extends QMetaObject.AbstractSignal4Default2{ @SuppressWarnings("unused") private Signal4Default2() { } public Signal4Default2(@StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default){ super(arg3Default, arg4Default); } /** * Constructor with argument checker */ public Signal4Default2(@StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, QMetaObject.@StrictNonNull ArgChecker4 argumentTest) { super(arg3Default, arg4Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes four * parameters and providing default values for parameters 2 to 4. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. */ public final class Signal4Default3 extends QMetaObject.AbstractSignal4Default3{ @SuppressWarnings("unused") private Signal4Default3() { } public Signal4Default3(@StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default){ super(arg2Default, arg3Default, arg4Default); } /** * Constructor with argument checker */ public Signal4Default3(@StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, QMetaObject.@StrictNonNull ArgChecker4 argumentTest) { super(arg2Default, arg3Default, arg4Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes four * parameters and providing default values for parameters 1 to 4. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. */ public final class Signal4Default4 extends QMetaObject.AbstractSignal4Default4{ @SuppressWarnings("unused") private Signal4Default4() { } public Signal4Default4(@StrictNonNull Supplier arg1Default, @StrictNonNull Supplier arg2Default, Supplier arg3Default, @StrictNonNull Supplier arg4Default){ super(arg1Default, arg2Default, arg3Default, arg4Default); } /** * Constructor with argument checker */ public Signal4Default4(@StrictNonNull Supplier arg1Default, @StrictNonNull Supplier arg2Default, Supplier arg3Default, @StrictNonNull Supplier arg4Default, QMetaObject.@StrictNonNull ArgChecker4 argumentTest) { super(arg1Default, arg2Default, arg3Default, arg4Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes five * parameters and providing a default value for parameter no. 5. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. */ public final class Signal5Default1 extends QMetaObject.AbstractSignal5Default1{ @SuppressWarnings("unused") private Signal5Default1() { } public Signal5Default1(@StrictNonNull Supplier arg5Default){ super(arg5Default); } /** * Constructor with argument checker */ public Signal5Default1(@StrictNonNull Supplier arg5Default, QMetaObject.@StrictNonNull ArgChecker5 argumentTest) { super(arg5Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes five * parameters and providing default values for parameters 4 and 5. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. */ public final class Signal5Default2 extends QMetaObject.AbstractSignal5Default2{ @SuppressWarnings("unused") private Signal5Default2() { } public Signal5Default2(@StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default){ super(arg4Default, arg5Default); } /** * Constructor with argument checker */ public Signal5Default2(@StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, QMetaObject.@StrictNonNull ArgChecker5 argumentTest) { super(arg4Default, arg5Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes five * parameters and providing default values for parameters 3 to 5. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. */ public final class Signal5Default3 extends QMetaObject.AbstractSignal5Default3{ @SuppressWarnings("unused") private Signal5Default3() { } public Signal5Default3(@StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default){ super(arg3Default, arg4Default, arg5Default); } /** * Constructor with argument checker */ public Signal5Default3(@StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, QMetaObject.@StrictNonNull ArgChecker5 argumentTest) { super(arg3Default, arg4Default, arg5Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes five * parameters and providing default values for parameters 2 to 5. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. */ public final class Signal5Default4 extends QMetaObject.AbstractSignal5Default4{ @SuppressWarnings("unused") private Signal5Default4() { } public Signal5Default4(@StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default){ super(arg2Default, arg3Default, arg4Default, arg5Default); } /** * Constructor with argument checker */ public Signal5Default4(@StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, QMetaObject.@StrictNonNull ArgChecker5 argumentTest) { super(arg2Default, arg3Default, arg4Default, arg5Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes five * parameters and providing default values for parameters 1 to 5. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. */ public final class Signal5Default5 extends QMetaObject.AbstractSignal5Default5{ @SuppressWarnings("unused") private Signal5Default5() { } public Signal5Default5(@StrictNonNull Supplier arg1Default, @StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default){ super(arg1Default, arg2Default, arg3Default, arg4Default, arg5Default); } /** * Constructor with argument checker */ public Signal5Default5(@StrictNonNull Supplier arg1Default, @StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, QMetaObject.@StrictNonNull ArgChecker5 argumentTest) { super(arg1Default, arg2Default, arg3Default, arg4Default, arg5Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes six * parameters and providing a default value for parameter no. 6. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. */ public final class Signal6Default1 extends QMetaObject.AbstractSignal6Default1{ @SuppressWarnings("unused") private Signal6Default1() { } public Signal6Default1(@StrictNonNull Supplier arg6Default){ super(arg6Default); } /** * Constructor with argument checker */ public Signal6Default1(@StrictNonNull Supplier arg6Default, QMetaObject.@StrictNonNull ArgChecker6 argumentTest) { super(arg6Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes six * parameters and providing default values for parameters 5 and 6. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. */ public final class Signal6Default2 extends QMetaObject.AbstractSignal6Default2{ @SuppressWarnings("unused") private Signal6Default2() { } public Signal6Default2(@StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default){ super(arg5Default, arg6Default); } /** * Constructor with argument checker */ public Signal6Default2(@StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, QMetaObject.@StrictNonNull ArgChecker6 argumentTest) { super(arg5Default, arg6Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes six * parameters and providing default values for parameters 4 to 6. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. */ public final class Signal6Default3 extends QMetaObject.AbstractSignal6Default3{ @SuppressWarnings("unused") private Signal6Default3() { } public Signal6Default3(@StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default){ super(arg4Default, arg5Default, arg6Default); } /** * Constructor with argument checker */ public Signal6Default3(@StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, QMetaObject.@StrictNonNull ArgChecker6 argumentTest) { super(arg4Default, arg5Default, arg6Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes six * parameters and providing default values for parameters 3 to 6. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. */ public final class Signal6Default4 extends QMetaObject.AbstractSignal6Default4{ @SuppressWarnings("unused") private Signal6Default4() { } public Signal6Default4(@StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default){ super(arg3Default, arg4Default, arg5Default, arg6Default); } /** * Constructor with argument checker */ public Signal6Default4(@StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, QMetaObject.@StrictNonNull ArgChecker6 argumentTest) { super(arg3Default, arg4Default, arg5Default, arg6Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes six * parameters and providing default values for parameters 2 to 6. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. */ public final class Signal6Default5 extends QMetaObject.AbstractSignal6Default5{ @SuppressWarnings("unused") private Signal6Default5() { } public Signal6Default5(@StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default){ super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default); } /** * Constructor with argument checker */ public Signal6Default5(@StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, QMetaObject.@StrictNonNull ArgChecker6 argumentTest) { super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes six * parameters and providing default values for parameters 1 to 6. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. */ public final class Signal6Default6 extends QMetaObject.AbstractSignal6Default6{ @SuppressWarnings("unused") private Signal6Default6() { } public Signal6Default6(@StrictNonNull Supplier arg1Default, @StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default){ super(arg1Default, arg2Default, arg3Default, arg4Default, arg5Default, arg6Default); } /** * Constructor with argument checker */ public Signal6Default6(@StrictNonNull Supplier arg1Default, @StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, QMetaObject.@StrictNonNull ArgChecker6 argumentTest) { super(arg1Default, arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes seven * parameters and providing a default value for parameter no. 7. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. */ public final class Signal7Default1 extends QMetaObject.AbstractSignal7Default1{ @SuppressWarnings("unused") private Signal7Default1() { } public Signal7Default1(@StrictNonNull Supplier arg7Default){ super(arg7Default); } /** * Constructor with argument checker */ public Signal7Default1(@StrictNonNull Supplier arg7Default, QMetaObject.@StrictNonNull ArgChecker7 argumentTest) { super(arg7Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes seven * parameters and providing default values for parameters 6 and 7. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. */ public final class Signal7Default2 extends QMetaObject.AbstractSignal7Default2 { @SuppressWarnings("unused") private Signal7Default2() { } public Signal7Default2(@StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default){ super(arg6Default, arg7Default); } /** * Constructor with argument checker */ public Signal7Default2(@StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, QMetaObject.@StrictNonNull ArgChecker7 argumentTest) { super(arg6Default, arg7Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes seven * parameters and providing default values for parameters 5 to 7. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. */ public final class Signal7Default3 extends QMetaObject.AbstractSignal7Default3 { @SuppressWarnings("unused") private Signal7Default3() { } public Signal7Default3(@StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default){ super(arg5Default, arg6Default, arg7Default); } /** * Constructor with argument checker */ public Signal7Default3(@StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, QMetaObject.@StrictNonNull ArgChecker7 argumentTest) { super(arg5Default, arg6Default, arg7Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes seven * parameters and providing default values for parameters 4 to 7. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. */ public final class Signal7Default4 extends QMetaObject.AbstractSignal7Default4 { @SuppressWarnings("unused") private Signal7Default4() { } public Signal7Default4(@StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default){ super(arg4Default, arg5Default, arg6Default, arg7Default); } /** * Constructor with argument checker */ public Signal7Default4(@StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, QMetaObject.@StrictNonNull ArgChecker7 argumentTest) { super(arg4Default, arg5Default, arg6Default, arg7Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes seven * parameters and providing default values for parameters 3 to 7. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. */ public final class Signal7Default5 extends QMetaObject.AbstractSignal7Default5 { @SuppressWarnings("unused") private Signal7Default5() { } public Signal7Default5(@StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default){ super(arg3Default, arg4Default, arg5Default, arg6Default, arg7Default); } /** * Constructor with argument checker */ public Signal7Default5(@StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, QMetaObject.@StrictNonNull ArgChecker7 argumentTest) { super(arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes seven * parameters and providing default values for parameters 2 to 7. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. */ public final class Signal7Default6 extends QMetaObject.AbstractSignal7Default6 { @SuppressWarnings("unused") private Signal7Default6() { } public Signal7Default6(@StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default){ super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default); } /** * Constructor with argument checker */ public Signal7Default6(@StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, QMetaObject.@StrictNonNull ArgChecker7 argumentTest) { super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes seven * parameters and providing default values for parameters 1 to 7. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. */ public final class Signal7Default7 extends QMetaObject.AbstractSignal7Default7{ @SuppressWarnings("unused") private Signal7Default7() { } public Signal7Default7(@StrictNonNull Supplier arg1Default, @StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default){ super(arg1Default, arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default); } /** * Constructor with argument checker */ public Signal7Default7(@StrictNonNull Supplier arg1Default, @StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, QMetaObject.@StrictNonNull ArgChecker7 argumentTest) { super(arg1Default, arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes eight * parameters and providing a default value for parameter no. 8. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. */ public final class Signal8Default1 extends QMetaObject.AbstractSignal8Default1{ @SuppressWarnings("unused") private Signal8Default1() { } public Signal8Default1(@StrictNonNull Supplier arg8Default){ super(arg8Default); } /** * Constructor with argument checker */ public Signal8Default1(@StrictNonNull Supplier arg8Default, QMetaObject.@StrictNonNull ArgChecker8 argumentTest) { super(arg8Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes eight * parameters and providing default values for parameters 7 and 8. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. */ public final class Signal8Default2 extends QMetaObject.AbstractSignal8Default2 { @SuppressWarnings("unused") private Signal8Default2() { } public Signal8Default2(@StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default){ super(arg7Default, arg8Default); } /** * Constructor with argument checker */ public Signal8Default2(@StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default, QMetaObject.@StrictNonNull ArgChecker8 argumentTest) { super(arg7Default, arg8Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes eight * parameters and providing default values for parameters 6 to 8. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. */ public final class Signal8Default3 extends QMetaObject.AbstractSignal8Default3 { @SuppressWarnings("unused") private Signal8Default3() { } public Signal8Default3(@StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default){ super(arg6Default, arg7Default, arg8Default); } /** * Constructor with argument checker */ public Signal8Default3(@StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default, QMetaObject.@StrictNonNull ArgChecker8 argumentTest) { super(arg6Default, arg7Default, arg8Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes eight * parameters and providing default values for parameters 5 to 8. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. */ public final class Signal8Default4 extends QMetaObject.AbstractSignal8Default4 { @SuppressWarnings("unused") private Signal8Default4() { } public Signal8Default4(@StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default){ super(arg5Default, arg6Default, arg7Default, arg8Default); } /** * Constructor with argument checker */ public Signal8Default4(@StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default, QMetaObject.@StrictNonNull ArgChecker8 argumentTest) { super(arg5Default, arg6Default, arg7Default, arg8Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes eight * parameters and providing default values for parameters 4 to 8. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. */ public final class Signal8Default5 extends QMetaObject.AbstractSignal8Default5 { @SuppressWarnings("unused") private Signal8Default5() { } public Signal8Default5(@StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default){ super(arg4Default, arg5Default, arg6Default, arg7Default, arg8Default); } /** * Constructor with argument checker */ public Signal8Default5(@StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default, QMetaObject.@StrictNonNull ArgChecker8 argumentTest) { super(arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes eight * parameters and providing default values for parameters 3 to 8. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. */ public final class Signal8Default6 extends QMetaObject.AbstractSignal8Default6 { @SuppressWarnings("unused") private Signal8Default6() { } public Signal8Default6(@StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default){ super(arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default); } /** * Constructor with argument checker */ public Signal8Default6(@StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default, QMetaObject.@StrictNonNull ArgChecker8 argumentTest) { super(arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes eight * parameters and providing default values for parameters 2 to 8. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. */ public final class Signal8Default7 extends QMetaObject.AbstractSignal8Default7 { @SuppressWarnings("unused") private Signal8Default7() { } public Signal8Default7(@StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default){ super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default); } /** * Constructor with argument checker */ public Signal8Default7(@StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default, QMetaObject.@StrictNonNull ArgChecker8 argumentTest) { super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes eight * parameters and providing default values for parameters 1 to 8. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. */ public final class Signal8Default8 extends QMetaObject.AbstractSignal8Default8{ @SuppressWarnings("unused") private Signal8Default8() { } public Signal8Default8(@StrictNonNull Supplier arg1Default, @StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default){ super(arg1Default, arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default); } /** * Constructor with argument checker */ public Signal8Default8(@StrictNonNull Supplier arg1Default, @StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default, QMetaObject.@StrictNonNull ArgChecker8 argumentTest) { super(arg1Default, arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes nine * parameters and providing a default value for parameter no. 9. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. */ public final class Signal9Default1 extends QMetaObject.AbstractSignal9Default1{ @SuppressWarnings("unused") private Signal9Default1() { } public Signal9Default1(@StrictNonNull Supplier arg9Default){ super(arg9Default); } /** * Constructor with argument checker */ public Signal9Default1(@StrictNonNull Supplier arg9Default, QMetaObject.@StrictNonNull ArgChecker9 argumentTest) { super(arg9Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes nine * parameters and providing default values for parameters 8 and 9. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. */ public final class Signal9Default2 extends QMetaObject.AbstractSignal9Default2 { @SuppressWarnings("unused") private Signal9Default2() { } public Signal9Default2(@StrictNonNull Supplier arg8Default, @StrictNonNull Supplier arg9Default){ super(arg8Default, arg9Default); } /** * Constructor with argument checker */ public Signal9Default2(@StrictNonNull Supplier arg8Default, @StrictNonNull Supplier arg9Default, QMetaObject.@StrictNonNull ArgChecker9 argumentTest) { super(arg8Default, arg9Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes nine * parameters and providing default values for parameters 7 to 9. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. */ public final class Signal9Default3 extends QMetaObject.AbstractSignal9Default3 { @SuppressWarnings("unused") private Signal9Default3() { } public Signal9Default3(@StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default, @StrictNonNull Supplier arg9Default){ super(arg7Default, arg8Default, arg9Default); } /** * Constructor with argument checker */ public Signal9Default3(@StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default, @StrictNonNull Supplier arg9Default, QMetaObject.@StrictNonNull ArgChecker9 argumentTest) { super(arg7Default, arg8Default, arg9Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes nine * parameters and providing default values for parameters 6 to 9. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. */ public final class Signal9Default4 extends QMetaObject.AbstractSignal9Default4 { @SuppressWarnings("unused") private Signal9Default4() { } public Signal9Default4(@StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default, @StrictNonNull Supplier arg9Default){ super(arg6Default, arg7Default, arg8Default, arg9Default); } /** * Constructor with argument checker */ public Signal9Default4(@StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default, @StrictNonNull Supplier arg9Default, QMetaObject.@StrictNonNull ArgChecker9 argumentTest) { super(arg6Default, arg7Default, arg8Default, arg9Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes nine * parameters and providing default values for parameters 5 to 9. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. */ public final class Signal9Default5 extends QMetaObject.AbstractSignal9Default5 { @SuppressWarnings("unused") private Signal9Default5() { } public Signal9Default5(@StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default, @StrictNonNull Supplier arg9Default){ super(arg5Default, arg6Default, arg7Default, arg8Default, arg9Default); } /** * Constructor with argument checker */ public Signal9Default5(@StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default, @StrictNonNull Supplier arg9Default, QMetaObject.@StrictNonNull ArgChecker9 argumentTest) { super(arg5Default, arg6Default, arg7Default, arg8Default, arg9Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes nine * parameters and providing default values for parameters 4 to 9. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. */ public final class Signal9Default6 extends QMetaObject.AbstractSignal9Default6 { @SuppressWarnings("unused") private Signal9Default6() { } public Signal9Default6(@StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default, @StrictNonNull Supplier arg9Default){ super(arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default); } /** * Constructor with argument checker */ public Signal9Default6(@StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default, @StrictNonNull Supplier arg9Default, QMetaObject.@StrictNonNull ArgChecker9 argumentTest) { super(arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes nine * parameters and providing default values for parameters 3 to 9. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. */ public final class Signal9Default7 extends QMetaObject.AbstractSignal9Default7 { @SuppressWarnings("unused") private Signal9Default7() { } public Signal9Default7(@StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default, @StrictNonNull Supplier arg9Default){ super(arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default); } /** * Constructor with argument checker */ public Signal9Default7(@StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default, @StrictNonNull Supplier arg9Default, QMetaObject.@StrictNonNull ArgChecker9 argumentTest) { super(arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes nine * parameters and providing default values for parameters 2 to 9. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. */ public final class Signal9Default8 extends QMetaObject.AbstractSignal9Default8 { @SuppressWarnings("unused") private Signal9Default8() { } public Signal9Default8(@StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default, @StrictNonNull Supplier arg9Default){ super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default); } /** * Constructor with argument checker */ public Signal9Default8(@StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default, @StrictNonNull Supplier arg9Default, QMetaObject.@StrictNonNull ArgChecker9 argumentTest) { super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes nine * parameters and providing default values for parameters 1 to 9. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. */ public final class Signal9Default9 extends QMetaObject.AbstractSignal9Default9{ @SuppressWarnings("unused") private Signal9Default9() { } public Signal9Default9(@StrictNonNull Supplier arg1Default, @StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default, @StrictNonNull Supplier arg9Default){ super(arg1Default, arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default); } /** * Constructor with argument checker */ public Signal9Default9(@StrictNonNull Supplier arg1Default, @StrictNonNull Supplier arg2Default, @StrictNonNull Supplier arg3Default, @StrictNonNull Supplier arg4Default, @StrictNonNull Supplier arg5Default, @StrictNonNull Supplier arg6Default, @StrictNonNull Supplier arg7Default, @StrictNonNull Supplier arg8Default, @StrictNonNull Supplier arg9Default, QMetaObject.@StrictNonNull ArgChecker9 argumentTest) { super(arg1Default, arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default, argumentTest); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes no * parameters. * * Private signals do not have an emit method, as they can only be * emitted from inside the declaring class. */ public final class PrivateSignal0 extends QMetaObject.AbstractPrivateSignal0 { /** * Default constructor */ public PrivateSignal0() { super(); } /** * Emits the signal. */ @QtUninvokable private final void emit() { emitSignal(); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes one * parameter. * * Private signals do not have an emit method, as they can only be * emitted from inside the declaring class. * * @param The type of the single parameter of the signal. */ public final class PrivateSignal1 extends QMetaObject.AbstractPrivateSignal1 { /** * Default constructor */ public PrivateSignal1() { super(); } /** * Constructor with argument checker */ public PrivateSignal1(QMetaObject.@StrictNonNull ArgChecker1 argumentTest) { super(argumentTest); } /** * Emits the signal. */ @QtUninvokable private final void emit(A arg1) { emitSignal(arg1); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes two * parameters. * * Private signals do not have an emit method, as they can only be * emitted from inside the declaring class. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. */ public final class PrivateSignal2 extends QMetaObject.AbstractPrivateSignal2 { /** * Default constructor */ public PrivateSignal2() { super(); } /** * Constructor with argument checker */ public PrivateSignal2(QMetaObject.@StrictNonNull ArgChecker2 argumentTest) { super(argumentTest); } /** * Emits the signal. */ @QtUninvokable private final void emit(A arg1, B arg2) { emitSignal(arg1, arg2); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes three * parameters. * * Private signals do not have an emit method, as they can only be * emitted from inside the declaring class. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. */ public final class PrivateSignal3 extends QMetaObject.AbstractPrivateSignal3 { /** * Default constructor */ public PrivateSignal3() { super(); } /** * Constructor with argument checker */ public PrivateSignal3(QMetaObject.@StrictNonNull ArgChecker3 argumentTest) { super(argumentTest); } /** * Emits the signal. */ @QtUninvokable private final void emit(A arg1, B arg2, C arg3) { emitSignal(arg1, arg2, arg3); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes four * parameters. * * Private signals do not have an emit method, as they can only be * emitted from inside the declaring class. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. */ public final class PrivateSignal4 extends QMetaObject.AbstractPrivateSignal4 { /** * Default constructor */ public PrivateSignal4() { super(); } /** * Constructor with argument checker */ public PrivateSignal4(QMetaObject.@StrictNonNull ArgChecker4 argumentTest) { super(argumentTest); } /** * Emits the signal. */ @QtUninvokable private final void emit(A arg1, B arg2, C arg3, D arg4) { emitSignal(arg1, arg2, arg3, arg4); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes five * parameters. * * Private signals do not have an emit method, as they can only be * emitted from inside the declaring class. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. */ public final class PrivateSignal5 extends QMetaObject.AbstractPrivateSignal5 { /** * Default constructor */ public PrivateSignal5() { super(); } /** * Constructor with argument checker */ public PrivateSignal5(QMetaObject.@StrictNonNull ArgChecker5 argumentTest) { super(argumentTest); } /** * Emits the signal. */ @QtUninvokable private final void emit(A arg1, B arg2, C arg3, D arg4, E arg5) { emitSignal(arg1, arg2, arg3, arg4, arg5); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes six * parameters. * * Private signals do not have an emit method, as they can only be * emitted from inside the declaring class. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. */ public final class PrivateSignal6 extends QMetaObject.AbstractPrivateSignal6 { /** * Default constructor */ public PrivateSignal6() { super(); } /** * Constructor with argument checker */ public PrivateSignal6(QMetaObject.@StrictNonNull ArgChecker6 argumentTest) { super(argumentTest); } /** * Emits the signal. */ @QtUninvokable private final void emit(A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) { emitSignal(arg1, arg2, arg3, arg4, arg5, arg6); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes seven * parameters. * * Private signals do not have an emit method, as they can only be * emitted from inside the declaring class. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. */ public final class PrivateSignal7 extends QMetaObject.AbstractPrivateSignal7 { /** * Default constructor */ public PrivateSignal7() { super(); } /** * Constructor with argument checker */ public PrivateSignal7(QMetaObject.@StrictNonNull ArgChecker7 argumentTest) { super(argumentTest); } /** * Emits the signal. */ @QtUninvokable private final void emit(A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7) { emitSignal(arg1, arg2, arg3, arg4, arg5, arg6, arg7); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes eight * parameters. * * Private signals do not have an emit method, as they can only be * emitted from inside the declaring class. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. */ public final class PrivateSignal8 extends QMetaObject.AbstractPrivateSignal8 { /** * Default constructor */ public PrivateSignal8() { super(); } /** * Constructor with argument checker */ public PrivateSignal8(QMetaObject.@StrictNonNull ArgChecker8 argumentTest) { super(argumentTest); } /** * Emits the signal. */ @QtUninvokable private final void emit(A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8) { emitSignal(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Declare and instantiate a field of this class in your * QObject subclass to declare a signal that takes nine * parameters. * * Private signals do not have an emit method, as they can only be * emitted from inside the declaring class. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. */ public final class PrivateSignal9 extends QMetaObject.AbstractPrivateSignal9 { /** * Default constructor */ public PrivateSignal9() { super(); } /** * Constructor with argument checker */ public PrivateSignal9(QMetaObject.@StrictNonNull ArgChecker9 argumentTest) { super(argumentTest); } /** * Emits the signal. */ @QtUninvokable private final void emit(A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8, I arg9) { emitSignal(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } } /** * Emits a private signal. This method may only be called from inside the signal owning object. * * @param signal the signal to be emitted * @throws QSignalAccessException if signal is emitted from outside the declaring class. */ protected static void emit(@StrictNonNull PrivateSignal0 signal) throws QSignalAccessException { Class callerClass = QtJambi_LibraryUtilities.internal.callerClassProvider().get(); Class signalDeclaringClass = signal.signalDeclaringClass(); if(callerClass==signalDeclaringClass || (MultiSignal.class.isAssignableFrom(callerClass) && callerClass.getEnclosingClass()==signalDeclaringClass)) { signal.emit(); }else { throw new QSignalAccessException(signalDeclaringClass, signal.name(), callerClass); } } /** * Emits a private signal. This method may only be called from inside the signal owning object. * * @param The type of the first parameter of the signal. * @param signal the signal to be emitted * @param arg1 The argument for the first parameter of the signal. * @throws QSignalAccessException if signal is emitted from outside the declaring class. */ protected static void emit(@StrictNonNull PrivateSignal1 signal, A arg1) throws QSignalAccessException { Class callerClass = QtJambi_LibraryUtilities.internal.callerClassProvider().get(); Class signalDeclaringClass = signal.signalDeclaringClass(); if(callerClass==signalDeclaringClass || (MultiSignal.class.isAssignableFrom(callerClass) && callerClass.getEnclosingClass()==signalDeclaringClass)) { signal.emit(arg1); }else { throw new QSignalAccessException(signalDeclaringClass, signal.name(), callerClass); } } /** * Emits a private signal. This method may only be called from inside the signal owning object. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal the signal to be emitted * @param arg1 The argument for the first parameter of the signal. * @param arg2 The argument for the second parameter of the signal. * @throws QSignalAccessException if signal is emitted from outside the declaring class. */ protected static void emit(@StrictNonNull PrivateSignal2 signal, A arg1, B arg2) throws QSignalAccessException { Class callerClass = QtJambi_LibraryUtilities.internal.callerClassProvider().get(); Class signalDeclaringClass = signal.signalDeclaringClass(); if(callerClass==signalDeclaringClass || (MultiSignal.class.isAssignableFrom(callerClass) && callerClass.getEnclosingClass()==signalDeclaringClass)) { signal.emit(arg1, arg2); }else { throw new QSignalAccessException(signalDeclaringClass, signal.name(), callerClass); } } /** * Emits a private signal. This method may only be called from inside the signal owning object. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal the signal to be emitted * @param arg1 The argument for the first parameter of the signal. * @param arg2 The argument for the second parameter of the signal. * @param arg3 The argument for the third parameter of the signal. * @throws QSignalAccessException if signal is emitted from outside the declaring class. */ protected static void emit(@StrictNonNull PrivateSignal3 signal, A arg1, B arg2, C arg3) throws QSignalAccessException { Class callerClass = QtJambi_LibraryUtilities.internal.callerClassProvider().get(); Class signalDeclaringClass = signal.signalDeclaringClass(); if(callerClass==signalDeclaringClass || (MultiSignal.class.isAssignableFrom(callerClass) && callerClass.getEnclosingClass()==signalDeclaringClass)) { signal.emit(arg1, arg2, arg3); }else { throw new QSignalAccessException(signalDeclaringClass, signal.name(), callerClass); } } /** * Emits a private signal. This method may only be called from inside the signal owning object. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal the signal to be emitted * @param arg1 The argument for the first parameter of the signal. * @param arg2 The argument for the second parameter of the signal. * @param arg3 The argument for the third parameter of the signal. * @param arg4 The argument for the fourth parameter of the signal. * @throws QSignalAccessException if signal is emitted from outside the declaring class. */ protected static void emit(@StrictNonNull PrivateSignal4 signal, A arg1, B arg2, C arg3, D arg4) throws QSignalAccessException { Class callerClass = QtJambi_LibraryUtilities.internal.callerClassProvider().get(); Class signalDeclaringClass = signal.signalDeclaringClass(); if(callerClass==signalDeclaringClass || (MultiSignal.class.isAssignableFrom(callerClass) && callerClass.getEnclosingClass()==signalDeclaringClass)) { signal.emit(arg1, arg2, arg3, arg4); }else { throw new QSignalAccessException(signalDeclaringClass, signal.name(), callerClass); } } /** * Emits a private signal. This method may only be called from inside the signal owning object. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal the signal to be emitted * @param arg1 The argument for the first parameter of the signal. * @param arg2 The argument for the second parameter of the signal. * @param arg3 The argument for the third parameter of the signal. * @param arg4 The argument for the fourth parameter of the signal. * @param arg5 The argument for the fifth parameter of the signal. * @throws QSignalAccessException if signal is emitted from outside the declaring class. */ protected static void emit(@StrictNonNull PrivateSignal5 signal, A arg1, B arg2, C arg3, D arg4, E arg5) throws QSignalAccessException { Class callerClass = QtJambi_LibraryUtilities.internal.callerClassProvider().get(); Class signalDeclaringClass = signal.signalDeclaringClass(); if(callerClass==signalDeclaringClass || (MultiSignal.class.isAssignableFrom(callerClass) && callerClass.getEnclosingClass()==signalDeclaringClass)) { signal.emit(arg1, arg2, arg3, arg4, arg5); }else { throw new QSignalAccessException(signalDeclaringClass, signal.name(), callerClass); } } /** * Emits a private signal. This method may only be called from inside the signal owning object. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal the signal to be emitted * @param arg1 The argument for the first parameter of the signal. * @param arg2 The argument for the second parameter of the signal. * @param arg3 The argument for the third parameter of the signal. * @param arg4 The argument for the fourth parameter of the signal. * @param arg5 The argument for the fifth parameter of the signal. * @param arg6 The argument for the sixth parameter of the signal. * @throws QSignalAccessException if signal is emitted from outside the declaring class. */ protected static void emit(@StrictNonNull PrivateSignal6 signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) throws QSignalAccessException { Class callerClass = QtJambi_LibraryUtilities.internal.callerClassProvider().get(); Class signalDeclaringClass = signal.signalDeclaringClass(); if(callerClass==signalDeclaringClass || (MultiSignal.class.isAssignableFrom(callerClass) && callerClass.getEnclosingClass()==signalDeclaringClass)) { signal.emit(arg1, arg2, arg3, arg4, arg5, arg6); }else { throw new QSignalAccessException(signalDeclaringClass, signal.name(), callerClass); } } /** * Emits a private signal. This method may only be called from inside the signal owning object. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal the signal to be emitted * @param arg1 The argument for the first parameter of the signal. * @param arg2 The argument for the second parameter of the signal. * @param arg3 The argument for the third parameter of the signal. * @param arg4 The argument for the fourth parameter of the signal. * @param arg5 The argument for the fifth parameter of the signal. * @param arg6 The argument for the sixth parameter of the signal. * @param arg7 The argument for the seventh parameter of the signal. * @throws QSignalAccessException if signal is emitted from outside the declaring class. */ protected static void emit(@StrictNonNull PrivateSignal7 signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7) throws QSignalAccessException { Class callerClass = QtJambi_LibraryUtilities.internal.callerClassProvider().get(); Class signalDeclaringClass = signal.signalDeclaringClass(); if(callerClass==signalDeclaringClass || (MultiSignal.class.isAssignableFrom(callerClass) && callerClass.getEnclosingClass()==signalDeclaringClass)) { signal.emit(arg1, arg2, arg3, arg4, arg5, arg6, arg7); }else { throw new QSignalAccessException(signalDeclaringClass, signal.name(), callerClass); } } /** * Emits a private signal. This method may only be called from inside the signal owning object. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal the signal to be emitted * @param arg1 The argument for the first parameter of the signal. * @param arg2 The argument for the second parameter of the signal. * @param arg3 The argument for the third parameter of the signal. * @param arg4 The argument for the fourth parameter of the signal. * @param arg5 The argument for the fifth parameter of the signal. * @param arg6 The argument for the sixth parameter of the signal. * @param arg7 The argument for the seventh parameter of the signal. * @param arg8 The argument for the eighth parameter of the signal. * @throws QSignalAccessException if signal is emitted from outside the declaring class. */ protected static void emit(@StrictNonNull PrivateSignal8 signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8) throws QSignalAccessException { Class callerClass = QtJambi_LibraryUtilities.internal.callerClassProvider().get(); Class signalDeclaringClass = signal.signalDeclaringClass(); if(callerClass==signalDeclaringClass || (MultiSignal.class.isAssignableFrom(callerClass) && callerClass.getEnclosingClass()==signalDeclaringClass)) { signal.emit(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); }else { throw new QSignalAccessException(signalDeclaringClass, signal.name(), callerClass); } } /** * Emits a private signal. This method may only be called from inside the signal owning object. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal the signal to be emitted * @param arg1 The argument for the first parameter of the signal. * @param arg2 The argument for the second parameter of the signal. * @param arg3 The argument for the third parameter of the signal. * @param arg4 The argument for the fourth parameter of the signal. * @param arg5 The argument for the fifth parameter of the signal. * @param arg6 The argument for the sixth parameter of the signal. * @param arg7 The argument for the seventh parameter of the signal. * @param arg8 The argument for the eighth parameter of the signal. * @param arg9 The argument for the ninth parameter of the signal. * @throws QSignalAccessException if signal is emitted from outside the declaring class. */ protected static void emit(@StrictNonNull PrivateSignal9 signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8, I arg9) throws QSignalAccessException { Class callerClass = QtJambi_LibraryUtilities.internal.callerClassProvider().get(); Class signalDeclaringClass = signal.signalDeclaringClass(); if(callerClass==signalDeclaringClass || (MultiSignal.class.isAssignableFrom(callerClass) && callerClass.getEnclosingClass()==signalDeclaringClass)) { signal.emit(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); }else { throw new QSignalAccessException(signalDeclaringClass, signal.name(), callerClass); } } /** * Wrapper class supporting the definition of overloaded signal in a class. * To implement multi signals subclass this MultiSignal class and add overloaded emit methods. */ public abstract class MultiSignal extends QMetaObject.AbstractMultiSignal { protected MultiSignal(){ super(); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final @NonNull QObject containingObject() { return QObject.this; } /** * Removes the given connection from this signal. * * @param connection the connection to be removed * @return true if the disconnection was successful. */ public final boolean disconnect(QMetaObject.@NonNull Connection connection) { return super.disconnect(connection); } /** * Disconnects all overloaded signals. * @return true if any disconnection was successful. */ @Override public final boolean disconnectAll() { return super.disconnectAll(); } /** * Connects the signal to a method in an object. Whenever it is emitted, the method will be invoked * on the given object. * * @param receiver The object that owns the method * @param method The signature of the method excluding return type and argument names, such as "setText(String)". * @param connectionType One of the connection types defined in the Qt interface. * @throws QNoSuchSlotException Raised if the method passed in the slot object was not found * @throws java.lang.RuntimeException Raised if the signal object could not be successfully introspected or if the * signatures of the signal and slot are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Object receiver, @StrictNonNull String method, Qt.@NonNull ConnectionType @NonNull... connectionType) { if (receiver == null) throw new NullPointerException("Receiver must be non-null"); if (method == null) throw new NullPointerException("Slot must be non-null"); return super.connect(receiver, method, connectionType); } /** * Disconnects the signal from a method in an object if the two were previously connected by a call to connect. * * @param receiver The object to which the signal is connected * @param method The method in the receiver object to which the signal is connected * @return true if the connection was successfully removed, otherwise false. The method will return false if the * connection has not been previously established by a call to connect. * @throws QNoSuchSlotException Raised if the method passed in the slot object was not found */ public final boolean disconnect(@Nullable Object receiver, @Nullable String method) { if (method != null && receiver == null) throw new IllegalArgumentException("Receiver cannot be null if you specify a method"); return super.disconnect(receiver, method); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull Slot0 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) throws QNoSuchSignalException{ return super.connect(slot, connectionType); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(QMetaObject.@NonNull Slot0 slot) { return super.disconnect(slot); } /** * Initializes a connection to the signal. * * @param signal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull Connectable0 signal, Qt.@NonNull ConnectionType @NonNull... connectionType) throws QNoSuchSignalException{ return super.connect((QMetaObject.AbstractSignal)signal, connectionType); } /** * Removes the connection to the given signal. * * @param signal the signal to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(QMetaObject.@NonNull Connectable0 signal) { return super.disconnect((QMetaObject.AbstractSignal)signal); } /** * Initializes a connection to the signal. * * @param signal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPublicSignal0 signal, Qt.@NonNull ConnectionType @NonNull... connectionType) throws QNoSuchSignalException{ return super.connect(signal, connectionType); } /** * Removes the connection to the given signal. * * @param signal the signal to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(QMetaObject.@StrictNonNull AbstractPublicSignal0 signal) { return super.disconnect(signal); } @QtUninvokable private QMetaObject.Connection connectSlot(QMetaObject.AbstractSlot slotObject, Qt.ConnectionType[] connectionType) { return super.connect(slotObject, connectionType); } @QtUninvokable private boolean disconnectSlot(QMetaObject.AbstractSlot slotObject) { return super.disconnect(slotObject); } @QtUninvokable private QMetaObject.Connection connectSignal(QMetaObject.AbstractSignal slotObject, Qt.ConnectionType[] connectionType) { return super.connect(slotObject, connectionType); } @QtUninvokable private boolean disconnectSignal(QMetaObject.AbstractSignal slotObject) { return super.disconnect(slotObject); } } /** * Initializes a connection between the given signal and slot. * * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal0 signal, QMetaObject.@StrictNonNull Slot0 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal1 signal, QMetaObject.@StrictNonNull Slot0 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal1 signal, QMetaObject.@StrictNonNull Slot1 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal2 signal, QMetaObject.@StrictNonNull Slot0 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal2 signal, QMetaObject.@StrictNonNull Slot1 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal2 signal, QMetaObject.@StrictNonNull Slot2 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal3 signal, QMetaObject.@StrictNonNull Slot0 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal3 signal, QMetaObject.@StrictNonNull Slot1 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal3 signal, QMetaObject.@StrictNonNull Slot2 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal3 signal, QMetaObject.@StrictNonNull Slot3 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal4 signal, QMetaObject.@StrictNonNull Slot0 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal4 signal, QMetaObject.@StrictNonNull Slot1 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal4 signal, QMetaObject.@StrictNonNull Slot2 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal4 signal, QMetaObject.@StrictNonNull Slot3 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal4 signal, QMetaObject.@StrictNonNull Slot4 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal5 signal, QMetaObject.@StrictNonNull Slot0 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal5 signal, QMetaObject.@StrictNonNull Slot1 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal5 signal, QMetaObject.@StrictNonNull Slot2 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal5 signal, QMetaObject.@StrictNonNull Slot3 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal5 signal, QMetaObject.@StrictNonNull Slot4 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal5 signal, QMetaObject.@StrictNonNull Slot5 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal6 signal, QMetaObject.@StrictNonNull Slot0 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal6 signal, QMetaObject.@StrictNonNull Slot1 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal6 signal, QMetaObject.@StrictNonNull Slot2 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal6 signal, QMetaObject.@StrictNonNull Slot3 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal6 signal, QMetaObject.@StrictNonNull Slot4 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal6 signal, QMetaObject.@StrictNonNull Slot5 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal6 signal, QMetaObject.@StrictNonNull Slot6 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal7 signal, QMetaObject.@StrictNonNull Slot0 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal7 signal, QMetaObject.@StrictNonNull Slot1 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal7 signal, QMetaObject.@StrictNonNull Slot2 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal7 signal, QMetaObject.@StrictNonNull Slot3 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal7 signal, QMetaObject.@StrictNonNull Slot4 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal7 signal, QMetaObject.@StrictNonNull Slot5 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal7 signal, QMetaObject.@StrictNonNull Slot6 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal7 signal, QMetaObject.@StrictNonNull Slot7 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal8 signal, QMetaObject.@StrictNonNull Slot0 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal8 signal, QMetaObject.@StrictNonNull Slot1 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal8 signal, QMetaObject.@StrictNonNull Slot2 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal8 signal, QMetaObject.@StrictNonNull Slot3 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal8 signal, QMetaObject.@StrictNonNull Slot4 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal8 signal, QMetaObject.@StrictNonNull Slot5 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal8 signal, QMetaObject.@StrictNonNull Slot6 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal8 signal, QMetaObject.@StrictNonNull Slot7 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal8 signal, QMetaObject.@StrictNonNull Slot8 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal9 signal, QMetaObject.@StrictNonNull Slot0 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal9 signal, QMetaObject.@StrictNonNull Slot1 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal9 signal, QMetaObject.@StrictNonNull Slot2 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal9 signal, QMetaObject.@StrictNonNull Slot3 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal9 signal, QMetaObject.@StrictNonNull Slot4 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal9 signal, QMetaObject.@StrictNonNull Slot5 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal9 signal, QMetaObject.@StrictNonNull Slot6 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal9 signal, QMetaObject.@StrictNonNull Slot7 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal9 signal, QMetaObject.@StrictNonNull Slot8 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal9 signal, QMetaObject.@StrictNonNull Slot9 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(slot, connectionType); } /** * Removes the connection between the given signal and slot. * * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal0 signal, QMetaObject.@StrictNonNull Slot0 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal1 signal, QMetaObject.@StrictNonNull Slot0 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal1 signal, QMetaObject.@StrictNonNull Slot1 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal2 signal, QMetaObject.@StrictNonNull Slot0 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal2 signal, QMetaObject.@StrictNonNull Slot1 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal2 signal, QMetaObject.@StrictNonNull Slot2 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal3 signal, QMetaObject.@StrictNonNull Slot0 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal3 signal, QMetaObject.@StrictNonNull Slot1 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal3 signal, QMetaObject.@StrictNonNull Slot2 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal3 signal, QMetaObject.@StrictNonNull Slot3 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal4 signal, QMetaObject.@StrictNonNull Slot0 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal4 signal, QMetaObject.@StrictNonNull Slot1 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal4 signal, QMetaObject.@StrictNonNull Slot2 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal4 signal, QMetaObject.@StrictNonNull Slot3 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal4 signal, QMetaObject.@StrictNonNull Slot4 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal5 signal, QMetaObject.@StrictNonNull Slot0 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal5 signal, QMetaObject.@StrictNonNull Slot1 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal5 signal, QMetaObject.@StrictNonNull Slot2 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal5 signal, QMetaObject.@StrictNonNull Slot3 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal5 signal, QMetaObject.@StrictNonNull Slot4 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal5 signal, QMetaObject.@StrictNonNull Slot5 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal6 signal, QMetaObject.@StrictNonNull Slot0 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal6 signal, QMetaObject.@StrictNonNull Slot1 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal6 signal, QMetaObject.@StrictNonNull Slot2 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal6 signal, QMetaObject.@StrictNonNull Slot3 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal6 signal, QMetaObject.@StrictNonNull Slot4 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal6 signal, QMetaObject.@StrictNonNull Slot5 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal6 signal, QMetaObject.@StrictNonNull Slot6 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal7 signal, QMetaObject.@StrictNonNull Slot0 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal7 signal, QMetaObject.@StrictNonNull Slot1 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal7 signal, QMetaObject.@StrictNonNull Slot2 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal7 signal, QMetaObject.@StrictNonNull Slot3 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal7 signal, QMetaObject.@StrictNonNull Slot4 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal7 signal, QMetaObject.@StrictNonNull Slot5 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal7 signal, QMetaObject.@StrictNonNull Slot6 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal7 signal, QMetaObject.@StrictNonNull Slot7 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal8 signal, QMetaObject.@StrictNonNull Slot0 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal8 signal, QMetaObject.@StrictNonNull Slot1 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal8 signal, QMetaObject.@StrictNonNull Slot2 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal8 signal, QMetaObject.@StrictNonNull Slot3 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal8 signal, QMetaObject.@StrictNonNull Slot4 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal8 signal, QMetaObject.@StrictNonNull Slot5 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal8 signal, QMetaObject.@StrictNonNull Slot6 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal8 signal, QMetaObject.@StrictNonNull Slot7 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal8 signal, QMetaObject.@StrictNonNull Slot8 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal9 signal, QMetaObject.@StrictNonNull Slot0 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal9 signal, QMetaObject.@StrictNonNull Slot1 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal9 signal, QMetaObject.@StrictNonNull Slot2 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal9 signal, QMetaObject.@StrictNonNull Slot3 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal9 signal, QMetaObject.@StrictNonNull Slot4 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal9 signal, QMetaObject.@StrictNonNull Slot5 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal9 signal, QMetaObject.@StrictNonNull Slot6 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal9 signal, QMetaObject.@StrictNonNull Slot7 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal9 signal, QMetaObject.@StrictNonNull Slot8 slot) { return signal.disconnect(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal9 signal, QMetaObject.@StrictNonNull Slot9 slot) { return signal.disconnect(slot); } /** * Initializes a connection between the given signal and connectSignal. * * @param signal the signal to be connected * @param connectSignal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal0 signal, QMetaObject.Connectable0 connectSignal, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(connectSignal, connectionType); } /** * Removes the connection between the given signal and connectSignal. * * @param signal the signal to be disconnected * @param connectSignal the signal to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal0 signal, QMetaObject.Connectable0 connectSignal) { return signal.disconnect(connectSignal); } /** * Initializes a connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param signal the signal to be connected * @param connectSignal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal1 signal, QMetaObject.Connectable1 connectSignal, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(connectSignal, connectionType); } /** * Removes the connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param signal the signal to be disconnected * @param connectSignal the signal to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal1 signal, QMetaObject.Connectable1 connectSignal) { return signal.disconnect(connectSignal); } /** * Initializes a connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal the signal to be connected * @param connectSignal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal2 signal, QMetaObject.Connectable2 connectSignal, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(connectSignal, connectionType); } /** * Removes the connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal the signal to be disconnected * @param connectSignal the signal to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal2 signal, QMetaObject.Connectable2 connectSignal) { return signal.disconnect(connectSignal); } /** * Initializes a connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal the signal to be connected * @param connectSignal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal3 signal, QMetaObject.Connectable3 connectSignal, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(connectSignal, connectionType); } /** * Removes the connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal the signal to be disconnected * @param connectSignal the signal to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal3 signal, QMetaObject.Connectable3 connectSignal) { return signal.disconnect(connectSignal); } /** * Initializes a connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal the signal to be connected * @param connectSignal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal4 signal, QMetaObject.Connectable4 connectSignal, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(connectSignal, connectionType); } /** * Removes the connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal the signal to be disconnected * @param connectSignal the signal to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal4 signal, QMetaObject.Connectable4 connectSignal) { return signal.disconnect(connectSignal); } /** * Initializes a connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal the signal to be connected * @param connectSignal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal5 signal, QMetaObject.Connectable5 connectSignal, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(connectSignal, connectionType); } /** * Removes the connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal the signal to be disconnected * @param connectSignal the signal to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal5 signal, QMetaObject.Connectable5 connectSignal) { return signal.disconnect(connectSignal); } /** * Initializes a connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal the signal to be connected * @param connectSignal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal6 signal, QMetaObject.Connectable6 connectSignal, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(connectSignal, connectionType); } /** * Removes the connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal the signal to be disconnected * @param connectSignal the signal to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal6 signal, QMetaObject.Connectable6 connectSignal) { return signal.disconnect(connectSignal); } /** * Initializes a connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal the signal to be connected * @param connectSignal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal7 signal, QMetaObject.Connectable7 connectSignal, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(connectSignal, connectionType); } /** * Removes the connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal the signal to be disconnected * @param connectSignal the signal to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal7 signal, QMetaObject.Connectable7 connectSignal) { return signal.disconnect(connectSignal); } /** * Initializes a connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal the signal to be connected * @param connectSignal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal8 signal, QMetaObject.Connectable8 connectSignal, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(connectSignal, connectionType); } /** * Removes the connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal the signal to be disconnected * @param connectSignal the signal to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal8 signal, QMetaObject.Connectable8 connectSignal) { return signal.disconnect(connectSignal); } /** * Initializes a connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal the signal to be connected * @param connectSignal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.@NonNull Connection connect(QMetaObject.@StrictNonNull AbstractPrivateSignal9 signal, QMetaObject.Connectable9 connectSignal, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connect(connectSignal, connectionType); } /** * Removes the connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal the signal to be disconnected * @param connectSignal the signal to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(QMetaObject.@StrictNonNull AbstractPrivateSignal9 signal, QMetaObject.Connectable9 connectSignal) { return signal.disconnect(connectSignal); } /** * Initializes a connection between the given signal and slot. * * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if slot does not match to any of the signatures. */ public static QMetaObject.@NonNull Connection connect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Slot0 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connectSlot(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if slot does not match to any of the signatures. */ public static QMetaObject.@NonNull Connection connect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Slot1 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connectSlot(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if slot does not match to any of the signatures. */ public static QMetaObject.@NonNull Connection connect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Slot2 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connectSlot(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if slot does not match to any of the signatures. */ public static QMetaObject.@NonNull Connection connect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Slot3 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connectSlot(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if slot does not match to any of the signatures. */ public static QMetaObject.@NonNull Connection connect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Slot4 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connectSlot(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if slot does not match to any of the signatures. */ public static QMetaObject.@NonNull Connection connect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Slot5 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connectSlot(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if slot does not match to any of the signatures. */ public static QMetaObject.@NonNull Connection connect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Slot6 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connectSlot(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if slot does not match to any of the signatures. */ public static QMetaObject.@NonNull Connection connect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Slot7 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connectSlot(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if slot does not match to any of the signatures. */ public static QMetaObject.@NonNull Connection connect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Slot8 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connectSlot(slot, connectionType); } /** * Initializes a connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal the signal to be connected * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if slot does not match to any of the signatures. */ public static QMetaObject.@NonNull Connection connect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Slot9 slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connectSlot(slot, connectionType); } /** * Initializes a connection between the given signal and connectSignal. * * @param signal the signal to be connected * @param connectSignal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if their signatures are incompatible. * @throws QMisfittingSignatureException Raised if connectSignal does not match to any of the signatures. */ public static QMetaObject.@NonNull Connection connect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Connectable0 connectSignal, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connectSignal((QMetaObject.AbstractSignal)connectSignal, connectionType); } /** * Initializes a connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param signal the signal to be connected * @param connectSignal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if connectSignal does not match to any of the signatures. */ public static QMetaObject.@NonNull Connection connect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Connectable1 connectSignal, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connectSignal((QMetaObject.AbstractSignal)connectSignal, connectionType); } /** * Initializes a connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal the signal to be connected * @param connectSignal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if connectSignal does not match to any of the signatures. */ public static QMetaObject.@NonNull Connection connect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Connectable2 connectSignal, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connectSignal((QMetaObject.AbstractSignal)connectSignal, connectionType); } /** * Initializes a connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal the signal to be connected * @param connectSignal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if connectSignal does not match to any of the signatures. */ public static QMetaObject.@NonNull Connection connect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Connectable3 connectSignal, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connectSignal((QMetaObject.AbstractSignal)connectSignal, connectionType); } /** * Initializes a connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal the signal to be connected * @param connectSignal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if connectSignal does not match to any of the signatures. */ public static QMetaObject.@NonNull Connection connect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Connectable4 connectSignal, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connectSignal((QMetaObject.AbstractSignal)connectSignal, connectionType); } /** * Initializes a connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal the signal to be connected * @param connectSignal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if connectSignal does not match to any of the signatures. */ public static QMetaObject.@NonNull Connection connect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Connectable5 connectSignal, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connectSignal((QMetaObject.AbstractSignal)connectSignal, connectionType); } /** * Initializes a connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal the signal to be connected * @param connectSignal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if connectSignal does not match to any of the signatures. */ public static QMetaObject.@NonNull Connection connect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Connectable6 connectSignal, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connectSignal((QMetaObject.AbstractSignal)connectSignal, connectionType); } /** * Initializes a connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal the signal to be connected * @param connectSignal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if connectSignal does not match to any of the signatures. */ public static QMetaObject.@NonNull Connection connect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Connectable7 connectSignal, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connectSignal((QMetaObject.AbstractSignal)connectSignal, connectionType); } /** * Initializes a connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal the signal to be connected * @param connectSignal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if connectSignal does not match to any of the signatures. */ public static QMetaObject.@NonNull Connection connect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Connectable8 connectSignal, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connectSignal((QMetaObject.AbstractSignal)connectSignal, connectionType); } /** * Initializes a connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal the signal to be connected * @param connectSignal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws QMisfittingSignatureException Raised if connectSignal does not match to any of the signatures. */ public static QMetaObject.@NonNull Connection connect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Connectable9 connectSignal, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { return signal.connectSignal((QMetaObject.AbstractSignal)connectSignal, connectionType); } /** * Removes the connection between the given signal and slot. * * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Slot0 slot) { return signal.disconnectSlot(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Slot1 slot) { return signal.disconnectSlot(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Slot2 slot) { return signal.disconnectSlot(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Slot3 slot) { return signal.disconnectSlot(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Slot4 slot) { return signal.disconnectSlot(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Slot5 slot) { return signal.disconnectSlot(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Slot6 slot) { return signal.disconnectSlot(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Slot7 slot) { return signal.disconnectSlot(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Slot8 slot) { return signal.disconnectSlot(slot); } /** * Removes the connection between the given signal and slot. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal the signal to be disconnected * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Slot9 slot) { return signal.disconnectSlot(slot); } /** * Removes the connection between the given signal and connectSignal. * * @param signal the signal to be disconnected * @param connectSignal the signal to be connected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Connectable0 connectSignal) { return signal.disconnectSignal((QMetaObject.AbstractSignal)connectSignal); } /** * Removes the connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param signal the signal to be disconnected * @param connectSignal the signal to be connected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Connectable1 connectSignal) { return signal.disconnectSignal((QMetaObject.AbstractSignal)connectSignal); } /** * Removes the connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal the signal to be disconnected * @param connectSignal the signal to be connected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Connectable2 connectSignal) { return signal.disconnectSignal((QMetaObject.AbstractSignal)connectSignal); } /** * Removes the connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal the signal to be disconnected * @param connectSignal the signal to be connected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Connectable3 connectSignal) { return signal.disconnectSignal((QMetaObject.AbstractSignal)connectSignal); } /** * Removes the connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal the signal to be disconnected * @param connectSignal the signal to be connected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Connectable4 connectSignal) { return signal.disconnectSignal((QMetaObject.AbstractSignal)connectSignal); } /** * Removes the connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal the signal to be disconnected * @param connectSignal the signal to be connected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Connectable5 connectSignal) { return signal.disconnectSignal((QMetaObject.AbstractSignal)connectSignal); } /** * Removes the connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal the signal to be disconnected * @param connectSignal the signal to be connected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Connectable6 connectSignal) { return signal.disconnectSignal((QMetaObject.AbstractSignal)connectSignal); } /** * Removes the connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal the signal to be disconnected * @param connectSignal the signal to be connected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Connectable7 connectSignal) { return signal.disconnectSignal((QMetaObject.AbstractSignal)connectSignal); } /** * Removes the connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal the signal to be disconnected * @param connectSignal the signal to be connected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Connectable8 connectSignal) { return signal.disconnectSignal((QMetaObject.AbstractSignal)connectSignal); } /** * Removes the connection between the given signal and connectSignal. * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal the signal to be disconnected * @param connectSignal the signal to be connected * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(@StrictNonNull MultiSignal signal, QMetaObject.@StrictNonNull Connectable9 connectSignal) { return signal.disconnectSignal((QMetaObject.AbstractSignal)connectSignal); } /** *

Creates a connection of the given type from the signal in * the sender object to the method in the receiver object.

*

Returns a handle to the connection that can be used to disconnect * it later.

* *

* QLabel label = new QLabel();
* QScrollBar scrollBar = new QScrollBar();
* QObject.connect(scrollBar, "valueChanged(int)", label, "setNum(int)");
*

* *

This example ensures that the label always displays the current * scroll bar value. Note that the signal and slots parameters must not * contain any variable names, only the type. E.g. the following would * not work and throw {@link QNoSuchSignalException}/{@link QNoSuchSlotException}:

* *

* QObject.connect(scrollBar, "valueChanged(int value)", label, "setNum(int value)"); *

* *

A signal can also be connected to another signal:

* *

* public class MyWidget extends QWidget {
*     public final Signal0 buttonClicked = new Signal0();
*
*     public MyWidget(){
*         myButton = new QPushButton(this);
*         connect(myButton, "clicked()", this, "buttonClicked()");
*     }
*
*     private QPushButton myButton;
* } *

* *

or alternatively:

* *

* clicked.connect(myButton.buttonClicked); *

* *

In this example, the MyWidget constructor relays a signal from * a private member variable, and makes it available under a name * that relates to MyWidget.

* *

A signal can be connected to many slots and signals. Many signals * can be connected to one slot.

* *

If a signal is connected to several slots, the slots are activated * in the same order in which the connections were made, when the * signal is emitted.

* *

In case the connection was successfully initialized the function returns * a QMetaObject.Connection that represents a handle to this connection. * The connection handle will be invalid * if it cannot create the connection, for example, if QObject is unable * to verify the existence of either signal or method, or if their * signatures aren't compatible. * In this case, the function returns null.

* *

By default, a signal is emitted for every connection you make; * two signals are emitted for duplicate connections. You can break * all of these connections with a single disconnect() call. * If you pass the Qt.ConnectionType.UniqueConnection type, the connection will only * be made if it is not a duplicate. If there is already a duplicate * (exact same signal to the exact same slot on the same objects), * the connection will fail and connect will return null.

* *

Note: Qt.ConnectionType.UniqueConnections do not work for lambdas; * they only apply to connecting to member functions.

* *

The optional type parameter describes the type of connection * to establish. In particular, it determines whether a particular * signal is delivered to a slot immediately or queued for delivery * at a later time. If the signal is queued, the parameters must be * of types that are known to Qt's meta-object system, because Qt * needs to copy the arguments to store them in an event behind the * scenes. If you try to use a queued connection and get the error * message

* *

* QObject::connect: Cannot queue arguments of type 'MyType' * (Make sure 'MyType' is registered using qRegisterMetaType().) *

* *

call {@link QMetaType#qRegisterMetaType(Class, QMetaType...)} to register the data type before you * establish the connection.

* * @see #disconnect() * @see #sender() * @see QMetaType#qRegisterMetaType(Class, QMetaType...) * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.@NonNull Connection connect(@StrictNonNull QObject sender, @StrictNonNull String signal, @StrictNonNull QObject receiver, @StrictNonNull String slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { if(signal.isEmpty()) throw new IllegalArgumentException("Empty string not allowed as signal."); if(slot.isEmpty()) throw new IllegalArgumentException("Empty string not allowed as slot."); QMetaMethod signalMethod = sender.metaObject().method(signal); if(signalMethod==null || !signalMethod.isValid()) throw new QNoSuchSignalException(signal); QMetaMethod slotMethod = receiver.metaObject().method(slot); if(slotMethod==null || !slotMethod.isValid()) throw new QNoSuchSlotException(receiver, slot); return connect( sender, signalMethod, receiver, slotMethod, connectionType ); } /** *

Creates a connection of the given type from the signal in * the sender object to the method in the receiver object. * Returns a handle to the connection that can be used to disconnect it later.

* *

The Connection handle will be invalid if it cannot create the * connection, for example, the parameters were invalid. * You can check {@link QMetaObject.Connection#isConnected()} on the returned connection object.

* *

This function works in the same way as * {@link #connect(QObject, String, QObject, String, Qt.ConnectionType...)} * but it uses QMetaMethod to specify signal and method.

* * @see #connect(QObject, String, QObject, String, Qt.ConnectionType...) */ public static QMetaObject.@NonNull Connection connect(@StrictNonNull QObject sender, @StrictNonNull QMetaMethod signal, QObject receiver, @StrictNonNull QMetaMethod slot, Qt.@StrictNonNull ConnectionType @StrictNonNull... connectionType) { java.util.Objects.requireNonNull(signal); java.util.Objects.requireNonNull(slot); byte flags = 0; if(connectionType!=null && connectionType.length>0) { for (Qt.ConnectionType c : connectionType) { flags |= c.value(); } } return QMetaObject.connectMethods( java.util.Objects.requireNonNull(sender), signal.methodIndex(), signal.enclosingMetaObject().metaObjectPointer, receiver, slot.methodIndex(), slot.enclosingMetaObject().metaObjectPointer, flags ); } /** *

Disconnects signal in object sender from method in object * receiver. Returns true if the connection is successfully broken; * otherwise returns false.

* *

A signal-slot connection is removed when either of the objects * involved are destroyed.

* *

disconnect() is typically used in three ways, as the following * examples demonstrate.

*
    *
  1. Disconnect everything connected to an object's signals: * *

    disconnect(myObject, null, null, null);

    * * equivalent to the non-static overloaded function * *

    myObject.disconnect();

    *
  2. *
  3. Disconnect everything connected to a specific signal: * *

    disconnect(myObject, "mySignal()", null, null);

    * * equivalent to the non-static overloaded function * *

    myObject.mySignal.disconnect();

    *
  4. *
  5. Disconnect a specific receiver: * *

    disconnect(myObject, null, myReceiver, null);

    * * equivalent to the non-static overloaded function * *

    myObject.disconnect(myReceiver);

    *
  6. *
* *

0 may be used as a wildcard, meaning "any signal", "any receiving * object", or "any slot in the receiving object", respectively.

* *

The sender may never be 0. (You cannot disconnect signals from * more than one object in a single call.)

* *

If signal is 0, it disconnects receiver and method from * any signal. If not, only the specified signal is disconnected.

* *

If receiver is 0, it disconnects anything connected to * signal. If not, QMetaObject.@StrictNonNull Slots in objects other than receiver are not * disconnected.

* *

If method is 0, it disconnects anything that is connected to * receiver. If not, only slots named method will be disconnected, * and all other slots are left alone. The method must be 0 if * receiver is left out, so you cannot disconnect a * specifically-named slot on all objects.

* * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(@StrictNonNull QObject sender, String signal, QObject receiver, String slot) { if(signal!=null && signal.isEmpty()) throw new IllegalArgumentException("Empty string not allowed as signal."); if(slot!=null && slot.isEmpty()) throw new IllegalArgumentException("Empty string not allowed as slot."); QMetaMethod signalMethod = signal==null ? null : sender.metaObject().method(signal); if(signal!=null && signalMethod==null) throw new QNoSuchSignalException(signal); QMetaMethod slotMethod = slot==null ? null : receiver.metaObject().method(slot); if(slot!=null && slotMethod==null) throw new QNoSuchSlotException(receiver, slot); return disconnect( sender, signalMethod, receiver, slotMethod ); } /** *

Disconnects signal in object sender from method in object * receiver receiver. Returns true if the connection is successfully broken; * otherwise returns false.

* *

This function provides the same possibilities like * {@link #disconnect(QObject, String, QObject, String)} * but uses QMetaMethod to represent the signal and the method to be disconnected.

* *

Additionally this function returns false and no signals and slots disconnected * if:

*
    * *
  1. signal is not a member of sender class or one of its parent classes.
  2. * *
  3. method is not a member of receiver class or one of its parent classes.
  4. * *
  5. signal instance represents not a signal.
  6. * *
* *

null may be used as wildcard in the meaning "any signal" or "any slot in receiving object". * In the same way 0 can be used for receiver in the meaning "any receiving object". In this case * method should also be null. sender parameter should be never 0.

* * @see #disconnect(QObject, String, QObject, String) * @return true if successfully disconnected, or false otherwise. */ public static boolean disconnect(@StrictNonNull QObject sender, QMetaMethod signal, QObject receiver, QMetaMethod slot) { return QMetaObject.disconnectMethods( java.util.Objects.requireNonNull(sender), signal==null ? -1 : signal.methodIndex(), signal==null ? 0 : signal.enclosingMetaObject().metaObjectPointer, receiver, slot==null ? -1 : slot.methodIndex(), slot==null ? 0 : slot.enclosingMetaObject().metaObjectPointer ); } /** *

Disconnect a connection.

* *

If the connection is invalid or has already been disconnected, do nothing * and return false.

* @param connection the connection * @return true if successfully disconnected, or false otherwise. * */ public static boolean disconnect(QMetaObject.@NonNull Connection connection) { return CoreUtility.disconnectOne(connection); } /** * Disconnect all connections originating in this object. * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect() { return CoreUtility.disconnectAll(this, null); } /** * Disconnect all connections made from this signal emitter to a specific object. * * @param receiver The receiver to disconnect, or null to disconnect all receivers * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(Object receiver) { if(receiver instanceof QMetaObject.Connection) return disconnect((QMetaObject.Connection)receiver); else return CoreUtility.disconnectAll(this, receiver); } /** * Returns a pointer to the meta-object of this object. * @return the object's meta-object */ @QtUninvokable public native final QMetaObject metaObject(); /** * Casts an object to the given targetType. Returns null if object is not instance of targetType. * @param type * @param targetType * @return the object as targetType or null */ @QtUninvokable public final T qt_metacast(@StrictNonNull Class targetType) { return QMetaObject.cast(targetType, this); } /** * Returns true if this object is an instance of a class that inherits className or a QObject subclass that inherits className; otherwise returns false. * A class is considered to inherit itself. * @param targetType * @return true if object instance of targetType */ @QtUninvokable public final boolean inherits(@StrictNonNull Class targetType){ return targetType.isInstance(this) || inherits(QMetaObject.internalNameOfType(targetType).replace("*", "")); } /** * Returns the number of receivers connected to the signal. * @see #receivers(String) */ @QtUninvokable protected final int receivers(QMetaObject.@StrictNonNull AbstractSignal signalObject){ if(signalObject.methodIndex()>=0 && signalObject.containingObject()==this) { QMetaMethod method = metaObject().method(signalObject.methodIndex()); return receivers("2" + method.cppMethodSignature()); } return 0; } /** *
*/ @QtUninvokable public static T qobject_cast(@StrictNonNull Class targetType, @Nullable QObject object) { return QMetaObject.cast(targetType, object); } private static Runnable MIGHT_HAVE_SIGNAL = ()->{}; private static Runnable NO_SIGNAL = ()->{}; private static QMetaMethod findNotifySignalByBindables(QObject object, java.lang.reflect.Field reflectedField, QUntypedPropertyData property) { for(QMetaProperty metaProperty : object.metaObject().properties()) { if(metaProperty.isBindable()) { QUntypedBindable bindable = metaProperty.bindable(object); if(bindable.data()==property) { CoreUtility.registerPropertyField(metaProperty, reflectedField); QMetaMethod notifySignal = metaProperty.notifySignal(); if(notifySignal.isValid()) { if(notifySignal.parameterCount()==0) { return notifySignal; }else if(notifySignal.parameterCount()==1 && metaProperty.metaType().equals(notifySignal.parameterMetaType(0))) { return notifySignal; }else { return null; } }else { return null; } } } } return null; } private class EmitSignal0 implements Runnable{ @Override public void run() { try { CoreUtility.emitNativeSignal(QObject.this, methodIndex, metaObjectId); }catch(QNoNativeResourcesException e){} } private final int methodIndex; private final long metaObjectId; public EmitSignal0(int methodIndex, long metaObjectId) { super(); this.methodIndex = methodIndex; this.metaObjectId = metaObjectId; } } private class EmitSignal1 implements Runnable{ @Override public void run() { try { CoreUtility.emitNativeSignal(QObject.this, methodIndex, metaObjectId, supplier.get()); }catch(QNoNativeResourcesException e){} } private final int methodIndex; private final long metaObjectId; private final java.util.function.Supplier supplier; public EmitSignal1(int methodIndex, long metaObjectId, java.util.function.Supplier supplier) { super(); this.supplier = supplier; this.methodIndex = methodIndex; this.metaObjectId = metaObjectId; } } private static abstract class AbstractPropertyCore{ abstract QMetaType valueMetaType(QProperty property); abstract void initialize(QProperty property); abstract void emitSignal(QProperty property); abstract boolean hasSignal(QProperty property); abstract T value(QBindingStorage bindingStorage, QProperty property); abstract QPropertyBindingData bindingData(QBindingStorage bindingStorage, QProperty property, boolean create); abstract boolean setValueBypassingBindings(QProperty property, Object val); } private static class PropertyCore extends AbstractPropertyCore{ PropertyCore(QMetaType metaType) { super(); this.metaType = metaType; } final QMetaType valueMetaType(QProperty property) { return metaType; } final void initialize(QProperty property) {} void emitSignal(QProperty property) {} boolean hasSignal(QProperty property) { return false; } final T value(QBindingStorage bindingStorage, QProperty property){ bindingStorage.registerDependency(property); return io.qt.core.QProperty.getValueBypassingBindings(QtJambi_LibraryUtilities.internal.nativeId(property), QtJambi_LibraryUtilities.internal.checkedNativeId(metaType)); } final QPropertyBindingData bindingData(QBindingStorage bindingStorage, QProperty property, boolean create) { return bindingStorage.bindingData(property, create); } boolean setValueBypassingBindings(QProperty property, Object val) { return io.qt.core.QProperty.setValueBypassingBindings(QtJambi_LibraryUtilities.internal.nativeId(property), QtJambi_LibraryUtilities.internal.checkedNativeId(metaType), val); } private final QMetaType metaType; } private final static class Signal0PropertyCore extends PropertyCore{ public Signal0PropertyCore(QMetaType metaType, int methodIndex, long metaObjectId) { super(metaType); this.methodIndex = methodIndex; this.metaObjectId = metaObjectId; } void emitSignal(QProperty property) { try { CoreUtility.emitNativeSignal(java.util.Objects.requireNonNull(property.owner()), methodIndex, metaObjectId); }catch(QNoNativeResourcesException e){} } boolean hasSignal(QProperty property) { return true; } private final int methodIndex; private final long metaObjectId; } private final static class Signal1PropertyCore extends PropertyCore{ public Signal1PropertyCore(QMetaType metaType, int methodIndex, long metaObjectId) { super(metaType); this.methodIndex = methodIndex; this.metaObjectId = metaObjectId; } void emitSignal(QProperty property) { try { CoreUtility.emitNativeSignal(java.util.Objects.requireNonNull(property.owner()), methodIndex, metaObjectId, property.getValueBypassingBindings()); }catch(QNoNativeResourcesException e){} } boolean hasSignal(QProperty property) { return true; } private final int methodIndex; private final long metaObjectId; } private static class RCPropertyCore extends PropertyCore{ @SuppressWarnings("unused") private Object __rcValue; RCPropertyCore(QMetaType metaType) { super(metaType); } final boolean setValueBypassingBindings(QProperty property, Object val) { if(super.setValueBypassingBindings(property, val)) { __rcValue = val; return true; } else return false; } } private final static class RCSignal0PropertyCore extends RCPropertyCore{ public RCSignal0PropertyCore(QMetaType metaType, int methodIndex, long metaObjectId) { super(metaType); this.methodIndex = methodIndex; this.metaObjectId = metaObjectId; } void emitSignal(QProperty property) { try { CoreUtility.emitNativeSignal(java.util.Objects.requireNonNull(property.owner()), methodIndex, metaObjectId); }catch(QNoNativeResourcesException e){} } boolean hasSignal(QProperty property) { return true; } private final int methodIndex; private final long metaObjectId; } private final static class RCSignal1PropertyCore extends RCPropertyCore{ public RCSignal1PropertyCore(QMetaType metaType, int methodIndex, long metaObjectId) { super(metaType); this.methodIndex = methodIndex; this.metaObjectId = metaObjectId; } void emitSignal(QProperty property) { try { CoreUtility.emitNativeSignal(java.util.Objects.requireNonNull(property.owner()), methodIndex, metaObjectId, property.getValueBypassingBindings()); }catch(QNoNativeResourcesException e){} } boolean hasSignal(QProperty property) { return true; } private final int methodIndex; private final long metaObjectId; } private static class InitializingPropertyCore extends AbstractPropertyCore{ QMetaType valueMetaType(QProperty property) { initialize(property); return property.core.valueMetaType(property); } void initialize(QProperty property) { initialize(property, null); } final void initialize(QProperty property, T val) { io.qt.internal.PropertyInfo result = CoreUtility.analyzeProperty(property.owner(), property); if(result.property!=null) { if(result.notifySignal==null) { if(result.metaType.flags().testFlag(QMetaType.TypeFlag.IsPointer) || result.metaType.name().contains("*")) { property.core = new RCPropertyCore<>(result.metaType); }else { property.core = new PropertyCore<>(result.metaType); } }else { if(result.notifySignal.parameterCount()==0) { if(result.metaType.flags().testFlag(QMetaType.TypeFlag.IsPointer) || result.metaType.name().contains("*")) { property.core = new RCSignal0PropertyCore<>(result.metaType, result.notifySignal.methodIndex(), result.notifySignal.enclosingMetaObject().metaObjectPointer); }else { property.core = new Signal0PropertyCore<>(result.metaType, result.notifySignal.methodIndex(), result.notifySignal.enclosingMetaObject().metaObjectPointer); } }else { if(result.metaType.flags().testFlag(QMetaType.TypeFlag.IsPointer) || result.metaType.name().contains("*")) { property.core = new RCSignal1PropertyCore<>(result.metaType, result.notifySignal.methodIndex(), result.notifySignal.enclosingMetaObject().metaObjectPointer); }else { property.core = new Signal1PropertyCore<>(result.metaType, result.notifySignal.methodIndex(), result.notifySignal.enclosingMetaObject().metaObjectPointer); } } } io.qt.core.QProperty.initialize_native(property, result.metaType, val); }else { property.core = new PropertyCore<>(result.metaType); io.qt.core.QProperty.initialize_native(property, result.metaType, val); QMetaMethod notifySignal = findNotifySignalByBindables(property.owner(), result.reflectedField, property); if(notifySignal!=null) { if(notifySignal.parameterCount()==0) { if(result.metaType.flags().testFlag(QMetaType.TypeFlag.IsPointer) || result.metaType.name().contains("*")) { property.core = new RCSignal0PropertyCore<>(result.metaType, notifySignal.methodIndex(), result.notifySignal.enclosingMetaObject().metaObjectPointer); }else { property.core = new Signal0PropertyCore<>(result.metaType, notifySignal.methodIndex(), result.notifySignal.enclosingMetaObject().metaObjectPointer); } }else { if(result.metaType.flags().testFlag(QMetaType.TypeFlag.IsPointer) || result.metaType.name().contains("*")) { property.core = new RCSignal1PropertyCore<>(result.metaType, notifySignal.methodIndex(), result.notifySignal.enclosingMetaObject().metaObjectPointer); }else { property.core = new Signal1PropertyCore<>(result.metaType, notifySignal.methodIndex(), result.notifySignal.enclosingMetaObject().metaObjectPointer); } } } } } final T value(QBindingStorage bindingStorage, QProperty property){ initialize(property); return property.core.value(bindingStorage, property); } final QPropertyBindingData bindingData(QBindingStorage bindingStorage, QProperty property, boolean create) { initialize(property); return property.core.bindingData(bindingStorage, property, create); } void emitSignal(QProperty property) { initialize(property); property.core.emitSignal(property); } boolean hasSignal(QProperty property) { initialize(property); return property.core.hasSignal(property); } boolean setValueBypassingBindings(QProperty property, Object val) { initialize(property); return property.core.setValueBypassingBindings(property, val); } } private final static class ValueInitializingPropertyCore extends InitializingPropertyCore{ public ValueInitializingPropertyCore(T val) { super(); this.val = val; } void initialize(QProperty property) { super.initialize(property, val); } private final T val; } private final static class BindingInitializingPropertyCore extends InitializingPropertyCore{ public BindingInitializingPropertyCore(QUntypedPropertyBinding binding) { super(); this.binding = binding; } void initialize(QProperty property) { super.initialize(property, null); property.bindingData().setBinding(binding, property); } private final QUntypedPropertyBinding binding; } /** *

The QProperty class enables automatic property bindings. * The Java type QProperty corresponds to the C++ type QObjectBindableProperty.

*

It is only allowed to use QProperty as final-declared member variable of a QObject subtype.

*

Example:

* * public class MyObject extends QObject{
*     private final QProperty<QColor> color = new QProperty<>();
*     public final Signal0 colorChanged = new Signal0();
*     
*     public QColor color(){
*         return color.value();
*     }
*     
*     public void setColor(QColor color){
*         color.setValue(color);
*     }
*     
*     public QBindable<QColor> bindableColor(){
*         return new QBindable<>(color);
*     }
* } *
*

QProperty fields should meet the following naming conventions to let * metaobject system identify them as accessible property. For a property called "foo" * call the QProperty field either "foo", "fooProp" or "fooProperty". * Then, QtJambi will identify the method "public T foo()" as it's getter, * "public void setFoo(T)" as it's setter, * "public final Signal0 fooChanged" as it's notify signal and * "public QBindable<T> bindableFoo()" as it's bindable supplier. *

*

Instead of meeting these naming conventions you can use the QtProperty... annotations * to make the fields and methods identified as property:

* * public class MyObject extends QObject{
*     @QtPropertyMember(name="color")
*     private final QProperty<QColor> _c = new QProperty<>();
*     
*     @QtPropertyNotify(name="color")
*     public final Signal0 colorChangeAppeared = new Signal0();
*     
*     @QtPropertyReader(name="color")
*     public QColor get_color(){
*         return _c.value();
*     }
*     
*     @QtPropertyWriter(name="color")
*     public void change_color(QColor color){
*         _c.setValue(color);
*     }
*     
*     @QtPropertyBindable(name="color")
*     public QBindable<QColor> get_bindable_color(){
*         return new QBindable<>(_c);
*     }
* } *
*

By declaring a QProperty field public * or by using the QtPropertyMember annotation * QtJambi identifies a readable, writable and bindable property * without the need to specify getter, setter and bindable methods:

* * public class MyObject extends QObject{
*     public final QProperty<QColor> color = new QProperty<>();
*     public final Signal0 colorChanged = new Signal0();
* } *
*

For primitive-typed implementations see:

*
    *
  • {@link QBooleanProperty}
  • *
  • {@link QByteProperty}
  • *
  • {@link QShortProperty}
  • *
  • {@link QIntProperty}
  • *
  • {@link QLongProperty}
  • *
  • {@link QFloatProperty}
  • *
  • {@link QDoubleProperty}
  • *
  • {@link QCharProperty}
  • *
*

See QObjectBindableProperty

*/ public final class QProperty extends QPropertyData { QObject owner() { return QObject.this; } /** *

Constructs a property whose type is taken from it's field declaration.

*/ public QProperty() { super(null); core = new InitializingPropertyCore<>(); } /** *

Constructs a property with the provided initialValue.

*

The property type is taken from it's field declaration. * The initialValue has to be assignable to the property type. Otherwise, a default value is used.

* @param initialValue */ public QProperty(T initialValue) { super(null); core = new ValueInitializingPropertyCore<>(initialValue); } /** *

Constructs a property with the provided binding.

*

The property type is taken from it's field declaration. * The binding's type has to be assignable to the property type. Otherwise, a default value is used.

* @param binding */ public QProperty(QUntypedPropertyBinding binding) { super(null); core = new BindingInitializingPropertyCore<>(binding); } /** *

Constructs a property bound to the provided functor.

*

The property type is taken from it's field declaration. * The functor's return type ({@link QtUtilities.Supplier#get()}) has to be assignable to the property type. * Otherwise, a default value is used.

* @param functor */ public QProperty(QtUtilities.@StrictNonNull Supplier functor) { this(new QPropertyBinding<>(functor)); } /** * Returns the value of the property. This may evaluate a binding expression that is tied to this property, before returning the value. *

See QObjectBindableProperty::value()const

* @return value */ @QtUninvokable public final T value() { return core.value(bindingStorage(), this); } /** *

Assigns newValue to this property and removes the property's associated binding, if present.

*

See QObjectBindableProperty::setValue(T)

* @param newValue */ @SuppressWarnings("unchecked") @QtUninvokable public final void setValue(T newValue) { QMetaType valueMetaType = core.valueMetaType(this); if(newValue==null && !valueMetaType.flags().testFlag(QMetaType.TypeFlag.IsPointer)) newValue = (T)valueMetaType.create(); QPropertyBindingData bd = bindingStorage().bindingData(this); if(bd!=null) bd.removeBinding(); if (core.setValueBypassingBindings(this, newValue)) notifyProperty(bd); } /** *

Associates the value of this property with the provided newBinding expression and returns the previously associated binding.

*

The binding's value type ({@link QUntypedPropertyBinding#valueMetaType()}) has to be equals to the property's type T, * otherwise the property remains unchanged.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param newBinding * @return oldBinding */ @SuppressWarnings("unchecked") @QtUninvokable public final @NonNull QPropertyBinding setBinding(QPropertyBinding newBinding) { if(newBinding!=null && !io.qt.core.QProperty.checkType(core.valueMetaType(this), newBinding.valueMetaType())) return new QPropertyBinding<>(); QPropertyBindingData bd = bindingData(); QUntypedPropertyBinding oldBinding = bd.setBinding(newBinding, this); notifyProperty(bd); if(oldBinding instanceof QPropertyBinding) return (QPropertyBinding)oldBinding; else return new QPropertyBinding<>(oldBinding); } /** *

Associates the value of this property with the provided newBinding expression.

*

The binding's value type ({@link QUntypedPropertyBinding#valueMetaType()}) has to be equals to the property's type T, * otherwise the property remains unchanged and the method returns false.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

*

Returns true if the type of this property is the same as the type the binding function returns; false otherwise.

* @param newBinding * @return true if types match, false otherwise. */ @QtUninvokable public final boolean setBinding(QUntypedPropertyBinding newBinding) { if(newBinding!=null && !io.qt.core.QProperty.checkType(core.valueMetaType(this), newBinding.valueMetaType())) return false; QPropertyBindingData bd = bindingData(); bd.setBinding(newBinding, this); notifyProperty(bd); return true; } /** *

Associates the value of this property with the provided functor and returns the previously associated binding.

*

The first time the property value is read, the binding is evaluated by invoking {@link QtUtilities.Supplier#get()} of functor. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param functor * @return oldBinding */ @QtUninvokable public final @NonNull QPropertyBinding setBinding(QtUtilities.@StrictNonNull Supplier functor) { try { QPropertyBinding.setPendingMetaType(this::valueMetaType); return setBinding(new QPropertyBinding<>(functor)); }finally { QPropertyBinding.setPendingMetaType(null); } } @QtUninvokable private @NonNull QPropertyBinding makeBinding() { core.initialize(this); try { QPropertyBinding.setPendingMetaType(this::valueMetaType); return new QPropertyBinding<>(this::value); }finally { QPropertyBinding.setPendingMetaType(null); } } /** * Checks if the property has a binding. * @return true if the property has a binding, false otherwise. */ @QtUninvokable public final boolean hasBinding() { QPropertyBindingData bd = core.bindingData(bindingStorage(), this, false); return bd!=null && bd.hasBinding(); } /** * Returns the binding expression that is associated with this property. * A default constructed {@link QPropertyBinding}<T> will be returned if no such association exists. * @return binding */ @QtUninvokable public final @NonNull QPropertyBinding binding() { return new QPropertyBinding<>(this); } /** *

Disassociates the binding expression from this property and returns it.

*

After calling this function, the value of the property will only change if you assign a new value to it, or when a new binding is set.

* @return the removed binding */ @QtUninvokable public final @NonNull QPropertyBinding takeBinding() { return setBinding(new QPropertyBinding<>()); } /** *

Registers the given functor f as a callback that shall be called whenever the value of the property changes.

*

The returned property change handler object keeps track of the registration. * As long as the change handler is alive i.e. as long as a reference to the {@link QPropertyChangeHandler} instance exists, * the callback remains installed. When the garbage collection deletes the instance, the callback is de-registered.

* @param f * @return property change handler * @see QPropertyChangeHandler */ @QtUninvokable public final @NonNull QPropertyChangeHandler onValueChanged(Runnable f) { return new QPropertyChangeHandler(bindingData(), f); } /** * Subscribes the given functor f as a callback that is called immediately and whenever the value of the property changes in the future. * @param f * @return property change handler * @see QPropertyChangeHandler * @see #onValueChanged(Runnable) */ @QtUninvokable public final @NonNull QPropertyChangeHandler subscribe(Runnable f) { f.run(); return onValueChanged(f); } /** *

Registers the given functor f as a callback that shall be called whenever the value of the bindable changes.

*

The returned property notifier object keeps track of the registration. * As long as the notifier is alive i.e. as long as a reference to the {@link QPropertyNotifier} instance exists, * the callback remains installed. When the garbage collection deletes the instance, the callback is de-registered.

* @param f * @return property notifier * @see QPropertyNotifier */ @QtUninvokable public final @NonNull QPropertyNotifier addNotifier(Runnable f) { return new QPropertyNotifier(bindingData(), f); } @QtUninvokable QPropertyBindingData bindingData() { return core.bindingData(bindingStorage(), this, true); } @QtUninvokable private void notifyProperty(QPropertyBindingData binding){ if (binding!=null) binding.notifyObservers(this); core.emitSignal(this); } /** * Programmatically signals a change of the property. Any binding which depend on it will be notified, and if the property has a signal, it will be emitted. *

See QObjectBindableProperty::notify()

*/ @QtUninvokable public final void notifyProperty() { QPropertyBindingData bd = bindingStorage().bindingData(this); notifyProperty(bd); } @QtUninvokable private void emitSignal() { core.emitSignal(this); } @QtUninvokable private boolean hasSignal() { return core.hasSignal(this); } @NonNull QMetaType valueMetaType() { return core.valueMetaType(this); } /** * {@inheritDoc} */ @QtUninvokable @Override public final T getValueBypassingBindings() { return io.qt.core.QProperty.getValueBypassingBindings(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(core.valueMetaType(this))); } /** * {@inheritDoc} */ @QtUninvokable @Override public final boolean setValueBypassingBindings(T val) { return core.setValueBypassingBindings(this, val); } private AbstractPropertyCore core; } /** * QBooleanProperty is primitive-typed version of QProperty<Boolean>. * @see QProperty */ public final class QBooleanProperty extends QBooleanPropertyData { QObject owner() { return QObject.this; } /** * Constructs a boolean-typed property. */ public QBooleanProperty() { super(); } /** * Constructs a boolean-typed property with the provided initialValue. * @param initialValue */ public QBooleanProperty(boolean initialValue) { super(initialValue); } /** * Constructs a boolean-typed property with the provided binding. * @param binding */ public QBooleanProperty(QBooleanPropertyBinding binding) { super(); Runnable signal = this.signal; this.signal = MIGHT_HAVE_SIGNAL; bindingData().setBinding(binding, this); this.signal = signal; } /** * Constructs a boolean-typed property with the provided binding. * @param binding */ public QBooleanProperty(QPropertyBinding<@QtPrimitiveType@StrictNonNull Boolean> binding) { super(); if(io.qt.core.QBooleanProperty.checkType(binding.valueMetaType())){ Runnable signal = this.signal; this.signal = MIGHT_HAVE_SIGNAL; bindingData().setBinding(binding, this); this.signal = signal; } } /** *

Constructs a boolean-typed property bound to the provided functor.

* @param functor */ public QBooleanProperty(java.util.function.BooleanSupplier functor) { this(new QBooleanPropertyBinding(functor)); } /** * Returns the value of the property. This may evaluate a binding expression that is tied to this property, before returning the value. * @return value */ @QtUninvokable public final boolean value() { bindingStorage().registerDependency(this); return this.getValueBypassingBindings(); } /** *

Assigns newValue to this property and removes the property's associated binding, if present.

* @param newValue */ @QtUninvokable public final void setValue(boolean newValue) { QPropertyBindingData bd = bindingStorage().bindingData(this); if(bd!=null) bd.removeBinding(); if (this.setValueBypassingBindings(newValue)) notifyProperty(bd); } /** *

Associates the value of this property with the provided newBinding expression and returns the previously associated binding.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param newBinding * @return oldBinding */ @QtUninvokable public final QBooleanPropertyBinding setBinding(QBooleanPropertyBinding newBinding) { QPropertyBindingData bd = bindingData(); QUntypedPropertyBinding oldBinding = bd.setBinding(newBinding, this); notifyProperty(bd); if(oldBinding instanceof QBooleanPropertyBinding) return (QBooleanPropertyBinding)oldBinding; else return new QBooleanPropertyBinding(oldBinding); } /** *

Associates the value of this property with the provided newBinding expression and returns the previously associated binding.

*

The binding's value type ({@link QUntypedPropertyBinding#valueMetaType()}) has to be boolean, * otherwise the property remains unchanged.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param newBinding * @return oldBinding */ @QtUninvokable public final QBooleanPropertyBinding setBinding(QPropertyBinding<@QtPrimitiveType@StrictNonNull Boolean> newBinding) { if(!io.qt.core.QBooleanProperty.checkType(newBinding.valueMetaType())) return new QBooleanPropertyBinding(); QPropertyBindingData bd = bindingData(); QUntypedPropertyBinding oldBinding = bd.setBinding(newBinding, this); notifyProperty(bd); if(oldBinding instanceof QBooleanPropertyBinding) return (QBooleanPropertyBinding)oldBinding; else return new QBooleanPropertyBinding(oldBinding); } /** *

Associates the value of this property with the provided newBinding expression.

*

The binding's value type ({@link QUntypedPropertyBinding#valueMetaType()}) has to be boolean, * otherwise the property remains unchanged and the method returns false.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

*

Returns true if the type of this property is the same as the type the binding function returns; false otherwise.

* @param newBinding * @return true if types match, false otherwise. */ @QtUninvokable public final boolean setBinding(QUntypedPropertyBinding newBinding) { if(io.qt.core.QBooleanProperty.checkType(newBinding.valueMetaType())) { QPropertyBindingData bd = bindingData(); bd.setBinding(newBinding, this); notifyProperty(bd); return true; }else { return false; } } /** *

Associates the value of this property with the provided functor and returns the previously associated binding.

*

The first time the property value is read, the binding is evaluated by invoking {@link java.util.function.BooleanSupplier#getAsBoolean()} of functor. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param functor * @return oldBinding */ @QtUninvokable public final QBooleanPropertyBinding setBinding(java.util.function.BooleanSupplier functor) { return setBinding(new QBooleanPropertyBinding(functor)); } @QtUninvokable private QBooleanPropertyBinding makeBinding() { return new QBooleanPropertyBinding(this::value); } /** * Checks if the property has a binding. * @return true if the property has a binding, false otherwise. */ @QtUninvokable public final boolean hasBinding() { QPropertyBindingData bd = bindingStorage().bindingData(this); return bd!=null && bd.hasBinding(); } /** * Returns the binding expression that is associated with this property. * A default constructed {@link QBooleanPropertyBinding} will be returned if no such association exists. * @return binding */ @QtUninvokable public final QBooleanPropertyBinding binding() { return new QBooleanPropertyBinding(this); } /** *

Disassociates the binding expression from this property and returns it.

*

After calling this function, the value of the property will only change if you assign a new value to it, or when a new binding is set.

* @return the removed binding */ @QtUninvokable public final QBooleanPropertyBinding takeBinding() { return setBinding(new QBooleanPropertyBinding()); } /** *

Registers the given functor f as a callback that shall be called whenever the value of the property changes.

*

The returned property change handler object keeps track of the registration. * As long as the change handler is alive i.e. as long as a reference to the {@link QPropertyChangeHandler} instance exists, * the callback remains installed. When the garbage collection deletes the instance, the callback is de-registered.

* @param f * @return property change handler * @see QPropertyChangeHandler */ @QtUninvokable public final QPropertyChangeHandler onValueChanged(Runnable f) { return new QPropertyChangeHandler(bindingData(), f); } /** * Subscribes the given functor f as a callback that is called immediately and whenever the value of the property changes in the future. * @param f * @return property change handler * @see QPropertyChangeHandler * @see #onValueChanged(Runnable) */ @QtUninvokable public final QPropertyChangeHandler subscribe(Runnable f) { f.run(); return onValueChanged(f); } /** *

Registers the given functor f as a callback that shall be called whenever the value of the bindable changes.

*

The returned property notifier object keeps track of the registration. * As long as the notifier is alive i.e. as long as a reference to the {@link QPropertyNotifier} instance exists, * the callback remains installed. When the garbage collection deletes the instance, the callback is de-registered.

* @param f * @return property notifier * @see QPropertyNotifier */ @QtUninvokable public final QPropertyNotifier addNotifier(Runnable f) { return new QPropertyNotifier(bindingData(), f); } @QtUninvokable QPropertyBindingData bindingData() { return bindingStorage().bindingData(this, true); } @QtUninvokable private void notifyProperty(QPropertyBindingData binding){ if (binding!=null) binding.notifyObservers(this); emitSignal(); } /** * Programmatically signals a change of the property. Any binding which depend on it will be notified, and if the property has a signal, it will be emitted. *

See QObjectBindableProperty::notify()

*/ @QtUninvokable public final void notifyProperty() { QPropertyBindingData bd = bindingStorage().bindingData(this); notifyProperty(bd); } private Runnable signal = () -> { io.qt.internal.PropertyInfo result = CoreUtility.analyzeProperty(QObject.this, this); QMetaMethod notifySignal; if(result.property!=null) { notifySignal = result.notifySignal; }else { notifySignal = findNotifySignalByBindables(QObject.this, result.reflectedField, this); } if(notifySignal==null) { this.signal = NO_SIGNAL; }else{ if(notifySignal.parameterCount()==0) this.signal = new EmitSignal0(notifySignal.methodIndex(), notifySignal.enclosingMetaObject().metaObjectPointer); else this.signal = new EmitSignal1<>(notifySignal.methodIndex(), notifySignal.enclosingMetaObject().metaObjectPointer, this::getValueBypassingBindings); } this.signal.run(); }; @QtUninvokable private boolean hasSignal() { return this.signal != NO_SIGNAL; } @QtUninvokable private void emitSignal() { this.signal.run(); } } /** * QByteProperty is primitive-typed version of QProperty<Byte>. * @see QProperty */ public final class QByteProperty extends QBytePropertyData { QObject owner() { return QObject.this; } /** * Constructs a byte-typed property. */ public QByteProperty() { super(); } /** * Constructs a byte-typed property with the provided initialValue. * @param initialValue */ public QByteProperty(byte initialValue) { super(initialValue); } /** * Constructs a byte-typed property with the provided binding. * @param binding */ public QByteProperty(QBytePropertyBinding binding) { super(); Runnable signal = this.signal; this.signal = MIGHT_HAVE_SIGNAL; bindingData().setBinding(binding, this); this.signal = signal; } /** * Constructs a byte-typed property with the provided binding. * @param binding */ public QByteProperty(QPropertyBinding<@QtPrimitiveType@StrictNonNull Byte> binding) { super(); if(io.qt.core.QByteProperty.checkType(binding.valueMetaType())){ Runnable signal = this.signal; this.signal = MIGHT_HAVE_SIGNAL; bindingData().setBinding(binding, this); this.signal = signal; } } /** *

Constructs a byte-typed property bound to the provided functor.

* @param functor */ public QByteProperty(QtUtilities.ByteSupplier functor) { this(new QBytePropertyBinding(functor)); } /** * Returns the value of the property. This may evaluate a binding expression that is tied to this property, before returning the value. * @return value */ @QtUninvokable public final byte value() { bindingStorage().registerDependency(this); return this.getValueBypassingBindings(); } /** *

Assigns newValue to this property and removes the property's associated binding, if present.

* @param newValue */ @QtUninvokable public final void setValue(byte newValue) { QPropertyBindingData bd = bindingStorage().bindingData(this); if(bd!=null) bd.removeBinding(); if (this.setValueBypassingBindings(newValue)) notifyProperty(bd); } /** *

Associates the value of this property with the provided newBinding expression and returns the previously associated binding.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param newBinding * @return oldBinding */ @QtUninvokable public final QBytePropertyBinding setBinding(QBytePropertyBinding newBinding) { QPropertyBindingData bd = bindingData(); QUntypedPropertyBinding oldBinding = bd.setBinding(newBinding, this); notifyProperty(bd); if(oldBinding instanceof QBytePropertyBinding) return (QBytePropertyBinding)oldBinding; else return new QBytePropertyBinding(oldBinding); } /** *

Associates the value of this property with the provided newBinding expression and returns the previously associated binding.

*

The binding's value type ({@link QUntypedPropertyBinding#valueMetaType()}) has to be byte, * otherwise the property remains unchanged.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param newBinding * @return oldBinding */ @QtUninvokable public final QBytePropertyBinding setBinding(QPropertyBinding<@QtPrimitiveType@StrictNonNull Byte> newBinding) { if(!io.qt.core.QByteProperty.checkType(newBinding.valueMetaType())) return new QBytePropertyBinding(); QPropertyBindingData bd = bindingData(); QUntypedPropertyBinding oldBinding = bd.setBinding(newBinding, this); notifyProperty(bd); if(oldBinding instanceof QBytePropertyBinding) return (QBytePropertyBinding)oldBinding; else return new QBytePropertyBinding(oldBinding); } /** *

Associates the value of this property with the provided newBinding expression.

*

The binding's value type ({@link QUntypedPropertyBinding#valueMetaType()}) has to be byte, * otherwise the property remains unchanged and the method returns false.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

*

Returns true if the type of this property is the same as the type the binding function returns; false otherwise.

* @param newBinding * @return true if types match, false otherwise. */ @QtUninvokable public final boolean setBinding(QUntypedPropertyBinding newBinding) { if(io.qt.core.QByteProperty.checkType(newBinding.valueMetaType())) { QPropertyBindingData bd = bindingData(); bd.setBinding(newBinding, this); notifyProperty(bd); return true; }else { return false; } } /** *

Associates the value of this property with the provided functor and returns the previously associated binding.

*

The first time the property value is read, the binding is evaluated by invoking {@link QtUtilities.ByteSupplier#getAsByte()} of functor. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param functor * @return oldBinding */ @QtUninvokable public final QBytePropertyBinding setBinding(QtUtilities.ByteSupplier functor) { return setBinding(new QBytePropertyBinding(functor)); } @QtUninvokable private QBytePropertyBinding makeBinding() { return new QBytePropertyBinding(this::value); } /** * Checks if the property has a binding. * @return true if the property has a binding, false otherwise. */ @QtUninvokable public final boolean hasBinding() { QPropertyBindingData bd = bindingStorage().bindingData(this); return bd!=null && bd.hasBinding(); } /** * Returns the binding expression that is associated with this property. * A default constructed {@link QBytePropertyBinding} will be returned if no such association exists. * @return binding */ @QtUninvokable public final QBytePropertyBinding binding() { return new QBytePropertyBinding(this); } /** *

Disassociates the binding expression from this property and returns it.

*

After calling this function, the value of the property will only change if you assign a new value to it, or when a new binding is set.

* @return the removed binding */ @QtUninvokable public final QBytePropertyBinding takeBinding() { return setBinding(new QBytePropertyBinding()); } /** *

Registers the given functor f as a callback that shall be called whenever the value of the property changes.

*

The returned property change handler object keeps track of the registration. * As long as the change handler is alive i.e. as long as a reference to the {@link QPropertyChangeHandler} instance exists, * the callback remains installed. When the garbage collection deletes the instance, the callback is de-registered.

* @param f * @return property change handler * @see QPropertyChangeHandler */ @QtUninvokable public final QPropertyChangeHandler onValueChanged(Runnable f) { return new QPropertyChangeHandler(bindingData(), f); } /** * Subscribes the given functor f as a callback that is called immediately and whenever the value of the property changes in the future. * @param f * @return property change handler * @see QPropertyChangeHandler * @see #onValueChanged(Runnable) */ @QtUninvokable public final QPropertyChangeHandler subscribe(Runnable f) { f.run(); return onValueChanged(f); } /** *

Registers the given functor f as a callback that shall be called whenever the value of the bindable changes.

*

The returned property notifier object keeps track of the registration. * As long as the notifier is alive i.e. as long as a reference to the {@link QPropertyNotifier} instance exists, * the callback remains installed. When the garbage collection deletes the instance, the callback is de-registered.

* @param f * @return property notifier * @see QPropertyNotifier */ @QtUninvokable public final QPropertyNotifier addNotifier(Runnable f) { return new QPropertyNotifier(bindingData(), f); } @QtUninvokable QPropertyBindingData bindingData() { return bindingStorage().bindingData(this, true); } @QtUninvokable private void notifyProperty(QPropertyBindingData binding){ if (binding!=null) binding.notifyObservers(this); emitSignal(); } /** * Programmatically signals a change of the property. Any binding which depend on it will be notified, and if the property has a signal, it will be emitted. *

See QObjectBindableProperty::notify()

*/ @QtUninvokable public final void notifyProperty() { QPropertyBindingData bd = bindingStorage().bindingData(this); notifyProperty(bd); } private Runnable signal = () -> { io.qt.internal.PropertyInfo result = CoreUtility.analyzeProperty(QObject.this, this); QMetaMethod notifySignal; if(result.property!=null) { notifySignal = result.notifySignal; }else { notifySignal = findNotifySignalByBindables(QObject.this, result.reflectedField, this); } if(notifySignal==null) { this.signal = NO_SIGNAL; }else{ if(notifySignal.parameterCount()==0) this.signal = new EmitSignal0(notifySignal.methodIndex(), notifySignal.enclosingMetaObject().metaObjectPointer); else this.signal = new EmitSignal1<>(notifySignal.methodIndex(), notifySignal.enclosingMetaObject().metaObjectPointer, this::getValueBypassingBindings); } this.signal.run(); }; @QtUninvokable private boolean hasSignal() { return this.signal != NO_SIGNAL; } @QtUninvokable private void emitSignal() { this.signal.run(); } } /** * QShortProperty is primitive-typed version of QProperty<Short>. * @see QProperty */ public final class QShortProperty extends QShortPropertyData { QObject owner() { return QObject.this; } /** * Constructs a short-typed property. */ public QShortProperty() { super(); } /** * Constructs a short-typed property with the provided initialValue. * @param initialValue */ public QShortProperty(short initialValue) { super(initialValue); } /** * Constructs a short-typed property with the provided binding. * @param binding */ public QShortProperty(QShortPropertyBinding binding) { super(); Runnable signal = this.signal; this.signal = MIGHT_HAVE_SIGNAL; bindingData().setBinding(binding, this); this.signal = signal; } /** * Constructs a short-typed property with the provided binding. * @param binding */ public QShortProperty(QPropertyBinding<@QtPrimitiveType@StrictNonNull Short> binding) { super(); if(io.qt.core.QShortProperty.checkType(binding.valueMetaType())){ Runnable signal = this.signal; this.signal = MIGHT_HAVE_SIGNAL; bindingData().setBinding(binding, this); this.signal = signal; } } /** *

Constructs a short-typed property bound to the provided functor.

* @param functor */ public QShortProperty(QtUtilities.ShortSupplier functor) { this(new QShortPropertyBinding(functor)); } /** * Returns the value of the property. This may evaluate a binding expression that is tied to this property, before returning the value. * @return value */ @QtUninvokable public final short value() { bindingStorage().registerDependency(this); return this.getValueBypassingBindings(); } /** *

Assigns newValue to this property and removes the property's associated binding, if present.

* @param newValue */ @QtUninvokable public final void setValue(short newValue) { QPropertyBindingData bd = bindingStorage().bindingData(this); if(bd!=null) bd.removeBinding(); if (this.setValueBypassingBindings(newValue)) notifyProperty(bd); } /** *

Associates the value of this property with the provided newBinding expression and returns the previously associated binding.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param functor * @return oldBinding */ @QtUninvokable public final QShortPropertyBinding setBinding(QtUtilities.ShortSupplier functor) { return setBinding(new QShortPropertyBinding(functor)); } /** *

Associates the value of this property with the provided newBinding expression and returns the previously associated binding.

*

The binding's value type ({@link QUntypedPropertyBinding#valueMetaType()}) has to be short, * otherwise the property remains unchanged.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param newBinding * @return oldBinding */ @QtUninvokable public final QShortPropertyBinding setBinding(QShortPropertyBinding newBinding) { QPropertyBindingData bd = bindingData(); QUntypedPropertyBinding oldBinding = bd.setBinding(newBinding, this); notifyProperty(bd); if(oldBinding instanceof QShortPropertyBinding) return (QShortPropertyBinding)oldBinding; else return new QShortPropertyBinding(oldBinding); } /** *

Associates the value of this property with the provided newBinding expression and returns the previously associated binding.

*

The binding's value type ({@link QUntypedPropertyBinding#valueMetaType()}) has to be short, * otherwise the property remains unchanged.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param newBinding * @return oldBinding */ @QtUninvokable public final QShortPropertyBinding setBinding(QPropertyBinding<@QtPrimitiveType@StrictNonNull Short> newBinding) { if(!io.qt.core.QShortProperty.checkType(newBinding.valueMetaType())) return new QShortPropertyBinding(); QPropertyBindingData bd = bindingData(); QUntypedPropertyBinding oldBinding = bd.setBinding(newBinding, this); notifyProperty(bd); if(oldBinding instanceof QShortPropertyBinding) return (QShortPropertyBinding)oldBinding; else return new QShortPropertyBinding(oldBinding); } /** *

Associates the value of this property with the provided newBinding expression.

*

The binding's value type ({@link QUntypedPropertyBinding#valueMetaType()}) has to be short, * otherwise the property remains unchanged and the method returns false.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

*

Returns true if the type of this property is the same as the type the binding function returns; false otherwise.

* @param newBinding * @return true if types match, false otherwise. */ @QtUninvokable public final boolean setBinding(QUntypedPropertyBinding newBinding) { if(io.qt.core.QShortProperty.checkType(newBinding.valueMetaType())) { QPropertyBindingData bd = bindingData(); bd.setBinding(newBinding, this); notifyProperty(bd); return true; }else { return false; } } @QtUninvokable private final QShortPropertyBinding makeBinding() { return new QShortPropertyBinding(this::value); } /** * Checks if the property has a binding. * @return true if the property has a binding, false otherwise. */ @QtUninvokable public final boolean hasBinding() { QPropertyBindingData bd = bindingStorage().bindingData(this); return bd!=null && bd.hasBinding(); } /** * Returns the binding expression that is associated with this property. * A default constructed {@link QShortPropertyBinding} will be returned if no such association exists. * @return binding */ @QtUninvokable public final QShortPropertyBinding binding() { return new QShortPropertyBinding(this); } /** *

Disassociates the binding expression from this property and returns it.

*

After calling this function, the value of the property will only change if you assign a new value to it, or when a new binding is set.

* @return the removed binding */ @QtUninvokable public final QShortPropertyBinding takeBinding() { return setBinding(new QShortPropertyBinding()); } /** *

Registers the given functor f as a callback that shall be called whenever the value of the property changes.

*

The returned property change handler object keeps track of the registration. * As long as the change handler is alive i.e. as long as a reference to the {@link QPropertyChangeHandler} instance exists, * the callback remains installed. When the garbage collection deletes the instance, the callback is de-registered.

* @param f * @return property change handler * @see QPropertyChangeHandler */ @QtUninvokable public final QPropertyChangeHandler onValueChanged(Runnable f) { return new QPropertyChangeHandler(bindingData(), f); } /** * Subscribes the given functor f as a callback that is called immediately and whenever the value of the property changes in the future. * @param f * @return property change handler * @see QPropertyChangeHandler * @see #onValueChanged(Runnable) */ @QtUninvokable public final QPropertyChangeHandler subscribe(Runnable f) { f.run(); return onValueChanged(f); } /** *

Registers the given functor f as a callback that shall be called whenever the value of the bindable changes.

*

The returned property notifier object keeps track of the registration. * As long as the notifier is alive i.e. as long as a reference to the {@link QPropertyNotifier} instance exists, * the callback remains installed. When the garbage collection deletes the instance, the callback is de-registered.

* @param f * @return property notifier * @see QPropertyNotifier */ @QtUninvokable public final QPropertyNotifier addNotifier(Runnable f) { return new QPropertyNotifier(bindingData(), f); } @QtUninvokable QPropertyBindingData bindingData() { return bindingStorage().bindingData(this, true); } @QtUninvokable private void notifyProperty(QPropertyBindingData binding){ if (binding!=null) binding.notifyObservers(this); emitSignal(); } /** * Programmatically signals a change of the property. Any binding which depend on it will be notified, and if the property has a signal, it will be emitted. *

See QObjectBindableProperty::notify()

*/ @QtUninvokable public final void notifyProperty() { QPropertyBindingData bd = bindingStorage().bindingData(this); notifyProperty(bd); } private Runnable signal = () -> { io.qt.internal.PropertyInfo result = CoreUtility.analyzeProperty(QObject.this, this); QMetaMethod notifySignal; if(result.property!=null) { notifySignal = result.notifySignal; }else { notifySignal = findNotifySignalByBindables(QObject.this, result.reflectedField, this); } if(notifySignal==null) { this.signal = NO_SIGNAL; }else{ if(notifySignal.parameterCount()==0) this.signal = new EmitSignal0(notifySignal.methodIndex(), notifySignal.enclosingMetaObject().metaObjectPointer); else this.signal = new EmitSignal1<>(notifySignal.methodIndex(), notifySignal.enclosingMetaObject().metaObjectPointer, this::getValueBypassingBindings); } this.signal.run(); }; @QtUninvokable private boolean hasSignal() { return this.signal != NO_SIGNAL; } @QtUninvokable private void emitSignal() { this.signal.run(); } } /** * QIntProperty is primitive-typed version of QProperty<Integer>. * @see QProperty */ public final class QIntProperty extends QIntPropertyData { QObject owner() { return QObject.this; } /** * Constructs an int-typed property. */ public QIntProperty() { super(); } /** * Constructs an int-typed property with the provided initialValue. * @param initialValue */ public QIntProperty(int initialValue) { super(initialValue); } /** * Constructs an int-typed property with the provided binding. * @param binding */ public QIntProperty(QIntPropertyBinding binding) { super(); Runnable signal = this.signal; this.signal = MIGHT_HAVE_SIGNAL; bindingData().setBinding(binding, this); this.signal = signal; } /** * Constructs an int-typed property with the provided binding. * @param binding */ public QIntProperty(QPropertyBinding<@QtPrimitiveType@StrictNonNull Integer> binding) { super(); if(io.qt.core.QIntProperty.checkType(binding.valueMetaType())){ Runnable signal = this.signal; this.signal = MIGHT_HAVE_SIGNAL; bindingData().setBinding(binding, this); this.signal = signal; } } /** *

Constructs an int-typed property bound to the provided functor.

* @param functor */ public QIntProperty(java.util.function.IntSupplier functor) { this(new QIntPropertyBinding(functor)); } /** * Returns the value of the property. This may evaluate a binding expression that is tied to this property, before returning the value. * @return value */ @QtUninvokable public final int value() { bindingStorage().registerDependency(this); return this.getValueBypassingBindings(); } /** *

Assigns newValue to this property and removes the property's associated binding, if present.

* @param newValue */ @QtUninvokable public final void setValue(int newValue) { QPropertyBindingData bd = bindingStorage().bindingData(this); if(bd!=null) bd.removeBinding(); if (this.setValueBypassingBindings(newValue)) notifyProperty(bd); } /** *

Associates the value of this property with the provided newBinding expression and returns the previously associated binding.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param newBinding * @return oldBinding */ @QtUninvokable public final QIntPropertyBinding setBinding(QIntPropertyBinding newBinding) { QPropertyBindingData bd = bindingData(); QUntypedPropertyBinding oldBinding = bd.setBinding(newBinding, this); notifyProperty(bd); if(oldBinding instanceof QIntPropertyBinding) return (QIntPropertyBinding)oldBinding; else return new QIntPropertyBinding(oldBinding); } /** *

Associates the value of this property with the provided newBinding expression and returns the previously associated binding.

*

The binding's value type ({@link QUntypedPropertyBinding#valueMetaType()}) has to be int, * otherwise the property remains unchanged.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param newBinding * @return oldBinding */ @QtUninvokable public final QIntPropertyBinding setBinding(QPropertyBinding<@QtPrimitiveType@StrictNonNull Integer> newBinding) { if(!io.qt.core.QIntProperty.checkType(newBinding.valueMetaType())) return new QIntPropertyBinding(); QPropertyBindingData bd = bindingData(); QUntypedPropertyBinding oldBinding = bd.setBinding(newBinding, this); notifyProperty(bd); if(oldBinding instanceof QIntPropertyBinding) return (QIntPropertyBinding)oldBinding; else return new QIntPropertyBinding(oldBinding); } /** *

Associates the value of this property with the provided newBinding expression.

*

The binding's value type ({@link QUntypedPropertyBinding#valueMetaType()}) has to be int, * otherwise the property remains unchanged and the method returns false.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

*

Returns true if the type of this property is the same as the type the binding function returns; false otherwise.

* @param newBinding * @return true if types match, false otherwise. */ @QtUninvokable public final boolean setBinding(QUntypedPropertyBinding newBinding) { if(io.qt.core.QIntProperty.checkType(newBinding.valueMetaType())) { QPropertyBindingData bd = bindingData(); bd.setBinding(newBinding, this); notifyProperty(bd); return true; }else { return false; } } /** *

Associates the value of this property with the provided functor and returns the previously associated binding.

*

The first time the property value is read, the binding is evaluated by invoking {@link java.util.function.IntSupplier#getAsInt()} of functor. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param functor * @return oldBinding */ @QtUninvokable public final QIntPropertyBinding setBinding(java.util.function.IntSupplier functor) { return setBinding(new QIntPropertyBinding(functor)); } @QtUninvokable private QIntPropertyBinding makeBinding() { return new QIntPropertyBinding(this::value); } /** * Checks if the property has a binding. * @return true if the property has a binding, false otherwise. */ @QtUninvokable public final boolean hasBinding() { QPropertyBindingData bd = bindingStorage().bindingData(this); return bd!=null && bd.hasBinding(); } /** * Returns the binding expression that is associated with this property. * A default constructed {@link QIntPropertyBinding} will be returned if no such association exists. * @return binding */ @QtUninvokable public final QIntPropertyBinding binding() { return new QIntPropertyBinding(this); } /** *

Disassociates the binding expression from this property and returns it.

*

After calling this function, the value of the property will only change if you assign a new value to it, or when a new binding is set.

* @return the removed binding */ @QtUninvokable public final QIntPropertyBinding takeBinding() { return setBinding(new QIntPropertyBinding()); } /** *

Registers the given functor f as a callback that shall be called whenever the value of the property changes.

*

The returned property change handler object keeps track of the registration. * As long as the change handler is alive i.e. as long as a reference to the {@link QPropertyChangeHandler} instance exists, * the callback remains installed. When the garbage collection deletes the instance, the callback is de-registered.

* @param f * @return property change handler * @see QPropertyChangeHandler */ @QtUninvokable public final QPropertyChangeHandler onValueChanged(Runnable f) { return new QPropertyChangeHandler(bindingData(), f); } /** * Subscribes the given functor f as a callback that is called immediately and whenever the value of the property changes in the future. * @param f * @return property change handler * @see QPropertyChangeHandler * @see #onValueChanged(Runnable) */ @QtUninvokable public final QPropertyChangeHandler subscribe(Runnable f) { f.run(); return onValueChanged(f); } /** *

Registers the given functor f as a callback that shall be called whenever the value of the bindable changes.

*

The returned property notifier object keeps track of the registration. * As long as the notifier is alive i.e. as long as a reference to the {@link QPropertyNotifier} instance exists, * the callback remains installed. When the garbage collection deletes the instance, the callback is de-registered.

* @param f * @return property notifier * @see QPropertyNotifier */ @QtUninvokable public final QPropertyNotifier addNotifier(Runnable f) { return new QPropertyNotifier(bindingData(), f); } @QtUninvokable QPropertyBindingData bindingData() { return bindingStorage().bindingData(this, true); } @QtUninvokable private void notifyProperty(QPropertyBindingData binding){ if (binding!=null) binding.notifyObservers(this); emitSignal(); } /** * Programmatically signals a change of the property. Any binding which depend on it will be notified, and if the property has a signal, it will be emitted. *

See QObjectBindableProperty::notify()

*/ @QtUninvokable public final void notifyProperty() { QPropertyBindingData bd = bindingStorage().bindingData(this); notifyProperty(bd); } private Runnable signal = () -> { io.qt.internal.PropertyInfo result = CoreUtility.analyzeProperty(QObject.this, this); QMetaMethod notifySignal; if(result.property!=null) { notifySignal = result.notifySignal; }else { notifySignal = findNotifySignalByBindables(QObject.this, result.reflectedField, this); } if(notifySignal==null) { this.signal = NO_SIGNAL; }else{ if(notifySignal.parameterCount()==0) this.signal = new EmitSignal0(notifySignal.methodIndex(), notifySignal.enclosingMetaObject().metaObjectPointer); else this.signal = new EmitSignal1<>(notifySignal.methodIndex(), notifySignal.enclosingMetaObject().metaObjectPointer, this::getValueBypassingBindings); } this.signal.run(); }; @QtUninvokable private boolean hasSignal() { return this.signal != NO_SIGNAL; } @QtUninvokable private void emitSignal() { this.signal.run(); } } /** * QLongProperty is primitive-typed version of QProperty<Long>. * @see QProperty */ public final class QLongProperty extends QLongPropertyData { QObject owner() { return QObject.this; } /** * Constructs a long-typed property. */ public QLongProperty() { super(); } /** * Constructs a long-typed property with the provided initialValue. * @param initialValue */ public QLongProperty(long initialValue) { super(initialValue); } /** * Constructs a long-typed property with the provided binding. * @param binding */ public QLongProperty(QLongPropertyBinding binding) { super(); Runnable signal = this.signal; this.signal = MIGHT_HAVE_SIGNAL; bindingData().setBinding(binding, this); this.signal = signal; } /** * Constructs a long-typed property with the provided binding. * @param binding */ public QLongProperty(QPropertyBinding<@QtPrimitiveType@StrictNonNull Long> binding) { super(); if(io.qt.core.QLongProperty.checkType(binding.valueMetaType())){ Runnable signal = this.signal; this.signal = MIGHT_HAVE_SIGNAL; bindingData().setBinding(binding, this); this.signal = signal; } } /** *

Constructs a long-typed property bound to the provided functor.

* @param functor */ public QLongProperty(java.util.function.LongSupplier functor) { this(new QLongPropertyBinding(functor)); } /** * Returns the value of the property. This may evaluate a binding expression that is tied to this property, before returning the value. * @return value */ @QtUninvokable public final long value() { bindingStorage().registerDependency(this); return this.getValueBypassingBindings(); } /** *

Assigns newValue to this property and removes the property's associated binding, if present.

* @param newValue */ @QtUninvokable public final void setValue(long newValue) { QPropertyBindingData bd = bindingStorage().bindingData(this); if(bd!=null) bd.removeBinding(); if (this.setValueBypassingBindings(newValue)) notifyProperty(bd); } /** *

Associates the value of this property with the provided newBinding expression and returns the previously associated binding.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param newBinding * @return oldBinding */ @QtUninvokable public final QLongPropertyBinding setBinding(QLongPropertyBinding newBinding) { QPropertyBindingData bd = bindingData(); QUntypedPropertyBinding oldBinding = bd.setBinding(newBinding, this); notifyProperty(bd); if(oldBinding instanceof QLongPropertyBinding) return (QLongPropertyBinding)oldBinding; else return new QLongPropertyBinding(oldBinding); } /** *

Associates the value of this property with the provided newBinding expression and returns the previously associated binding.

*

The binding's value type ({@link QUntypedPropertyBinding#valueMetaType()}) has to be long, * otherwise the property remains unchanged.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param newBinding * @return oldBinding */ @QtUninvokable public final QLongPropertyBinding setBinding(QPropertyBinding<@QtPrimitiveType@StrictNonNull Long> newBinding) { if(!io.qt.core.QLongProperty.checkType(newBinding.valueMetaType())) return new QLongPropertyBinding(); QPropertyBindingData bd = bindingData(); QUntypedPropertyBinding oldBinding = bd.setBinding(newBinding, this); notifyProperty(bd); if(oldBinding instanceof QLongPropertyBinding) return (QLongPropertyBinding)oldBinding; else return new QLongPropertyBinding(oldBinding); } /** *

Associates the value of this property with the provided newBinding expression.

*

The binding's value type ({@link QUntypedPropertyBinding#valueMetaType()}) has to be long, * otherwise the property remains unchanged and the method returns false.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

*

Returns true if the type of this property is the same as the type the binding function returns; false otherwise.

* @param newBinding * @return true if types match, false otherwise. */ @QtUninvokable public boolean setBinding(QUntypedPropertyBinding newBinding) { if(io.qt.core.QLongProperty.checkType(newBinding.valueMetaType())) { QPropertyBindingData bd = bindingData(); bd.setBinding(newBinding, this); notifyProperty(bd); return true; }else { return false; } } /** *

Associates the value of this property with the provided functor and returns the previously associated binding.

*

The first time the property value is read, the binding is evaluated by invoking {@link java.util.function.LongSupplier#getAsLong()} of functor. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param functor * @return oldBinding */ @QtUninvokable public final QLongPropertyBinding setBinding(java.util.function.LongSupplier functor) { return setBinding(new QLongPropertyBinding(functor)); } @QtUninvokable private final QLongPropertyBinding makeBinding() { return new QLongPropertyBinding(this::value); } /** * Checks if the property has a binding. * @return true if the property has a binding, false otherwise. */ @QtUninvokable public final boolean hasBinding() { QPropertyBindingData bd = bindingStorage().bindingData(this); return bd!=null && bd.hasBinding(); } /** * Returns the binding expression that is associated with this property. * A default constructed {@link QLongPropertyBinding} will be returned if no such association exists. * @return binding */ @QtUninvokable public final QLongPropertyBinding binding() { return new QLongPropertyBinding(this); } /** *

Disassociates the binding expression from this property and returns it.

*

After calling this function, the value of the property will only change if you assign a new value to it, or when a new binding is set.

* @return the removed binding */ @QtUninvokable public final QLongPropertyBinding takeBinding() { return setBinding(new QLongPropertyBinding()); } /** *

Registers the given functor f as a callback that shall be called whenever the value of the property changes.

*

The returned property change handler object keeps track of the registration. * As long as the change handler is alive i.e. as long as a reference to the {@link QPropertyChangeHandler} instance exists, * the callback remains installed. When the garbage collection deletes the instance, the callback is de-registered.

* @param f * @return property change handler * @see QPropertyChangeHandler */ @QtUninvokable public final QPropertyChangeHandler onValueChanged(Runnable f) { return new QPropertyChangeHandler(bindingData(), f); } /** * Subscribes the given functor f as a callback that is called immediately and whenever the value of the property changes in the future. * @param f * @return property change handler * @see QPropertyChangeHandler * @see #onValueChanged(Runnable) */ @QtUninvokable public final QPropertyChangeHandler subscribe(Runnable f) { f.run(); return onValueChanged(f); } /** *

Registers the given functor f as a callback that shall be called whenever the value of the bindable changes.

*

The returned property notifier object keeps track of the registration. * As long as the notifier is alive i.e. as long as a reference to the {@link QPropertyNotifier} instance exists, * the callback remains installed. When the garbage collection deletes the instance, the callback is de-registered.

* @param f * @return property notifier * @see QPropertyNotifier */ @QtUninvokable public final QPropertyNotifier addNotifier(Runnable f) { return new QPropertyNotifier(bindingData(), f); } @QtUninvokable final QPropertyBindingData bindingData() { return bindingStorage().bindingData(this, true); } @QtUninvokable private void notifyProperty(QPropertyBindingData binding){ if (binding!=null) binding.notifyObservers(this); emitSignal(); } /** * Programmatically signals a change of the property. Any binding which depend on it will be notified, and if the property has a signal, it will be emitted. *

See QObjectBindableProperty::notify()

*/ @QtUninvokable public final void notifyProperty() { QPropertyBindingData bd = bindingStorage().bindingData(this); notifyProperty(bd); } private Runnable signal = () -> { io.qt.internal.PropertyInfo result = CoreUtility.analyzeProperty(QObject.this, this); QMetaMethod notifySignal; if(result.property!=null) { notifySignal = result.notifySignal; }else { notifySignal = findNotifySignalByBindables(QObject.this, result.reflectedField, this); } if(notifySignal==null) { this.signal = NO_SIGNAL; }else{ if(notifySignal.parameterCount()==0) this.signal = new EmitSignal0(notifySignal.methodIndex(), notifySignal.enclosingMetaObject().metaObjectPointer); else this.signal = new EmitSignal1<>(notifySignal.methodIndex(), notifySignal.enclosingMetaObject().metaObjectPointer, this::getValueBypassingBindings); } this.signal.run(); }; @QtUninvokable private boolean hasSignal() { return this.signal != NO_SIGNAL; } @QtUninvokable private void emitSignal() { this.signal.run(); } } /** * QFloatProperty is primitive-typed version of QProperty<Float>. * @see QProperty */ public final class QFloatProperty extends QFloatPropertyData { QObject owner() { return QObject.this; } /** * Constructs a float-typed property. */ public QFloatProperty() { super(); } /** * Constructs a float-typed property with the provided initialValue. * @param initialValue */ public QFloatProperty(float initialValue) { super(initialValue); } /** * Constructs a float-typed property with the provided binding. * @param binding */ public QFloatProperty(QFloatPropertyBinding binding) { super(); Runnable signal = this.signal; this.signal = MIGHT_HAVE_SIGNAL; bindingData().setBinding(binding, this); this.signal = signal; } /** * Constructs a float-typed property with the provided binding. * @param binding */ public QFloatProperty(QPropertyBinding<@QtPrimitiveType@StrictNonNull Float> binding) { super(); if(io.qt.core.QFloatProperty.checkType(binding.valueMetaType())){ Runnable signal = this.signal; this.signal = MIGHT_HAVE_SIGNAL; bindingData().setBinding(binding, this); this.signal = signal; } } /** *

Constructs a float-typed property bound to the provided functor.

* @param functor */ public QFloatProperty(QtUtilities.FloatSupplier functor) { this(new QFloatPropertyBinding(functor)); } /** * Returns the value of the property. This may evaluate a binding expression that is tied to this property, before returning the value. * @return value */ @QtUninvokable public final float value() { bindingStorage().registerDependency(this); return this.getValueBypassingBindings(); } /** *

Assigns newValue to this property and removes the property's associated binding, if present.

* @param newValue */ @QtUninvokable public final void setValue(float newValue) { QPropertyBindingData bd = bindingStorage().bindingData(this); if(bd!=null) bd.removeBinding(); if (this.setValueBypassingBindings(newValue)) notifyProperty(bd); } /** *

Associates the value of this property with the provided newBinding expression and returns the previously associated binding.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param newBinding * @return oldBinding */ @QtUninvokable public final QFloatPropertyBinding setBinding(QFloatPropertyBinding newBinding) { QPropertyBindingData bd = bindingData(); QUntypedPropertyBinding oldBinding = bd.setBinding(newBinding, this); notifyProperty(bd); if(oldBinding instanceof QFloatPropertyBinding) return (QFloatPropertyBinding)oldBinding; else return new QFloatPropertyBinding(oldBinding); } /** *

Associates the value of this property with the provided newBinding expression and returns the previously associated binding.

*

The binding's value type ({@link QUntypedPropertyBinding#valueMetaType()}) has to be float, * otherwise the property remains unchanged.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param newBinding * @return oldBinding */ @QtUninvokable public final QFloatPropertyBinding setBinding(QPropertyBinding<@QtPrimitiveType@StrictNonNull Float> newBinding) { if(!io.qt.core.QFloatProperty.checkType(newBinding.valueMetaType())) return new QFloatPropertyBinding(); QPropertyBindingData bd = bindingData(); QUntypedPropertyBinding oldBinding = bd.setBinding(newBinding, this); notifyProperty(bd); if(oldBinding instanceof QFloatPropertyBinding) return (QFloatPropertyBinding)oldBinding; else return new QFloatPropertyBinding(oldBinding); } /** *

Associates the value of this property with the provided newBinding expression.

*

The binding's value type ({@link QUntypedPropertyBinding#valueMetaType()}) has to be float, * otherwise the property remains unchanged and the method returns false.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

*

Returns true if the type of this property is the same as the type the binding function returns; false otherwise.

* @param newBinding * @return true if types match, false otherwise. */ @QtUninvokable public final boolean setBinding(QUntypedPropertyBinding newBinding) { if(io.qt.core.QFloatProperty.checkType(newBinding.valueMetaType())) { QPropertyBindingData bd = bindingData(); bd.setBinding(newBinding, this); notifyProperty(bd); return true; }else { return false; } } /** *

Associates the value of this property with the provided functor and returns the previously associated binding.

*

The first time the property value is read, the binding is evaluated by invoking {@link QtUtilities.FloatSupplier#getAsFloat()} of functor. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param functor * @return oldBinding */ @QtUninvokable public final QFloatPropertyBinding setBinding(QtUtilities.FloatSupplier functor) { return setBinding(new QFloatPropertyBinding(functor)); } @QtUninvokable private QFloatPropertyBinding makeBinding() { return new QFloatPropertyBinding(this::value); } /** * Checks if the property has a binding. * @return true if the property has a binding, false otherwise. */ @QtUninvokable public final boolean hasBinding() { QPropertyBindingData bd = bindingStorage().bindingData(this); return bd!=null && bd.hasBinding(); } /** * Returns the binding expression that is associated with this property. * A default constructed {@link QFloatPropertyBinding} will be returned if no such association exists. * @return binding */ @QtUninvokable public final QFloatPropertyBinding binding() { return new QFloatPropertyBinding(this); } /** *

Disassociates the binding expression from this property and returns it.

*

After calling this function, the value of the property will only change if you assign a new value to it, or when a new binding is set.

* @return the removed binding */ @QtUninvokable public final QFloatPropertyBinding takeBinding() { return setBinding(new QFloatPropertyBinding()); } /** *

Registers the given functor f as a callback that shall be called whenever the value of the property changes.

*

The returned property change handler object keeps track of the registration. * As long as the change handler is alive i.e. as long as a reference to the {@link QPropertyChangeHandler} instance exists, * the callback remains installed. When the garbage collection deletes the instance, the callback is de-registered.

* @param f * @return property change handler * @see QPropertyChangeHandler */ @QtUninvokable public final QPropertyChangeHandler onValueChanged(Runnable f) { return new QPropertyChangeHandler(bindingData(), f); } /** * Subscribes the given functor f as a callback that is called immediately and whenever the value of the property changes in the future. * @param f * @return property change handler * @see QPropertyChangeHandler * @see #onValueChanged(Runnable) */ @QtUninvokable public final QPropertyChangeHandler subscribe(Runnable f) { f.run(); return onValueChanged(f); } /** *

Registers the given functor f as a callback that shall be called whenever the value of the bindable changes.

*

The returned property notifier object keeps track of the registration. * As long as the notifier is alive i.e. as long as a reference to the {@link QPropertyNotifier} instance exists, * the callback remains installed. When the garbage collection deletes the instance, the callback is de-registered.

* @param f * @return property notifier * @see QPropertyNotifier */ @QtUninvokable public final QPropertyNotifier addNotifier(Runnable f) { return new QPropertyNotifier(bindingData(), f); } @QtUninvokable final QPropertyBindingData bindingData() { return bindingStorage().bindingData(this, true); } @QtUninvokable private void notifyProperty(QPropertyBindingData binding){ if (binding!=null) binding.notifyObservers(this); emitSignal(); } /** * Programmatically signals a change of the property. Any binding which depend on it will be notified, and if the property has a signal, it will be emitted. *

See QObjectBindableProperty::notify()

*/ @QtUninvokable public final void notifyProperty() { QPropertyBindingData bd = bindingStorage().bindingData(this); notifyProperty(bd); } private Runnable signal = () -> { io.qt.internal.PropertyInfo result = CoreUtility.analyzeProperty(QObject.this, this); QMetaMethod notifySignal; if(result.property!=null) { notifySignal = result.notifySignal; }else { notifySignal = findNotifySignalByBindables(QObject.this, result.reflectedField, this); } if(notifySignal==null) { this.signal = NO_SIGNAL; }else{ if(notifySignal.parameterCount()==0) this.signal = new EmitSignal0(notifySignal.methodIndex(), notifySignal.enclosingMetaObject().metaObjectPointer); else this.signal = new EmitSignal1<>(notifySignal.methodIndex(), notifySignal.enclosingMetaObject().metaObjectPointer, this::getValueBypassingBindings); } this.signal.run(); }; @QtUninvokable private boolean hasSignal() { return this.signal != NO_SIGNAL; } @QtUninvokable private void emitSignal() { this.signal.run(); } } /** * QDoubleProperty is primitive-typed version of QProperty<Double>. * @see QProperty */ public final class QDoubleProperty extends QDoublePropertyData { QObject owner() { return QObject.this; } /** * Constructs a double-typed property. */ public QDoubleProperty() { super(); } /** * Constructs a double-typed property with the provided initialValue. * @param initialValue */ public QDoubleProperty(double initialValue) { super(initialValue); } /** * Constructs a double-typed property with the provided binding. * @param binding */ public QDoubleProperty(QDoublePropertyBinding binding) { super(); Runnable signal = this.signal; this.signal = MIGHT_HAVE_SIGNAL; bindingData().setBinding(binding, this); this.signal = signal; } /** * Constructs a double-typed property with the provided binding. * @param binding */ public QDoubleProperty(QPropertyBinding<@QtPrimitiveType@StrictNonNull Double> binding) { super(); if(io.qt.core.QDoubleProperty.checkType(binding.valueMetaType())){ Runnable signal = this.signal; this.signal = MIGHT_HAVE_SIGNAL; bindingData().setBinding(binding, this); this.signal = signal; } } /** *

Constructs a double-typed property bound to the provided functor.

* @param functor */ public QDoubleProperty(java.util.function.DoubleSupplier functor) { this(new QDoublePropertyBinding(functor)); } /** * Returns the value of the property. This may evaluate a binding expression that is tied to this property, before returning the value. * @return value */ @QtUninvokable public final double value() { bindingStorage().registerDependency(this); return this.getValueBypassingBindings(); } /** *

Assigns newValue to this property and removes the property's associated binding, if present.

* @param newValue */ @QtUninvokable public final void setValue(double newValue) { QPropertyBindingData bd = bindingStorage().bindingData(this); if(bd!=null) bd.removeBinding(); if (this.setValueBypassingBindings(newValue)) notifyProperty(bd); } /** *

Associates the value of this property with the provided newBinding expression and returns the previously associated binding.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param newBinding * @return oldBinding */ @QtUninvokable public final QDoublePropertyBinding setBinding(QDoublePropertyBinding newBinding) { QPropertyBindingData bd = bindingData(); QUntypedPropertyBinding oldBinding = bd.setBinding(newBinding, this); notifyProperty(bd); if(oldBinding instanceof QDoublePropertyBinding) return (QDoublePropertyBinding)oldBinding; else return new QDoublePropertyBinding(oldBinding); } /** *

Associates the value of this property with the provided newBinding expression and returns the previously associated binding.

*

The binding's value type ({@link QUntypedPropertyBinding#valueMetaType()}) has to be double, * otherwise the property remains unchanged.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param newBinding * @return oldBinding */ @QtUninvokable public final QDoublePropertyBinding setBinding(QPropertyBinding<@QtPrimitiveType@StrictNonNull Double> newBinding) { if(!io.qt.core.QDoubleProperty.checkType(newBinding.valueMetaType())) return new QDoublePropertyBinding(); QPropertyBindingData bd = bindingData(); QUntypedPropertyBinding oldBinding = bd.setBinding(newBinding, this); notifyProperty(bd); if(oldBinding instanceof QDoublePropertyBinding) return (QDoublePropertyBinding)oldBinding; else return new QDoublePropertyBinding(oldBinding); } /** *

Associates the value of this property with the provided newBinding expression.

*

The binding's value type ({@link QUntypedPropertyBinding#valueMetaType()}) has to be double, * otherwise the property remains unchanged and the method returns false.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

*

Returns true if the type of this property is the same as the type the binding function returns; false otherwise.

* @param newBinding * @return true if types match, false otherwise. */ @QtUninvokable public final boolean setBinding(QUntypedPropertyBinding newBinding) { if(io.qt.core.QDoubleProperty.checkType(newBinding.valueMetaType())) { QPropertyBindingData bd = bindingData(); bd.setBinding(newBinding, this); notifyProperty(bd); return true; }else { return false; } } /** *

Associates the value of this property with the provided functor and returns the previously associated binding.

*

The first time the property value is read, the binding is evaluated by invoking {@link java.util.function.DoubleSupplier#getAsDouble()} of functor. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param functor * @return oldBinding */ @QtUninvokable public final QDoublePropertyBinding setBinding(java.util.function.DoubleSupplier functor) { return setBinding(new QDoublePropertyBinding(functor)); } @QtUninvokable private QDoublePropertyBinding makeBinding() { return new QDoublePropertyBinding(this::value); } /** * Checks if the property has a binding. * @return true if the property has a binding, false otherwise. */ @QtUninvokable public final boolean hasBinding() { QPropertyBindingData bd = bindingStorage().bindingData(this); return bd!=null && bd.hasBinding(); } /** * Returns the binding expression that is associated with this property. * A default constructed {@link QDoublePropertyBinding} will be returned if no such association exists. * @return binding */ @QtUninvokable public final QDoublePropertyBinding binding() { return new QDoublePropertyBinding(this); } /** *

Disassociates the binding expression from this property and returns it.

*

After calling this function, the value of the property will only change if you assign a new value to it, or when a new binding is set.

* @return the removed binding */ @QtUninvokable public final QDoublePropertyBinding takeBinding() { return setBinding(new QDoublePropertyBinding()); } /** *

Registers the given functor f as a callback that shall be called whenever the value of the property changes.

*

The returned property change handler object keeps track of the registration. * As long as the change handler is alive i.e. as long as a reference to the {@link QPropertyChangeHandler} instance exists, * the callback remains installed. When the garbage collection deletes the instance, the callback is de-registered.

* @param f * @return property change handler * @see QPropertyChangeHandler */ @QtUninvokable public final QPropertyChangeHandler onValueChanged(Runnable f) { return new QPropertyChangeHandler(bindingData(), f); } /** * Subscribes the given functor f as a callback that is called immediately and whenever the value of the property changes in the future. * @param f * @return property change handler * @see QPropertyChangeHandler * @see #onValueChanged(Runnable) */ @QtUninvokable public final QPropertyChangeHandler subscribe(Runnable f) { f.run(); return onValueChanged(f); } /** *

Registers the given functor f as a callback that shall be called whenever the value of the bindable changes.

*

The returned property notifier object keeps track of the registration. * As long as the notifier is alive i.e. as long as a reference to the {@link QPropertyNotifier} instance exists, * the callback remains installed. When the garbage collection deletes the instance, the callback is de-registered.

* @param f * @return property notifier * @see QPropertyNotifier */ @QtUninvokable public final QPropertyNotifier addNotifier(Runnable f) { return new QPropertyNotifier(bindingData(), f); } @QtUninvokable final QPropertyBindingData bindingData() { return bindingStorage().bindingData(this, true); } @QtUninvokable private void notifyProperty(QPropertyBindingData binding){ if (binding!=null) binding.notifyObservers(this); emitSignal(); } /** * Programmatically signals a change of the property. Any binding which depend on it will be notified, and if the property has a signal, it will be emitted. *

See QObjectBindableProperty::notify()

*/ @QtUninvokable public final void notifyProperty() { QPropertyBindingData bd = bindingStorage().bindingData(this); notifyProperty(bd); } private Runnable signal = () -> { io.qt.internal.PropertyInfo result = CoreUtility.analyzeProperty(QObject.this, this); QMetaMethod notifySignal; if(result.property!=null) { notifySignal = result.notifySignal; }else { notifySignal = findNotifySignalByBindables(QObject.this, result.reflectedField, this); } if(notifySignal==null) { this.signal = NO_SIGNAL; }else{ if(notifySignal.parameterCount()==0) this.signal = new EmitSignal0(notifySignal.methodIndex(), notifySignal.enclosingMetaObject().metaObjectPointer); else this.signal = new EmitSignal1<>(notifySignal.methodIndex(), notifySignal.enclosingMetaObject().metaObjectPointer, this::getValueBypassingBindings); } this.signal.run(); }; @QtUninvokable private boolean hasSignal() { return this.signal != NO_SIGNAL; } @QtUninvokable private void emitSignal() { this.signal.run(); } } /** * QCharProperty is primitive-typed version of QProperty<Character>. * @see QProperty */ public final class QCharProperty extends QCharPropertyData { QObject owner() { return QObject.this; } /** * Constructs a char-typed property. */ public QCharProperty() { super(); } /** * Constructs a char-typed property with the provided initialValue. * @param initialValue */ public QCharProperty(char initialValue) { super(initialValue); } /** * Constructs a char-typed property with the provided binding. * @param binding */ public QCharProperty(QCharPropertyBinding binding) { super(); Runnable signal = this.signal; this.signal = MIGHT_HAVE_SIGNAL; bindingData().setBinding(binding, this); this.signal = signal; } /** * Constructs a char-typed property with the provided binding. * @param binding */ public QCharProperty(QPropertyBinding<@QtPrimitiveType@NonNull Character> binding) { super(); if(io.qt.core.QCharProperty.checkType(binding.valueMetaType())){ Runnable signal = this.signal; this.signal = MIGHT_HAVE_SIGNAL; bindingData().setBinding(binding, this); this.signal = signal; } } /** *

Constructs a char-typed property bound to the provided functor.

* @param functor */ public QCharProperty(QtUtilities.@NonNull CharSupplier functor) { this(new QCharPropertyBinding(functor)); } /** * Returns the value of the property. This may evaluate a binding expression that is tied to this property, before returning the value. * @return value */ @QtUninvokable public final char value() { bindingStorage().registerDependency(this); return this.getValueBypassingBindings(); } /** *

Assigns newValue to this property and removes the property's associated binding, if present.

* @param newValue */ @QtUninvokable public final void setValue(char newValue) { QPropertyBindingData bd = bindingStorage().bindingData(this); if(bd!=null) bd.removeBinding(); if (this.setValueBypassingBindings(newValue)) notifyProperty(bd); } /** *

Associates the value of this property with the provided newBinding expression and returns the previously associated binding.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param newBinding * @return oldBinding */ @QtUninvokable public final @NonNull QCharPropertyBinding setBinding(QCharPropertyBinding newBinding) { QPropertyBindingData bd = bindingData(); QUntypedPropertyBinding oldBinding = bd.setBinding(newBinding, this); notifyProperty(bd); if(oldBinding instanceof QCharPropertyBinding) return (QCharPropertyBinding)oldBinding; else return new QCharPropertyBinding(oldBinding); } /** *

Associates the value of this property with the provided newBinding expression and returns the previously associated binding.

*

The binding's value type ({@link QUntypedPropertyBinding#valueMetaType()}) has to be char, * otherwise the property remains unchanged.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param newBinding * @return oldBinding */ @QtUninvokable public final @NonNull QCharPropertyBinding setBinding(QPropertyBinding<@QtPrimitiveType@NonNull Character> newBinding) { if(!io.qt.core.QCharProperty.checkType(newBinding.valueMetaType())) return new QCharPropertyBinding(); QPropertyBindingData bd = bindingData(); QUntypedPropertyBinding oldBinding = bd.setBinding(newBinding, this); notifyProperty(bd); if(oldBinding instanceof QCharPropertyBinding) return (QCharPropertyBinding)oldBinding; else return new QCharPropertyBinding(oldBinding); } /** *

Associates the value of this property with the provided newBinding expression.

*

The binding's value type ({@link QUntypedPropertyBinding#valueMetaType()}) has to be char, * otherwise the property remains unchanged and the method returns false.

*

The first time the property value is read, the binding is evaluated. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

*

Returns true if the type of this property is the same as the type the binding function returns; false otherwise.

* @param newBinding * @return true if types match, false otherwise. */ @QtUninvokable public final boolean setBinding(QUntypedPropertyBinding newBinding) { if(io.qt.core.QCharProperty.checkType(newBinding.valueMetaType())) { QPropertyBindingData bd = bindingData(); bd.setBinding(newBinding, this); notifyProperty(bd); return true; }else { return false; } } /** *

Associates the value of this property with the provided functor and returns the previously associated binding.

*

The first time the property value is read, the binding is evaluated by invoking {@link QtUtilities.CharSupplier#getAsChar()} of functor. * Whenever a dependency of the binding changes, the binding will be re-evaluated the next time the value of this property is read.

* @param functor * @return oldBinding */ @QtUninvokable public final @NonNull QCharPropertyBinding setBinding(QtUtilities.@NonNull CharSupplier functor) { return setBinding(new QCharPropertyBinding(functor)); } @QtUninvokable private @NonNull QCharPropertyBinding makeBinding() { return new QCharPropertyBinding(this::value); } /** * Checks if the property has a binding. * @return true if the property has a binding, false otherwise. */ @QtUninvokable public final boolean hasBinding() { QPropertyBindingData bd = bindingStorage().bindingData(this); return bd!=null && bd.hasBinding(); } /** * Returns the binding expression that is associated with this property. * A default constructed {@link QCharPropertyBinding} will be returned if no such association exists. * @return binding */ @QtUninvokable public final @NonNull QCharPropertyBinding binding() { return new QCharPropertyBinding(this); } /** *

Disassociates the binding expression from this property and returns it.

*

After calling this function, the value of the property will only change if you assign a new value to it, or when a new binding is set.

* @return the removed binding */ @QtUninvokable public final @NonNull QCharPropertyBinding takeBinding() { return setBinding(new QCharPropertyBinding()); } /** *

Registers the given functor f as a callback that shall be called whenever the value of the property changes.

*

The returned property change handler object keeps track of the registration. * As long as the change handler is alive i.e. as long as a reference to the {@link QPropertyChangeHandler} instance exists, * the callback remains installed. When the garbage collection deletes the instance, the callback is de-registered.

* @param f * @return property change handler * @see QPropertyChangeHandler */ @QtUninvokable public final @NonNull QPropertyChangeHandler onValueChanged(@StrictNonNull Runnable f) { return new QPropertyChangeHandler(bindingData(), f); } /** * Subscribes the given functor f as a callback that is called immediately and whenever the value of the property changes in the future. * @param f * @return property change handler * @see QPropertyChangeHandler * @see #onValueChanged(Runnable) */ @QtUninvokable public final @NonNull QPropertyChangeHandler subscribe(@StrictNonNull Runnable f) { f.run(); return onValueChanged(f); } /** *

Registers the given functor f as a callback that shall be called whenever the value of the bindable changes.

*

The returned property notifier object keeps track of the registration. * As long as the notifier is alive i.e. as long as a reference to the {@link QPropertyNotifier} instance exists, * the callback remains installed. When the garbage collection deletes the instance, the callback is de-registered.

* @param f * @return property notifier * @see QPropertyNotifier */ @QtUninvokable public final @NonNull QPropertyNotifier addNotifier(@StrictNonNull Runnable f) { return new QPropertyNotifier(bindingData(), f); } @QtUninvokable final QPropertyBindingData bindingData() { return bindingStorage().bindingData(this, true); } @QtUninvokable private void notifyProperty(QPropertyBindingData binding){ if (binding!=null) binding.notifyObservers(this); emitSignal(); } /** * Programmatically signals a change of the property. Any binding which depend on it will be notified, and if the property has a signal, it will be emitted. *

See QObjectBindableProperty::notify()

*/ @QtUninvokable public final void notifyProperty() { QPropertyBindingData bd = bindingStorage().bindingData(this); notifyProperty(bd); } private Runnable signal = () -> { io.qt.internal.PropertyInfo result = CoreUtility.analyzeProperty(QObject.this, this); QMetaMethod notifySignal; if(result.property!=null) { notifySignal = result.notifySignal; }else { notifySignal = findNotifySignalByBindables(QObject.this, result.reflectedField, this); } if(notifySignal==null) { this.signal = NO_SIGNAL; }else{ if(notifySignal.parameterCount()==0) this.signal = new EmitSignal0(notifySignal.methodIndex(), notifySignal.enclosingMetaObject().metaObjectPointer); else this.signal = new EmitSignal1<>(notifySignal.methodIndex(), notifySignal.enclosingMetaObject().metaObjectPointer, this::getValueBypassingBindings); } this.signal.run(); }; @QtUninvokable private boolean hasSignal() { return this.signal != NO_SIGNAL; } @QtUninvokable private void emitSignal() { this.signal.run(); } } private abstract class QAbstractComputedProperty extends QUntypedPropertyData { QObject owner() { return QObject.this; } @QtUninvokable public final boolean hasBinding() { return false; } /** *

Registers the given functor f as a callback that shall be called whenever the value of the property changes.

*

The returned property change handler object keeps track of the registration. * As long as the change handler is alive i.e. as long as a reference to the {@link QPropertyChangeHandler} instance exists, * the callback remains installed. When the garbage collection deletes the instance, the callback is de-registered.

* @param f * @return property change handler * @see QPropertyChangeHandler */ @QtUninvokable public final @NonNull QPropertyChangeHandler onValueChanged(@StrictNonNull Runnable f) { return new QPropertyChangeHandler(bindingData(), f); } /** * Subscribes the given functor f as a callback that is called immediately and whenever the value of the property changes in the future. * @param f * @return property change handler * @see QPropertyChangeHandler * @see #onValueChanged(Runnable) */ @QtUninvokable public final @NonNull QPropertyChangeHandler subscribe(@StrictNonNull Runnable f) { f.run(); return onValueChanged(f); } /** *

Registers the given functor f as a callback that shall be called whenever the value of the bindable changes.

*

The returned property notifier object keeps track of the registration. * As long as the notifier is alive i.e. as long as a reference to the {@link QPropertyNotifier} instance exists, * the callback remains installed. When the garbage collection deletes the instance, the callback is de-registered.

* @param f * @return property notifier * @see QPropertyNotifier */ @QtUninvokable public final @NonNull QPropertyNotifier addNotifier(@StrictNonNull Runnable f) { return new QPropertyNotifier(bindingData(), f); } @QtUninvokable final QPropertyBindingData bindingData() { return bindingStorage().bindingData(this, true); } @QtUninvokable public abstract @NonNull QMetaType valueMetaType(); /** * Programmatically signals a change of the property. Any binding which depend on it will be notified, and if the property has a signal, it will be emitted. */ @QtUninvokable public final void notifyProperty() { // computed property can't store a binding, so there's nothing to mark io.qt.core.QBindingStorage storage = bindingStorage(); QPropertyBindingData bd = storage.bindingData(this, false); if (bd!=null) bd.notifyObservers(this, bindingStorage()); } } /** *

The QComputedProperty class is a template class for externally computed/stored values. * Create an instance of QComputedProperty by providing a value supplier.

*

Example:

* * private final QComputedProperty<QColor> color = new QComputedProperty<>(this::computeOptimalColor); * *

The Java type QComputedProperty corresponds to the C++ type QObjectComputedProperty.

*

For primitive-typed implementations see:

*
    *
  • {@link QComputedBooleanProperty}
  • *
  • {@link QComputedByteProperty}
  • *
  • {@link QComputedShortProperty}
  • *
  • {@link QComputedIntProperty}
  • *
  • {@link QComputedLongProperty}
  • *
  • {@link QComputedFloatProperty}
  • *
  • {@link QComputedDoubleProperty}
  • *
  • {@link QComputedCharProperty}
  • *
*/ public final class QComputedProperty extends QAbstractComputedProperty { private final QtUtilities.Supplier getter; /** * Constructs a computed-value property whose type corresponds to the given value supplier. * @param getter supplying the computed value */ public QComputedProperty(QtUtilities.@StrictNonNull Supplier getter) { super(); QPropertyBinding.analyzeMetaType(getter); this.getter = getter; } /** * Returns the value of the property computed by the given getter. * @return value */ @QtUninvokable public final T value() { bindingStorage().registerDependency(this); return getter.get(); } @QtUninvokable private @NonNull QPropertyBinding makeBinding() { return new QPropertyBinding<>(this::value); } @QtUninvokable public final @NonNull QMetaType valueMetaType() { return QPropertyBinding.analyzeMetaType(getter); } } /** * QComputedBooleanProperty is primitive-typed version of QComputedProperty<Boolean>. * @see QComputedProperty */ public final class QComputedBooleanProperty extends QAbstractComputedProperty { private final java.util.function.BooleanSupplier getter; /** * Constructs a boolean-typed computed-value property according to the given value supplier. * @param getter supplying the computed value */ public QComputedBooleanProperty(java.util.function.@NonNull BooleanSupplier getter) { super(); this.getter = getter; } /** * Returns the value of the property computed by the given getter. * @return value */ @QtUninvokable public final boolean value() { bindingStorage().registerDependency(this); return getter.getAsBoolean(); } @QtUninvokable private @NonNull QBooleanPropertyBinding makeBinding() { return new QBooleanPropertyBinding(this::value); } @QtUninvokable public final @NonNull QMetaType valueMetaType() { return new QMetaType(QMetaType.Type.Bool); } } /** * QComputedByteProperty is primitive-typed version of QComputedProperty<Byte>. * @see QComputedProperty */ public final class QComputedByteProperty extends QAbstractComputedProperty { private final QtUtilities.ByteSupplier getter; /** * Constructs a byte-typed computed-value property according to the given value supplier. * @param getter supplying the computed value */ public QComputedByteProperty(QtUtilities.@NonNull ByteSupplier getter) { super(); this.getter = getter; } /** * Returns the value of the property computed by the given getter. * @return value */ @QtUninvokable public final byte value() { bindingStorage().registerDependency(this); return getter.getAsByte(); } @QtUninvokable private @NonNull QBytePropertyBinding makeBinding() { return new QBytePropertyBinding(this::value); } @QtUninvokable public final @NonNull QMetaType valueMetaType() { return new QMetaType(QMetaType.Type.SChar); } } /** * QComputedShortProperty is primitive-typed version of QComputedProperty<Short>. * @see QComputedProperty */ public final class QComputedShortProperty extends QAbstractComputedProperty { private final QtUtilities.ShortSupplier getter; /** * Constructs a short-typed computed-value property according to the given value supplier. * @param getter supplying the computed value */ public QComputedShortProperty(QtUtilities.@NonNull ShortSupplier getter) { super(); this.getter = getter; } /** * Returns the value of the property computed by the given getter. * @return value */ @QtUninvokable public final short value() { bindingStorage().registerDependency(this); return getter.getAsShort(); } @QtUninvokable private @NonNull QShortPropertyBinding makeBinding() { return new QShortPropertyBinding(this::value); } @QtUninvokable public final @NonNull QMetaType valueMetaType() { return new QMetaType(QMetaType.Type.Short); } } /** * QComputedIntProperty is primitive-typed version of QComputedProperty<Integer>. * @see QComputedProperty */ public final class QComputedIntProperty extends QAbstractComputedProperty { private final java.util.function.IntSupplier getter; /** * Constructs a int-typed computed-value property according to the given value supplier. * @param getter supplying the computed value */ public QComputedIntProperty(java.util.function.@NonNull IntSupplier getter) { super(); this.getter = getter; } /** * Returns the value of the property computed by the given getter. * @return value */ @QtUninvokable public final int value() { bindingStorage().registerDependency(this); return getter.getAsInt(); } @QtUninvokable private @NonNull QIntPropertyBinding makeBinding() { return new QIntPropertyBinding(this::value); } @QtUninvokable public final @NonNull QMetaType valueMetaType() { return new QMetaType(QMetaType.Type.Int); } } /** * QComputedLongProperty is primitive-typed version of QComputedProperty<Long>. * @see QComputedProperty */ public final class QComputedLongProperty extends QAbstractComputedProperty { private final java.util.function.LongSupplier getter; /** * Constructs a long-typed computed-value property according to the given value supplier. * @param getter supplying the computed value */ public QComputedLongProperty(java.util.function.@NonNull LongSupplier getter) { super(); this.getter = getter; } /** * Returns the value of the property computed by the given getter. * @return value */ @QtUninvokable public final long value() { bindingStorage().registerDependency(this); return getter.getAsLong(); } @QtUninvokable private @NonNull QLongPropertyBinding makeBinding() { return new QLongPropertyBinding(this::value); } @QtUninvokable public final @NonNull QMetaType valueMetaType() { return new QMetaType(QMetaType.Type.LongLong); } } /** * QComputedFloatProperty is primitive-typed version of QComputedProperty<Float>. * @see QComputedProperty */ public final class QComputedFloatProperty extends QAbstractComputedProperty { private final QtUtilities.FloatSupplier getter; /** * Constructs a float-typed computed-value property according to the given value supplier. * @param getter supplying the computed value */ public QComputedFloatProperty(QtUtilities.@NonNull FloatSupplier getter) { super(); this.getter = getter; } /** * Returns the value of the property computed by the given getter. * @return value */ @QtUninvokable public final float value() { bindingStorage().registerDependency(this); return getter.getAsFloat(); } @QtUninvokable private @NonNull QFloatPropertyBinding makeBinding() { return new QFloatPropertyBinding(this::value); } @QtUninvokable public final @NonNull QMetaType valueMetaType() { return new QMetaType(QMetaType.Type.Float); } } /** * QComputedDoubleProperty is primitive-typed version of QComputedProperty<Double>. * @see QComputedProperty */ public final class QComputedDoubleProperty extends QAbstractComputedProperty { private final java.util.function.DoubleSupplier getter; /** * Constructs a double-typed computed-value property according to the given value supplier. * @param getter supplying the computed value */ public QComputedDoubleProperty(java.util.function.@NonNull DoubleSupplier getter) { super(); this.getter = getter; } /** * Returns the value of the property computed by the given getter. * @return value */ @QtUninvokable public final double value() { bindingStorage().registerDependency(this); return getter.getAsDouble(); } @QtUninvokable private @NonNull QDoublePropertyBinding makeBinding() { return new QDoublePropertyBinding(this::value); } @QtUninvokable public final @NonNull QMetaType valueMetaType() { return new QMetaType(QMetaType.Type.Double); } } /** * QComputedCharProperty is primitive-typed version of QComputedProperty<Character>. * @see QComputedProperty */ public final class QComputedCharProperty extends QAbstractComputedProperty { private final QtUtilities.CharSupplier getter; /** * Constructs a char-typed computed-value property according to the given value supplier. * @param getter supplying the computed value */ public QComputedCharProperty(QtUtilities.@NonNull CharSupplier getter) { super(); this.getter = getter; } /** * Returns the value of the property computed by the given getter. * @return value */ @QtUninvokable public final char value() { bindingStorage().registerDependency(this); return getter.getAsChar(); } @QtUninvokable private @NonNull QCharPropertyBinding makeBinding() { return new QCharPropertyBinding(this::value); } @QtUninvokable public final @NonNull QMetaType valueMetaType() { return new QMetaType(QMetaType.Type.QChar); } } private static class CoreUtility extends io.qt.internal.CoreUtility{ static io.qt.internal.PropertyInfo analyzeProperty(QObject object, QtObject property) { return io.qt.internal.CoreUtility.analyzeProperty(object, property, io.qt.internal.PropertyInfo.class); } protected static void registerPropertyField(QMetaProperty metaProperty, java.lang.reflect.Field field) { io.qt.internal.CoreUtility.registerPropertyField(metaProperty, field); } protected static void emitNativeSignal(QObject sender, int methodIndex, long metaObjectId, Object... args) { io.qt.internal.CoreUtility.emitNativeSignal(sender, methodIndex, metaObjectId, args); } protected static boolean disconnectAll(QtSignalEmitterInterface sender, Object receiver) { return io.qt.internal.CoreUtility.disconnectAll(sender, receiver); } protected static boolean disconnectOne(QMetaObject.Connection connection) { return io.qt.internal.CoreUtility.disconnectOne(connection); } } static QThread getQPropertyThread(io.qt.internal.ClassAnalyzerUtility.LambdaInfo info) { if(info!=null) { if(info.owner==null && info.isStatic && info.lambdaArgs.size()>0) { Object arg = info.lambdaArgs.get(0); if(arg instanceof QUntypedPropertyData) { if(arg instanceof QProperty) { QProperty property = (QProperty)arg; return property.owner().thread(); }else if(arg instanceof QByteProperty) { QByteProperty property = (QByteProperty)arg; return property.owner().thread(); }else if(arg instanceof QShortProperty) { QShortProperty property = (QShortProperty)arg; return property.owner().thread(); }else if(arg instanceof QIntProperty) { QIntProperty property = (QIntProperty)arg; return property.owner().thread(); }else if(arg instanceof QLongProperty) { QLongProperty property = (QLongProperty)arg; return property.owner().thread(); }else if(arg instanceof QFloatProperty) { QFloatProperty property = (QFloatProperty)arg; return property.owner().thread(); }else if(arg instanceof QDoubleProperty) { QDoubleProperty property = (QDoubleProperty)arg; return property.owner().thread(); }else if(arg instanceof QCharProperty) { QCharProperty property = (QCharProperty)arg; return property.owner().thread(); }else if(arg instanceof QBooleanProperty) { QBooleanProperty property = (QBooleanProperty)arg; return property.owner().thread(); }else if(arg instanceof QAbstractComputedProperty) { QAbstractComputedProperty property = (QAbstractComputedProperty)arg; return property.owner().thread(); } } }else if(info.owner instanceof QUntypedPropertyData) { if(info.owner instanceof QProperty) { QProperty property = (QProperty)info.owner; return property.owner().thread(); }else if(info.owner instanceof QByteProperty) { QByteProperty property = (QByteProperty)info.owner; return property.owner().thread(); }else if(info.owner instanceof QShortProperty) { QShortProperty property = (QShortProperty)info.owner; return property.owner().thread(); }else if(info.owner instanceof QIntProperty) { QIntProperty property = (QIntProperty)info.owner; return property.owner().thread(); }else if(info.owner instanceof QLongProperty) { QLongProperty property = (QLongProperty)info.owner; return property.owner().thread(); }else if(info.owner instanceof QFloatProperty) { QFloatProperty property = (QFloatProperty)info.owner; return property.owner().thread(); }else if(info.owner instanceof QDoubleProperty) { QDoubleProperty property = (QDoubleProperty)info.owner; return property.owner().thread(); }else if(info.owner instanceof QCharProperty) { QCharProperty property = (QCharProperty)info.owner; return property.owner().thread(); }else if(info.owner instanceof QBooleanProperty) { QBooleanProperty property = (QBooleanProperty)info.owner; return property.owner().thread(); }else if(info.owner instanceof QAbstractComputedProperty) { QAbstractComputedProperty property = (QAbstractComputedProperty)info.owner; return property.owner().thread(); } } } return null; } /** *

See operator<<(QDebug,const QObject*)

*/ @QtUninvokable @Override public @NonNull String toString() { return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private static native String toString_native(long __this_nativeId); /** *

Overloaded constructor for {@link #QObject(io.qt.core.QObject)} * with parent = null.

*/ public QObject() { this((io.qt.core.QObject)null); } /** *

Overloaded function for {@link #findChild(java.lang.String, io.qt.core.Qt.FindChildOptions)} * with options = new io.qt.core.Qt.FindChildOptions(1).

*/ @QtUninvokable public final io.qt.core.@Nullable QObject findChild(java.lang.@NonNull String aName) { return findChild(aName, new io.qt.core.Qt.FindChildOptions(1)); } /** *

Overloaded function for {@link #findChild(java.lang.String, io.qt.core.Qt.FindChildOptions)}

*

with:

    *
  • aName = (String)null
  • *
  • options = new io.qt.core.Qt.FindChildOptions(1)
  • *
*/ @QtUninvokable public final io.qt.core.@Nullable QObject findChild() { return findChild((String)null, new io.qt.core.Qt.FindChildOptions(1)); } /** *

Overloaded function for {@link #findChild(java.lang.String, io.qt.core.Qt.FindChildOptions)}.

*/ @QtUninvokable public final io.qt.core.@Nullable QObject findChild(java.lang.@NonNull String aName, io.qt.core.Qt.@NonNull FindChildOption @NonNull... options) { return findChild(aName, new io.qt.core.Qt.FindChildOptions(options)); } /** *

Overloaded function for {@link #findChild(java.lang.Class, java.lang.String, io.qt.core.Qt.FindChildOptions)} * with options = new io.qt.core.Qt.FindChildOptions(1).

*/ @QtUninvokable public final T findChild(java.lang.Class type, java.lang.@NonNull String aName) { return findChild(type, aName, new io.qt.core.Qt.FindChildOptions(1)); } /** *

Overloaded function for {@link #findChild(java.lang.Class, java.lang.String, io.qt.core.Qt.FindChildOptions)}

*

with:

    *
  • aName = (String)null
  • *
  • options = new io.qt.core.Qt.FindChildOptions(1)
  • *
*/ @QtUninvokable public final T findChild(java.lang.Class type) { return findChild(type, (String)null, new io.qt.core.Qt.FindChildOptions(1)); } /** *

Overloaded function for {@link #findChild(java.lang.Class, java.lang.String, io.qt.core.Qt.FindChildOptions)}.

*/ @QtUninvokable public final T findChild(java.lang.Class type, java.lang.@NonNull String aName, io.qt.core.Qt.@NonNull FindChildOption @NonNull... options) { return findChild(type, aName, new io.qt.core.Qt.FindChildOptions(options)); } /** *

Overloaded function for {@link #findChildren(io.qt.core.QRegularExpression, io.qt.core.Qt.FindChildOptions)} * with options = new io.qt.core.Qt.FindChildOptions(1).

*/ @QtUninvokable public final io.qt.core.@NonNull QList findChildren(io.qt.core.@NonNull QRegularExpression re) { return findChildren(re, new io.qt.core.Qt.FindChildOptions(1)); } /** *

Overloaded function for {@link #findChildren(io.qt.core.QRegularExpression, io.qt.core.Qt.FindChildOptions)}.

*/ @QtUninvokable public final io.qt.core.@NonNull QList findChildren(io.qt.core.@NonNull QRegularExpression re, io.qt.core.Qt.@NonNull FindChildOption @NonNull... options) { return findChildren(re, new io.qt.core.Qt.FindChildOptions(options)); } /** *

Overloaded function for {@link #findChildren(java.lang.String, io.qt.core.Qt.FindChildOptions)} * with options = new io.qt.core.Qt.FindChildOptions(1).

*/ @QtUninvokable public final io.qt.core.@NonNull QList findChildren(java.lang.@NonNull String aName) { return findChildren(aName, new io.qt.core.Qt.FindChildOptions(1)); } /** *

Overloaded function for {@link #findChildren(java.lang.String, io.qt.core.Qt.FindChildOptions)}.

*/ @QtUninvokable public final io.qt.core.@NonNull QList findChildren(java.lang.@NonNull String aName, io.qt.core.Qt.@NonNull FindChildOption @NonNull... options) { return findChildren(aName, new io.qt.core.Qt.FindChildOptions(options)); } /** *

Overloaded function for {@link #findChildren(io.qt.core.Qt.FindChildOptions)} * with options = new io.qt.core.Qt.FindChildOptions(1).

*/ @QtUninvokable public final io.qt.core.@NonNull QList findChildren() { return findChildren(new io.qt.core.Qt.FindChildOptions(1)); } /** *

Overloaded function for {@link #findChildren(io.qt.core.Qt.FindChildOptions)}.

*/ @QtUninvokable public final io.qt.core.@NonNull QList findChildren(io.qt.core.Qt.@NonNull FindChildOption @NonNull... options) { return findChildren(new io.qt.core.Qt.FindChildOptions(options)); } /** *

Overloaded function for {@link #findChildren(java.lang.Class, io.qt.core.QRegularExpression, io.qt.core.Qt.FindChildOptions)} * with options = new io.qt.core.Qt.FindChildOptions(1).

*/ @QtUninvokable public final io.qt.core.@NonNull QList findChildren(java.lang.Class type, io.qt.core.@NonNull QRegularExpression re) { return findChildren(type, re, new io.qt.core.Qt.FindChildOptions(1)); } /** *

Overloaded function for {@link #findChildren(java.lang.Class, io.qt.core.QRegularExpression, io.qt.core.Qt.FindChildOptions)}.

*/ @QtUninvokable public final io.qt.core.@NonNull QList findChildren(java.lang.Class type, io.qt.core.@NonNull QRegularExpression re, io.qt.core.Qt.@NonNull FindChildOption @NonNull... options) { return findChildren(type, re, new io.qt.core.Qt.FindChildOptions(options)); } /** *

Overloaded function for {@link #findChildren(java.lang.Class, java.lang.String, io.qt.core.Qt.FindChildOptions)} * with options = new io.qt.core.Qt.FindChildOptions(1).

*/ @QtUninvokable public final io.qt.core.@NonNull QList findChildren(java.lang.Class type, java.lang.@NonNull String aName) { return findChildren(type, aName, new io.qt.core.Qt.FindChildOptions(1)); } /** *

Overloaded function for {@link #findChildren(java.lang.Class, java.lang.String, io.qt.core.Qt.FindChildOptions)}.

*/ @QtUninvokable public final io.qt.core.@NonNull QList findChildren(java.lang.Class type, java.lang.@NonNull String aName, io.qt.core.Qt.@NonNull FindChildOption @NonNull... options) { return findChildren(type, aName, new io.qt.core.Qt.FindChildOptions(options)); } /** *

Overloaded function for {@link #findChildren(java.lang.Class, io.qt.core.Qt.FindChildOptions)} * with options = new io.qt.core.Qt.FindChildOptions(1).

*/ @QtUninvokable public final io.qt.core.@NonNull QList findChildren(java.lang.Class type) { return findChildren(type, new io.qt.core.Qt.FindChildOptions(1)); } /** *

Overloaded function for {@link #findChildren(java.lang.Class, io.qt.core.Qt.FindChildOptions)}.

*/ @QtUninvokable public final io.qt.core.@NonNull QList findChildren(java.lang.Class type, io.qt.core.Qt.@NonNull FindChildOption @NonNull... options) { return findChildren(type, new io.qt.core.Qt.FindChildOptions(options)); } /** * @hidden *

Kotlin property getter. In Java use {@link #objectName()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getObjectName() { return objectName(); } /** *

Overloaded function for {@link #startTimer(int, io.qt.core.Qt.TimerType)} * with timerType = io.qt.core.Qt.TimerType.CoarseTimer.

*/ @QtUninvokable public final int startTimer(int interval) { return startTimer(interval, io.qt.core.Qt.TimerType.CoarseTimer); } /** *

Overloaded function for {@link #startTimer(java.time.temporal.TemporalAmount, io.qt.core.Qt.TimerType)} * with timerType = io.qt.core.Qt.TimerType.CoarseTimer.

*/ @QtUninvokable public final int startTimer(java.time.temporal.@NonNull TemporalAmount time) { return startTimer(time, io.qt.core.Qt.TimerType.CoarseTimer); } }









See qobject_cast<T>(QObject *)