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

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

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

See QObject::destroyed(QObject*)

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

See QObject::objectNameChanged(QString)

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

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

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

See QObject::QObject(QObject*)

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

See QObject::blockSignals(bool)

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

See QObject::children()const

*/ @io.qt.QtUninvokable public final io.qt.core.QList children(){ return children_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.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

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

See QObject::dumpObjectTree()const

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

See QObject::dynamicPropertyNames()const

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

See QObject::inherits(const char*)const

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

See QObject::installEventFilter(QObject*)

*/ @io.qt.QtUninvokable public final void installEventFilter(io.qt.core.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); } } @io.qt.QtUninvokable private native void installEventFilter_native_QObject_ptr(long __this__nativeId, long filterObj); /** *

See QObject::isSignalConnected(QMetaMethod)const

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

See QObject::isWidgetType()const

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

See QObject::isWindowType()const

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

See QObject::killTimer(int)

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

See QObject::moveToThread(QThread*)

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

See QObject::objectName()const

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

See QObject::parent()const

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

See QObject::property(const char*)const

*/ @io.qt.QtUninvokable public final java.lang.Object property(java.lang.String name){ return property_native_const_char_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), name); } @io.qt.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

*/ @io.qt.QtUninvokable protected final int receivers(java.lang.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); } @io.qt.QtUninvokable private native int receivers_native_const_char_ptr_constfct(long __this__nativeId, java.lang.String signal); /** *

See QObject::removeEventFilter(QObject*)

*/ @io.qt.QtUninvokable public final void removeEventFilter(io.qt.core.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)) ; } } @io.qt.QtUninvokable private native void removeEventFilter_native_QObject_ptr(long __this__nativeId, long obj); /** *

See QObject::sender()const

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

See QObject::senderSignalIndex()const

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

See QObject::setObjectName(QString)

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

See QObject::setParent(QObject*)

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

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

*/ @io.qt.QtUninvokable public final boolean setProperty(java.lang.String name, java.lang.Object value){ return setProperty_native_const_char_ptr_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), name, value); } @io.qt.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

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

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

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

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

*/ @io.qt.QtUninvokable public final int startTimer(int interval, io.qt.core.Qt.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()); } @io.qt.QtUninvokable private native int startTimer_native_int_Qt_TimerType(long __this__nativeId, int interval, int timerType); /** *

See QObject::thread()const

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

See QObject::childEvent(QChildEvent*)

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

See QObject::connectNotify(QMetaMethod)

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

See QObject::customEvent(QEvent*)

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

See QObject::disconnectNotify(QMetaMethod)

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

See QObject::event(QEvent*)

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

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

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

See QObject::timerEvent(QTimerEvent*)

*/ @io.qt.QtUninvokable protected void timerEvent(io.qt.core.QTimerEvent event){ timerEvent_native_QTimerEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @io.qt.QtUninvokable private native void timerEvent_native_QTimerEvent_ptr(long __this__nativeId, long event); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QObject(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. */ @io.qt.NativeAccess protected QObject(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @io.qt.QtUninvokable private static native void initialize_native(QObject instance, QDeclarativeConstructor constructor); /** * Parameter type for declarative constructors, i.e. constructors being * called by QML only. */ protected static final class QDeclarativeConstructor { private QDeclarativeConstructor(Class cls, long placement) { this.placement = placement; this.cls = cls; } @io.qt.NativeAccess private final long placement; @io.qt.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. */ public static String tr(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. */ public static String tr(String source, 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. */ public static String tr(String source, String comment, int count) { String scope = classToScope(QtJambi_LibraryUtilities.internal.callerClassProvider().get()); return QCoreApplication.translate(scope, source, comment, count); } /** *

Overloaded function for {@link #findChild(Class)} * with cl = QObject.class.

* @return found child */ @io.qt.QtUninvokable public final QObject findChild() { return findChild(QObject.class); } /** *

Overloaded function for {@link #findChild(Class,String)} * with cl = QObject.class.

* @return found child */ @io.qt.QtUninvokable public final QObject findChild(String name) { return findChild(QObject.class, name); } /** *

Overloaded function for {@link #findChild(Class,String,Qt.FindChildOptions)} * with cl = QObject.class.

* @return found child */ @io.qt.QtUninvokable public final QObject findChild(String name, Qt.FindChildOption... options) { return findChild(QObject.class, name, new Qt.FindChildOptions(options)); } /** *

Overloaded function for {@link #findChild(Class,String,Qt.FindChildOptions)} * with cl = QObject.class.

* @return found child */ @io.qt.QtUninvokable public final QObject findChild(String name, Qt.FindChildOptions options) { return findChild(QObject.class, name, options); } /** *

Overloaded function for {@link #findChild(Class,String,Qt.FindChildOptions)}

*

with:

    *
  • name = null
  • *
  • options = FindChildrenRecursively
  • *
* @param type of child * @param cl type of child * @return found child */ @io.qt.QtUninvokable public final T findChild(Class < T > cl) { return findChild(cl, (String)null, new Qt.FindChildOptions(Qt.FindChildOption.FindChildrenRecursively)); } /** *

Overloaded function for {@link #findChild(Class,String,Qt.FindChildOptions)} * with: options = FindChildrenRecursively.

* @param type of child * @param cl type of child * @param name name of child * @return found child */ @io.qt.QtUninvokable public final T findChild(Class < T > cl, String name) { return findChild(cl, name, new Qt.FindChildOptions(Qt.FindChildOption.FindChildrenRecursively)); } /** *

Overloaded function for {@link #findChild(Class,String,Qt.FindChildOptions)}.

* @param type of child * @param cl type of child * @param name name of child * @param options search options * @return found child */ @io.qt.QtUninvokable public final T findChild(Class < T > cl, String name, Qt.FindChildOption... options) { return findChild(cl, name, new Qt.FindChildOptions(options)); } /** *

Returns the child of this object that instane of cl and * that is called name, or null if there is no such object. * Omitting the name argument causes all object names to be matched. * The search is performed recursively, unless options specifies the * option FindDirectChildrenOnly.

* *

If there is more than one child matching the search, the most * direct ancestor is returned. If there are several direct * ancestors, it is undefined which one will be returned. In that * case, {@link #findChildren()} should be used.

* *

This example returns a child QPushButton of parentWidget * named "button1", even if the button isn't a direct child of * the parent:

*

* QPushButton button = parentWidget.findChild(QPushButton.class, "button1"); *

*

This example returns a QListWidget child of parentWidget:

*

* QListWidget list = parentWidget.findChild(QListWidget.class); *

*

This example returns a child QPushButton of parentWidget * (its direct parent) named "button1":

*

* QPushButton button = parentWidget.findChild(QPushButton.class, "button1", Qt.FindChildOption.FindDirectChildrenOnly); *

*

This example returns a QListWidget child of parentWidget, * its direct parent:

*

* QListWidget list = parentWidget.findChild(QListWidget.class, null, Qt.FindChildOption.FindDirectChildrenOnly); *

* @param type of child * @param cl type of child * @param name name of child * @param options search options * @return found child * @see #findChildren() */ @io.qt.QtUninvokable public final T findChild(Class < T > cl, String name, Qt.FindChildOptions options) { return findChild(java.util.Objects.requireNonNull(cl), QMetaObject.forType(cl).metaObjectPointer, name, options.value()); } @io.qt.QtUninvokable private native final T findChild(Class < T > cl, long metaObjectPointer, String name, int options); /** *

Overloaded function for {@link #findChildren(Class)} * with cl = QObject.class.

* @return found children */ @io.qt.QtUninvokable public final QList findChildren() { return findChildren(QObject.class, (String)null, new Qt.FindChildOptions(Qt.FindChildOption.FindChildrenRecursively)); } /** *

Overloaded function for {@link #findChildren(Class,String)} * with cl = QObject.class.

* @return found children */ @io.qt.QtUninvokable public final QList findChildren(String name) { return findChildren(QObject.class, name, new Qt.FindChildOptions(Qt.FindChildOption.FindChildrenRecursively)); } /** *

Overloaded function for {@link #findChildren(Class,String,Qt.FindChildOptions)} * with cl = QObject.class.

* @return found children */ @io.qt.QtUninvokable public final QList findChildren(String name, Qt.FindChildOption... options) { return findChildren(QObject.class, name, new Qt.FindChildOptions(options)); } /** *

Overloaded function for {@link #findChildren(Class,String,Qt.FindChildOptions)} * with cl = QObject.class.

* @return found children */ @io.qt.QtUninvokable public final QList findChildren(String name, Qt.FindChildOptions options) { return findChildren(QObject.class, name, options); } /** *

Overloaded function for {@link #findChildren(Class,String,Qt.FindChildOptions)}

*

with:

    *
  • name = null
  • *
  • options = FindChildrenRecursively
  • *
* @param type of children * @param cl type of children * @return found children */ @io.qt.QtUninvokable public final QList findChildren(Class < T > cl) { return findChildren(cl, (String)null, new Qt.FindChildOptions(Qt.FindChildOption.FindChildrenRecursively)); } /** *

Overloaded function for {@link #findChildren(Class,String,Qt.FindChildOptions)} * with: options = FindChildrenRecursively.

* @param type of children * @param cl type of children * @param name name of children * @return found children */ @io.qt.QtUninvokable public final QList findChildren(Class < T > cl, String name) { return findChildren(cl, name, new Qt.FindChildOptions(Qt.FindChildOption.FindChildrenRecursively)); } /** *

Overloaded function for {@link #findChildren(Class,String,Qt.FindChildOptions)}.

* @param type of children * @param cl type of children * @param name name of children * @param options search options * @return found children */ @io.qt.QtUninvokable public final QList findChildren(Class < T > cl, String name, Qt.FindChildOption... options) { return findChildren(cl, name, new Qt.FindChildOptions(options)); } /** *

Returns all children of this object with the given name that are * instance of cl, or an empty list if there are no such objects. * Omitting the name argument causes all object names to be matched. * The search is performed recursively, unless options specifies the * option FindDirectChildrenOnly.

* *

The following example shows how to find a list of child QWidgets of * the specified parentWidget named widgetname:

*

* List<QWidget> widgets = parentWidget.findChildren(QWidget.class, "widgetname"); *

*

This example returns all QPushButtons that are children of parentWidget:

*

* List<QPushButton> allPButtons = parentWidget.findChildren(QPushButton.class); *

*

This example returns all QPushButtons that are immediate children of parentWidget:

*

* List<QPushButton> childButtons = parentWidget.findChildren(QPushButton.class, null, Qt.FindChildOption.FindDirectChildrenOnly); *

* @param type of children * @param cl type of children * @param name name of children * @param options search options * @return found children * @see #findChild() */ @io.qt.QtUninvokable public final QList findChildren(Class < T > cl, String name, Qt.FindChildOptions options){ return findChildrenString(QMetaObject.forType(java.util.Objects.requireNonNull(cl)).metaObjectPointer, name, options.value()); } @io.qt.QtUninvokable private native final QList findChildrenString(long metaObjectPointer, String name, int options); /** *

Overloaded function for {@link #findChildren(Class,QRegularExpression,Qt.FindChildOptions)} * with: options = FindChildrenRecursively.

* @param type of children * @param cl type of children * @param re regular expression * @return found children */ @io.qt.QtUninvokable public final QList findChildren(Class < T > cl, QRegularExpression re) { return findChildren(cl, re, new Qt.FindChildOptions(Qt.FindChildOption.FindChildrenRecursively)); } /** *

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

* @param type of children * @param cl type of children * @param re regular expression * @param options search options * @return found children */ @io.qt.QtUninvokable public final QList findChildren(Class < T > cl, QRegularExpression re, Qt.FindChildOption... options) { return findChildren(cl, re, new Qt.FindChildOptions(options)); } /** *

This function overloads {@link #findChildren()}.

*

Returns the children of this object that are instance of cl * and that have names matching the regular expression re, * or an empty list if there are no such objects. * The search is performed recursively, unless options specifies the option FindDirectChildrenOnly.

* @param type of children * @param cl type of children * @param re regular expression * @param options search options * @return found children * @see #findChildren() */ @io.qt.QtUninvokable public final QList findChildren(Class < T > cl, QRegularExpression re, Qt.FindChildOptions options){ return findChildrenQRegularExpression(QMetaObject.forType(java.util.Objects.requireNonNull(cl)).metaObjectPointer, re, options.value()); } @io.qt.QtUninvokable private native final QList findChildrenQRegularExpression(long metaObjectPointer, QRegularExpression re, int options); /** * 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 { /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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 { /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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 { /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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 { /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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 { /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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 { /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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 { /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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 { /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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 { /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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{ /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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.AbstractPublicSignal1 implements QMetaObject.Emitable0, QMetaObject.Connectable0 { @SuppressWarnings("unused") private Signal1Default1() { this.arg1Default = null; } public Signal1Default1(Supplier arg1Default){ super(); if(arg1Default!=null){ this.arg1Default = arg1Default; }else{ throw new QNoDefaultValueException(1); } } private final Supplier arg1Default; @Override public final void emit() { emitDefaultSignal(arg1Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg2Default) { super(arg2Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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.AbstractSignal2Default1 implements QMetaObject.Emitable0, QMetaObject.Connectable0 { @SuppressWarnings("unused") private Signal2Default2() { this.arg1Default = null; } public Signal2Default2(Supplier arg1Default, Supplier arg2Default){ super(arg2Default); if(arg1Default!=null){ this.arg1Default = arg1Default; }else{ throw new QNoDefaultValueException(1); } } private final Supplier arg1Default; @Override public final void emit() { emitDefaultSignal(arg1Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg3Default) { super(arg3Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg2Default, Supplier arg3Default){ super(arg2Default, arg3Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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.AbstractSignal3Default2 implements QMetaObject.Emitable0, QMetaObject.Connectable0 { @SuppressWarnings("unused") private Signal3Default3() { this.arg1Default = null; } public Signal3Default3(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default){ super(arg2Default, arg3Default); if(arg2Default!=null){ this.arg1Default = arg1Default; }else{ throw new QNoDefaultValueException(1); } } private final Supplier arg1Default; @Override public final void emit() { emitDefaultSignal(arg1Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg4Default){ super(arg4Default); } @Override public final 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(Supplier arg3Default, Supplier arg4Default){ super(arg3Default, arg4Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default){ super(arg2Default, arg3Default, arg4Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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.AbstractSignal4Default3 implements QMetaObject.Emitable0, QMetaObject.Connectable0 { @SuppressWarnings("unused") private Signal4Default4() { this.arg1Default = null; } public Signal4Default4(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default){ super(arg2Default, arg3Default, arg4Default); if(arg1Default!=null){ this.arg1Default = arg1Default; }else{ throw new QNoDefaultValueException(1); } } private final Supplier arg1Default; @Override public final void emit() { emitDefaultSignal(arg1Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg5Default){ super(arg5Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg4Default, Supplier arg5Default){ super(arg4Default, arg5Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default){ super(arg3Default, arg4Default, arg5Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default){ super(arg2Default, arg3Default, arg4Default, arg5Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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.AbstractSignal5Default4 implements QMetaObject.Emitable0, QMetaObject.Connectable0{ @SuppressWarnings("unused") private Signal5Default5() { this.arg1Default = null; } public Signal5Default5(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default){ super(arg2Default, arg3Default, arg4Default, arg5Default); if(arg1Default!=null){ this.arg1Default = arg1Default; }else{ throw new QNoDefaultValueException(1); } } private final Supplier arg1Default; @Override public final void emit() { emitDefaultSignal(arg1Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg6Default){ super(arg6Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg5Default, Supplier arg6Default){ super(arg5Default, arg6Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg4Default, Supplier arg5Default, Supplier arg6Default){ super(arg4Default, arg5Default, arg6Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default){ super(arg3Default, arg4Default, arg5Default, arg6Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default){ super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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.AbstractSignal6Default5 implements QMetaObject.Emitable0, QMetaObject.Connectable0{ @SuppressWarnings("unused") private Signal6Default6() { this.arg1Default = null; } public Signal6Default6(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default){ super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } private final Supplier arg1Default; @Override public final void emit() { emitDefaultSignal(arg1Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg7Default){ super(arg7Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg6Default, Supplier arg7Default){ super(arg6Default, arg7Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg5Default, Supplier arg6Default, Supplier arg7Default){ super(arg5Default, arg6Default, arg7Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default){ super(arg4Default, arg5Default, arg6Default, arg7Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default){ super(arg3Default, arg4Default, arg5Default, arg6Default, arg7Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default){ super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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.AbstractSignal7Default6 implements QMetaObject.Emitable0, QMetaObject.Connectable0 { @SuppressWarnings("unused") private Signal7Default7() { this.arg1Default = null; } public Signal7Default7(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default){ super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(2); } } private final Supplier arg1Default; @Override public final void emit() { emitDefaultSignal(arg1Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg8Default){ super(arg8Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg7Default, Supplier arg8Default){ super(arg7Default, arg8Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg6Default, Supplier arg7Default, Supplier arg8Default){ super(arg6Default, arg7Default, arg8Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default){ super(arg5Default, arg6Default, arg7Default, arg8Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default){ super(arg4Default, arg5Default, arg6Default, arg7Default, arg8Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default){ super(arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default){ super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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.AbstractSignal8Default7 implements QMetaObject.Emitable0, QMetaObject.Connectable0 { @SuppressWarnings("unused") private Signal8Default8() { this.arg1Default = null; } public Signal8Default8(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default){ super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } public Signal8Default8(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Class declaringClass, boolean dummy){ super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, declaringClass, dummy); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } private final Supplier arg1Default; @Override public final void emit() { emitDefaultSignal(arg1Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg9Default){ super(arg9Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg8Default, Supplier arg9Default){ super(arg8Default, arg9Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg7Default, Supplier arg8Default, Supplier arg9Default){ super(arg7Default, arg8Default, arg9Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default){ super(arg6Default, arg7Default, arg8Default, arg9Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default){ super(arg5Default, arg6Default, arg7Default, arg8Default, arg9Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default){ super(arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default){ super(arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default){ super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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.AbstractSignal9Default8 implements QMetaObject.Emitable0, QMetaObject.Connectable0 { @SuppressWarnings("unused") private Signal9Default9() { this.arg1Default = null; } public Signal9Default9(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default){ super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } private final Supplier arg1Default; @Override public final void emit() { emitDefaultSignal(arg1Default); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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 { public PrivateSignal0() { super(); } /** * Emits the signal. */ @io.qt.QtUninvokable private final void emit() { emitSignal(); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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 { public PrivateSignal1() { super(); } /** * Emits the signal. */ @io.qt.QtUninvokable private final void emit(A arg1) { emitSignal(arg1); } /** * Returns the object containing this signal. * @return the signal containing object */ @Override public final 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 { public PrivateSignal2() { super(); } /** * Emits the signal. */ @io.qt.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 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 { public PrivateSignal3() { super(); } /** * Emits the signal. */ @io.qt.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 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 { public PrivateSignal4() { super(); } /** * Emits the signal. */ @io.qt.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 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 { public PrivateSignal5() { super(); } /** * Emits the signal. */ @io.qt.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 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 { public PrivateSignal6() { super(); } /** * Emits the signal. */ @io.qt.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 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 { public PrivateSignal7() { super(); } /** * Emits the signal. */ @io.qt.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 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 { public PrivateSignal8() { super(); } /** * Emits the signal. */ @io.qt.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 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 { public PrivateSignal9() { super(); } /** * Emits the signal. */ @io.qt.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 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 io.qt.QSignalAccessException if signal is emitted from outside the declaring class. */ protected static void emit(PrivateSignal0 signal) throws io.qt.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 io.qt.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 io.qt.QSignalAccessException if signal is emitted from outside the declaring class. */ protected static void emit(PrivateSignal1 signal, A arg1) throws io.qt.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 io.qt.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 io.qt.QSignalAccessException if signal is emitted from outside the declaring class. */ protected static void emit(PrivateSignal2 signal, A arg1, B arg2) throws io.qt.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 io.qt.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 io.qt.QSignalAccessException if signal is emitted from outside the declaring class. */ protected static void emit(PrivateSignal3 signal, A arg1, B arg2, C arg3) throws io.qt.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 io.qt.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 io.qt.QSignalAccessException if signal is emitted from outside the declaring class. */ protected static void emit(PrivateSignal4 signal, A arg1, B arg2, C arg3, D arg4) throws io.qt.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 io.qt.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 io.qt.QSignalAccessException if signal is emitted from outside the declaring class. */ protected static void emit(PrivateSignal5 signal, A arg1, B arg2, C arg3, D arg4, E arg5) throws io.qt.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 io.qt.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 io.qt.QSignalAccessException if signal is emitted from outside the declaring class. */ protected static void emit(PrivateSignal6 signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) throws io.qt.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 io.qt.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 io.qt.QSignalAccessException if signal is emitted from outside the declaring class. */ protected static void emit(PrivateSignal7 signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7) throws io.qt.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 io.qt.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 io.qt.QSignalAccessException if signal is emitted from outside the declaring class. */ protected static void emit(PrivateSignal8 signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8) throws io.qt.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 io.qt.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 io.qt.QSignalAccessException if signal is emitted from outside the declaring class. */ protected static void emit(PrivateSignal9 signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8, I arg9) throws io.qt.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 io.qt.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 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.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.Connection connect(Object receiver, String method, Qt.ConnectionType... type) { 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, type); } /** * 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(Object receiver, 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public final io.qt.core.QMetaObject.Connection connect(io.qt.core.QMetaObject.Slot0 slot, io.qt.core.Qt.ConnectionType... connectionType) throws io.qt.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(io.qt.core.QMetaObject.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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final io.qt.core.QMetaObject.Connection connect(io.qt.core.QMetaObject.Connectable0 signal, io.qt.core.Qt.ConnectionType... connectionType) throws io.qt.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(io.qt.core.QMetaObject.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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final io.qt.core.QMetaObject.Connection connect(io.qt.core.QMetaObject.AbstractPublicSignal0 signal, io.qt.core.Qt.ConnectionType... connectionType) throws io.qt.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(io.qt.core.QMetaObject.AbstractPublicSignal0 signal) { return super.disconnect(signal); } @io.qt.QtUninvokable private QMetaObject.Connection connectSlot(QMetaObject.AbstractSlot slotObject, Qt.ConnectionType[] connectionType) { return super.connect(slotObject, connectionType); } @io.qt.QtUninvokable private boolean disconnectSlot(QMetaObject.AbstractSlot slotObject) { return super.disconnect(slotObject); } @io.qt.QtUninvokable private QMetaObject.Connection connectSignal(QMetaObject.AbstractSignal slotObject, Qt.ConnectionType[] connectionType) { return super.connect(slotObject, connectionType); } @io.qt.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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal0 signal, QMetaObject.Slot0 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal1 signal, QMetaObject.Slot0 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal1 signal, QMetaObject.Slot1 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal2 signal, QMetaObject.Slot0 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal2 signal, QMetaObject.Slot1 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal2 signal, QMetaObject.Slot2 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal3 signal, QMetaObject.Slot0 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal3 signal, QMetaObject.Slot1 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal3 signal, QMetaObject.Slot2 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal3 signal, QMetaObject.Slot3 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal4 signal, QMetaObject.Slot0 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal4 signal, QMetaObject.Slot1 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal4 signal, QMetaObject.Slot2 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal4 signal, QMetaObject.Slot3 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal4 signal, QMetaObject.Slot4 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal5 signal, QMetaObject.Slot0 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal5 signal, QMetaObject.Slot1 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal5 signal, QMetaObject.Slot2 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal5 signal, QMetaObject.Slot3 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal5 signal, QMetaObject.Slot4 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal5 signal, QMetaObject.Slot5 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal6 signal, QMetaObject.Slot0 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal6 signal, QMetaObject.Slot1 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal6 signal, QMetaObject.Slot2 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal6 signal, QMetaObject.Slot3 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal6 signal, QMetaObject.Slot4 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal6 signal, QMetaObject.Slot5 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal6 signal, QMetaObject.Slot6 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal7 signal, QMetaObject.Slot0 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal7 signal, QMetaObject.Slot1 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal7 signal, QMetaObject.Slot2 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal7 signal, QMetaObject.Slot3 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal7 signal, QMetaObject.Slot4 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal7 signal, QMetaObject.Slot5 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal7 signal, QMetaObject.Slot6 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal7 signal, QMetaObject.Slot7 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal8 signal, QMetaObject.Slot0 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal8 signal, QMetaObject.Slot1 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal8 signal, QMetaObject.Slot2 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal8 signal, QMetaObject.Slot3 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal8 signal, QMetaObject.Slot4 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal8 signal, QMetaObject.Slot5 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal8 signal, QMetaObject.Slot6 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal8 signal, QMetaObject.Slot7 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal8 signal, QMetaObject.Slot8 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal9 signal, QMetaObject.Slot0 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal9 signal, QMetaObject.Slot1 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal9 signal, QMetaObject.Slot2 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal9 signal, QMetaObject.Slot3 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal9 signal, QMetaObject.Slot4 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal9 signal, QMetaObject.Slot5 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal9 signal, QMetaObject.Slot6 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal9 signal, QMetaObject.Slot7 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal9 signal, QMetaObject.Slot8 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal9 signal, QMetaObject.Slot9 slot, Qt.ConnectionType... 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.AbstractPrivateSignal0 signal, QMetaObject.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.AbstractPrivateSignal1 signal, QMetaObject.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.AbstractPrivateSignal1 signal, QMetaObject.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.AbstractPrivateSignal2 signal, QMetaObject.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.AbstractPrivateSignal2 signal, QMetaObject.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.AbstractPrivateSignal2 signal, QMetaObject.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.AbstractPrivateSignal3 signal, QMetaObject.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.AbstractPrivateSignal3 signal, QMetaObject.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.AbstractPrivateSignal3 signal, QMetaObject.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.AbstractPrivateSignal3 signal, QMetaObject.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.AbstractPrivateSignal4 signal, QMetaObject.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.AbstractPrivateSignal4 signal, QMetaObject.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.AbstractPrivateSignal4 signal, QMetaObject.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.AbstractPrivateSignal4 signal, QMetaObject.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.AbstractPrivateSignal4 signal, QMetaObject.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.AbstractPrivateSignal5 signal, QMetaObject.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.AbstractPrivateSignal5 signal, QMetaObject.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.AbstractPrivateSignal5 signal, QMetaObject.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.AbstractPrivateSignal5 signal, QMetaObject.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.AbstractPrivateSignal5 signal, QMetaObject.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.AbstractPrivateSignal5 signal, QMetaObject.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.AbstractPrivateSignal6 signal, QMetaObject.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.AbstractPrivateSignal6 signal, QMetaObject.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.AbstractPrivateSignal6 signal, QMetaObject.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.AbstractPrivateSignal6 signal, QMetaObject.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.AbstractPrivateSignal6 signal, QMetaObject.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.AbstractPrivateSignal6 signal, QMetaObject.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.AbstractPrivateSignal6 signal, QMetaObject.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.AbstractPrivateSignal7 signal, QMetaObject.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.AbstractPrivateSignal7 signal, QMetaObject.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.AbstractPrivateSignal7 signal, QMetaObject.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.AbstractPrivateSignal7 signal, QMetaObject.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.AbstractPrivateSignal7 signal, QMetaObject.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.AbstractPrivateSignal7 signal, QMetaObject.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.AbstractPrivateSignal7 signal, QMetaObject.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.AbstractPrivateSignal7 signal, QMetaObject.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.AbstractPrivateSignal8 signal, QMetaObject.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.AbstractPrivateSignal8 signal, QMetaObject.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.AbstractPrivateSignal8 signal, QMetaObject.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.AbstractPrivateSignal8 signal, QMetaObject.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.AbstractPrivateSignal8 signal, QMetaObject.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.AbstractPrivateSignal8 signal, QMetaObject.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.AbstractPrivateSignal8 signal, QMetaObject.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.AbstractPrivateSignal8 signal, QMetaObject.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.AbstractPrivateSignal8 signal, QMetaObject.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.AbstractPrivateSignal9 signal, QMetaObject.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.AbstractPrivateSignal9 signal, QMetaObject.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.AbstractPrivateSignal9 signal, QMetaObject.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.AbstractPrivateSignal9 signal, QMetaObject.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.AbstractPrivateSignal9 signal, QMetaObject.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.AbstractPrivateSignal9 signal, QMetaObject.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.AbstractPrivateSignal9 signal, QMetaObject.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.AbstractPrivateSignal9 signal, QMetaObject.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.AbstractPrivateSignal9 signal, QMetaObject.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.AbstractPrivateSignal9 signal, QMetaObject.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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal0 signal, QMetaObject.Connectable0 connectSignal, Qt.ConnectionType... 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.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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal1 signal, QMetaObject.Connectable1 connectSignal, Qt.ConnectionType... 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.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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal2 signal, QMetaObject.Connectable2 connectSignal, Qt.ConnectionType... 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.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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal3 signal, QMetaObject.Connectable3 connectSignal, Qt.ConnectionType... 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.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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal4 signal, QMetaObject.Connectable4 connectSignal, Qt.ConnectionType... 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.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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal5 signal, QMetaObject.Connectable5 connectSignal, Qt.ConnectionType... 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.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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal6 signal, QMetaObject.Connectable6 connectSignal, Qt.ConnectionType... 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.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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal7 signal, QMetaObject.Connectable7 connectSignal, Qt.ConnectionType... 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.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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal8 signal, QMetaObject.Connectable8 connectSignal, Qt.ConnectionType... 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.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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal9 signal, QMetaObject.Connectable9 connectSignal, Qt.ConnectionType... 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.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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. * @throws io.qt.QMisfittingSignatureException Raised if slot does not match to any of the signatures. */ public static QMetaObject.Connection connect(MultiSignal signal, QMetaObject.Slot0 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. * @throws io.qt.QMisfittingSignatureException Raised if slot does not match to any of the signatures. */ public static QMetaObject.Connection connect(MultiSignal signal, QMetaObject.Slot1 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. * @throws io.qt.QMisfittingSignatureException Raised if slot does not match to any of the signatures. */ public static QMetaObject.Connection connect(MultiSignal signal, QMetaObject.Slot2 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. * @throws io.qt.QMisfittingSignatureException Raised if slot does not match to any of the signatures. */ public static QMetaObject.Connection connect(MultiSignal signal, QMetaObject.Slot3 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. * @throws io.qt.QMisfittingSignatureException Raised if slot does not match to any of the signatures. */ public static QMetaObject.Connection connect(MultiSignal signal, QMetaObject.Slot4 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. * @throws io.qt.QMisfittingSignatureException Raised if slot does not match to any of the signatures. */ public static QMetaObject.Connection connect(MultiSignal signal, QMetaObject.Slot5 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. * @throws io.qt.QMisfittingSignatureException Raised if slot does not match to any of the signatures. */ public static QMetaObject.Connection connect(MultiSignal signal, QMetaObject.Slot6 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. * @throws io.qt.QMisfittingSignatureException Raised if slot does not match to any of the signatures. */ public static QMetaObject.Connection connect(MultiSignal signal, QMetaObject.Slot7 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. * @throws io.qt.QMisfittingSignatureException Raised if slot does not match to any of the signatures. */ public static QMetaObject.Connection connect(MultiSignal signal, QMetaObject.Slot8 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QUninvokableSlotException Raised if slot is annotated @QtUninvokable. * @throws io.qt.QMisfittingSignatureException Raised if slot does not match to any of the signatures. */ public static QMetaObject.Connection connect(MultiSignal signal, QMetaObject.Slot9 slot, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QMisfittingSignatureException Raised if connectSignal does not match to any of the signatures. */ public static QMetaObject.Connection connect(MultiSignal signal, QMetaObject.Connectable0 connectSignal, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QMisfittingSignatureException Raised if connectSignal does not match to any of the signatures. */ public static QMetaObject.Connection connect(MultiSignal signal, QMetaObject.Connectable1 connectSignal, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QMisfittingSignatureException Raised if connectSignal does not match to any of the signatures. */ public static QMetaObject.Connection connect(MultiSignal signal, QMetaObject.Connectable2 connectSignal, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QMisfittingSignatureException Raised if connectSignal does not match to any of the signatures. */ public static QMetaObject.Connection connect(MultiSignal signal, QMetaObject.Connectable3 connectSignal, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QMisfittingSignatureException Raised if connectSignal does not match to any of the signatures. */ public static QMetaObject.Connection connect(MultiSignal signal, QMetaObject.Connectable4 connectSignal, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QMisfittingSignatureException Raised if connectSignal does not match to any of the signatures. */ public static QMetaObject.Connection connect(MultiSignal signal, QMetaObject.Connectable5 connectSignal, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QMisfittingSignatureException Raised if connectSignal does not match to any of the signatures. */ public static QMetaObject.Connection connect(MultiSignal signal, QMetaObject.Connectable6 connectSignal, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QMisfittingSignatureException Raised if connectSignal does not match to any of the signatures. */ public static QMetaObject.Connection connect(MultiSignal signal, QMetaObject.Connectable7 connectSignal, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QMisfittingSignatureException Raised if connectSignal does not match to any of the signatures. */ public static QMetaObject.Connection connect(MultiSignal signal, QMetaObject.Connectable8 connectSignal, Qt.ConnectionType... 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 io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. * @throws io.qt.QMisfittingSignatureException Raised if connectSignal does not match to any of the signatures. */ public static QMetaObject.Connection connect(MultiSignal signal, QMetaObject.Connectable9 connectSignal, Qt.ConnectionType... 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(MultiSignal signal, QMetaObject.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(MultiSignal signal, QMetaObject.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(MultiSignal signal, QMetaObject.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(MultiSignal signal, QMetaObject.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(MultiSignal signal, QMetaObject.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(MultiSignal signal, QMetaObject.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(MultiSignal signal, QMetaObject.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(MultiSignal signal, QMetaObject.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(MultiSignal signal, QMetaObject.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(MultiSignal signal, QMetaObject.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(MultiSignal signal, QMetaObject.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(MultiSignal signal, QMetaObject.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(MultiSignal signal, QMetaObject.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(MultiSignal signal, QMetaObject.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(MultiSignal signal, QMetaObject.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(MultiSignal signal, QMetaObject.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(MultiSignal signal, QMetaObject.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(MultiSignal signal, QMetaObject.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(MultiSignal signal, QMetaObject.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(MultiSignal signal, QMetaObject.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#registerMetaType(Class)} to register the data type before you * establish the connection.

* * @see #disconnect() * @see #sender() * @see QMetaType#registerMetaType(Class) */ public static QMetaObject.Connection connect(QObject sender, String signal, QObject receiver, String slot, Qt.ConnectionType... 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) throw new QNoSuchSignalException(signal); QMetaMethod slotMethod = receiver.metaObject().method(slot); if(slotMethod==null) 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 if a QMetaObject.Connection is returned.

* *

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

* * @see #connect(QObject, String, QObject, String, io.qt.core.Qt.ConnectionType...) */ public static QMetaObject.Connection connect(QObject sender, QMetaMethod signal, QObject receiver, QMetaMethod slot, Qt.ConnectionType... 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.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(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(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.Connection connection) { return QMetaObject.AbstractSignal.disconnectOne(connection); } /** * Disconnect all connections originating in this object. * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect() { return QMetaObject.AbstractSignal.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 QMetaObject.AbstractSignal.disconnectAll(this, receiver); } /** * Returns a pointer to the meta-object of this object. * @return the object's meta-object */ @io.qt.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 */ @io.qt.QtUninvokable public final T qt_metacast(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 */ @io.qt.QtUninvokable public final boolean inherits(Class targetType){ return targetType.isInstance(this) || inherits(QMetaObject.internalNameOfType(targetType).replace("*", "")); } /** * @see #receivers(String) */ @io.qt.QtUninvokable protected final int receivers(io.qt.core.QMetaObject.AbstractSignal signalObject){ if(signalObject.methodIndex()>=0 && signalObject.containingObject()==this) { QMetaMethod method = metaObject().methods().get(signalObject.methodIndex()); return receivers("2" + method.cppMethodSignature()); } return 0; } /** *

This function overloads {@link #findChildren()}.

*

Returns the children of this object that are instance of cl * and that have names matching the regular expression regExp, * or an empty list if there are no such objects. * The search is performed recursively, unless options specifies the option FindDirectChildrenOnly.

* @deprecated Use {@link #findChildren(Class, QRegularExpression, Qt.FindChildOptions)} instead. * @param type of children * @param cl type of children * @param regExp regular expression * @param options search options * @return found children * @see #findChildren() */ @Deprecated @io.qt.QtUninvokable public final QList findChildren(Class < T > cl, QRegExp regExp, Qt.FindChildOptions options){ return findChildrenQRegExp(QMetaObject.forType(java.util.Objects.requireNonNull(cl)).metaObjectPointer, regExp, options.value()); } @io.qt.QtUninvokable private native final QList findChildrenQRegExp(long metaObjectPointer, QRegExp regExp, int options); /** *

Overloaded function for {@link #findChildren(Class,QRegExp,Qt.FindChildOptions)}.

* @deprecated Use {@link #findChildren(Class, QRegularExpression, Qt.FindChildOptions)} instead. * @param type of children * @param cl type of children * @param regExp regular expression * @return found children */ @Deprecated @io.qt.QtUninvokable public final QList findChildren(Class < T > cl, QRegExp regExp) { return findChildren(cl, regExp, new Qt.FindChildOptions(Qt.FindChildOption.FindChildrenRecursively)); } /** *

Overloaded function for {@link #findChildren(Class,QRegExp,Qt.FindChildOptions)} * with: options = FindChildrenRecursively.

* @deprecated Use {@link #findChildren(Class, QRegularExpression, Qt.FindChildOptions)} instead. * @param type of children * @param cl type of children * @param regExp regular expression * @param options search options * @return found children */ @Deprecated @io.qt.QtUninvokable public final QList findChildren(Class < T > cl, QRegExp regExp, Qt.FindChildOption... options) { return findChildren(cl, regExp, new Qt.FindChildOptions(options)); } @Override @io.qt.QtUninvokable public String toString() { return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private static native String toString_native(long __this_nativeId); }