- All Implemented Interfaces:
QtObjectInterface
,QtSignalBlockerInterface
,QtSignalEmitterInterface
,QtThreadAffineInterface
- Direct Known Subclasses:
QAbstractAnimation
,QAbstractAnimation
,QAbstractAspect
,QAbstractEventDispatcher
,QAbstractItemDelegate
,QAbstractItemModel
,QAbstractItemModelTester
,QAbstractNetworkCache
,QAbstractOAuth
,QAbstractOAuthReplyHandler
,QAbstractTextDocumentLayout
,QAccessibleBridgePlugin
,QAccessiblePlugin
,QAction
,QActionGroup
,QAnimationController
,QAnimationDriver
,QAnimationGroup
,QAspectEngine
,QButtonGroup
,QClipboard
,QCompleter
,QCoreApplication
,QDataWidgetMapper
,QDBusAbstractAdaptor
,QDBusAbstractInterfaceBase
,QDBusPendingCallWatcher
,QDBusServer
,QDBusServiceWatcher
,QDBusVirtualObject
,QDesignerFormEditorInterface
,QDesignerFormWindowToolInterface
,QDesignerIntegrationInterface
,QDesignerMetaDataBaseInterface
,QDesignerWidgetDataBaseInterface
,QDesignerWidgetFactoryInterface
,QDnsLookup
,QDrag
,QDtls
,QDtlsClientVerifier
,QEventLoop
,QExtensionManager
,QFactoryLoader
,QFileSelector
,QFileSystemWatcher
,QFutureWatcherBase
,QGenericPlugin
,QGesture
,QGraphicsAnchor
,QGraphicsApiFilter
,QGraphicsEffect
,QGraphicsItemAnimation
,QGraphicsObject
,QGraphicsScene
,QGraphicsTransform
,QHelpEngineCore
,QHelpFilterEngine
,QHelpSearchEngine
,QHttpMultiPart
,QIconEnginePlugin
,QImageIOPlugin
,QInputDevice
,QInputMethod
,QIODevice
,QItemSelectionModel
,QJSEngine
,QLayout
,QLibrary
,QLocalServer
,QMimeData
,QMorphTarget
,QMovie
,QNetworkAccessManager
,QNetworkCookieJar
,QNode
,QObjectCleanupHandler
,QOffscreenSurface
,QOpenGLContext
,QOpenGLContextGroup
,QOpenGLDebugLogger
,QOpenGLShader
,QOpenGLShaderProgram
,QOpenGLVertexArrayObject
,QPdfWriter
,QPickEvent
,QPluginLoader
,QQmlAspectEngine
,QQmlComponent
,QQmlContext
,QQmlEngineExtensionPlugin
,QQmlExpression
,QQmlExtensionPlugin
,QQmlFileSelector
,QQmlImageProviderBase
,QQmlPropertyMap
,QQuick3DObject
,QQuickImageResponse
,QQuickItem
,QQuickItemGrabResult
,QQuickRenderControl
,QQuickTextDocument
,QQuickTextureFactory
,QQuickTransform
,QRenderCapabilities
,QRenderCaptureReply
,QScreen
,QScroller
,QSessionManager
,QSettings
,QSGTexture
,QSGTextureProvider
,QSharedMemory
,QShortcut
,QSignalMapper
,QSignalSpy
,QSocketNotifier
,QSqlDriver
,QSqlDriverPlugin
,QStencilOperationArguments
,QStencilTestArguments
,QStyle
,QStyleHints
,QStylePlugin
,QSvgRenderer
,QSyntaxHighlighter
,QSystemTrayIcon
,QTcpServer
,QTestEventLoop
,QTextDocument
,QTextObject
,QTextureWrapMode
,QThread
,QThreadPool
,QTimeLine
,QTimer
,QTranslator
,QUiLoader
,QUndoGroup
,QUndoStack
,QValidator
,QWidget
,QWindow
public class QObject extends QtObject implements QtSignalEmitterInterface, QtSignalBlockerInterface, QtThreadAffineInterface
The base class of all Qt objects
Java wrapper for Qt class QObject
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
QObject.MultiSignal
Wrapper class supporting the definition of overloaded signal in a class.class
QObject.PrivateSignal0
Declare and instantiate a field of this class in your QObject subclass to declare a signal that takes no parameters.class
QObject.PrivateSignal1<A>
Declare and instantiate a field of this class in your QObject subclass to declare a signal that takes one parameter.class
QObject.PrivateSignal2<A,B>
Declare and instantiate a field of this class in your QObject subclass to declare a signal that takes two parameters.class
QObject.PrivateSignal3<A,B,C>
Declare and instantiate a field of this class in your QObject subclass to declare a signal that takes three parameters.class
QObject.PrivateSignal4<A,B,C,D>
Declare and instantiate a field of this class in your QObject subclass to declare a signal that takes four parameters.class
QObject.PrivateSignal5<A,B,C,D,E>
Declare and instantiate a field of this class in your QObject subclass to declare a signal that takes five parameters.class
QObject.PrivateSignal6<A,B,C,D,E,F>
Declare and instantiate a field of this class in your QObject subclass to declare a signal that takes six parameters.class
QObject.PrivateSignal7<A,B,C,D,E,F,G>
Declare and instantiate a field of this class in your QObject subclass to declare a signal that takes seven parameters.class
QObject.PrivateSignal8<A,B,C,D,E,F,G,H>
Declare and instantiate a field of this class in your QObject subclass to declare a signal that takes eight parameters.class
QObject.PrivateSignal9<A,B,C,D,E,F,G,H,I>
Declare and instantiate a field of this class in your QObject subclass to declare a signal that takes nine parameters.class
QObject.QBooleanProperty
QBooleanProperty is primitive-typed version of QProperty<Boolean>.class
QObject.QByteProperty
QByteProperty is primitive-typed version of QProperty<Byte>.class
QObject.QCharProperty
QCharProperty is primitive-typed version of QProperty<Character>.class
QObject.QComputedBooleanProperty
QComputedBooleanProperty is primitive-typed version of QComputedProperty<Boolean>.class
QObject.QComputedByteProperty
QComputedByteProperty is primitive-typed version of QComputedProperty<Byte>.class
QObject.QComputedCharProperty
QComputedCharProperty is primitive-typed version of QComputedProperty<Character>.class
QObject.QComputedDoubleProperty
QComputedDoubleProperty is primitive-typed version of QComputedProperty<Double>.class
QObject.QComputedFloatProperty
QComputedFloatProperty is primitive-typed version of QComputedProperty<Float>.class
QObject.QComputedIntProperty
QComputedIntProperty is primitive-typed version of QComputedProperty<Integer>.class
QObject.QComputedLongProperty
QComputedLongProperty is primitive-typed version of QComputedProperty<Long>.class
QObject.QComputedProperty<T>
TheQComputedProperty
class is a template class for externally computed/stored values.class
QObject.QComputedShortProperty
QComputedShortProperty is primitive-typed version of QComputedProperty<Short>.protected static class
QObject.QDeclarativeConstructor
Parameter type for declarative constructors, i.e. constructors being called by QML only.class
QObject.QDoubleProperty
QDoubleProperty is primitive-typed version of QProperty<Double>.class
QObject.QFloatProperty
QFloatProperty is primitive-typed version of QProperty<Float>.class
QObject.QIntProperty
QIntProperty is primitive-typed version of QProperty<Integer>.class
QObject.QLongProperty
QLongProperty is primitive-typed version of QProperty<Long>.class
QObject.QProperty<T>
TheQProperty
class enables automatic property bindings.class
QObject.QShortProperty
QShortProperty is primitive-typed version of QProperty<Short>.class
QObject.Signal0
Declare and instantiate a field of this class in your QObject subclass to declare a signal that takes no parameters.class
QObject.Signal1<A>
Declare and instantiate a field of this class in your QObject subclass to declare a signal that takes one parameter.class
QObject.Signal1Default1<A>
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.class
QObject.Signal2<A,B>
Declare and instantiate a field of this class in your QObject subclass to declare a signal that takes two parameters.class
QObject.Signal2Default1<A,B>
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.class
QObject.Signal2Default2<A,B>
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.class
QObject.Signal3<A,B,C>
Declare and instantiate a field of this class in your QObject subclass to declare a signal that takes three parameters.class
QObject.Signal3Default1<A,B,C>
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.class
QObject.Signal3Default2<A,B,C>
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.class
QObject.Signal3Default3<A,B,C>
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.class
QObject.Signal4<A,B,C,D>
Declare and instantiate a field of this class in your QObject subclass to declare a signal that takes four parameters.class
QObject.Signal4Default1<A,B,C,D>
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.class
QObject.Signal4Default2<A,B,C,D>
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.class
QObject.Signal4Default3<A,B,C,D>
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.class
QObject.Signal4Default4<A,B,C,D>
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.class
QObject.Signal5<A,B,C,D,E>
Declare and instantiate a field of this class in your QObject subclass to declare a signal that takes five parameters.class
QObject.Signal5Default1<A,B,C,D,E>
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.class
QObject.Signal5Default2<A,B,C,D,E>
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.class
QObject.Signal5Default3<A,B,C,D,E>
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.class
QObject.Signal5Default4<A,B,C,D,E>
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.class
QObject.Signal5Default5<A,B,C,D,E>
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.class
QObject.Signal6<A,B,C,D,E,F>
Declare and instantiate a field of this class in your QObject subclass to declare a signal that takes six parameters.class
QObject.Signal6Default1<A,B,C,D,E,F>
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.class
QObject.Signal6Default2<A,B,C,D,E,F>
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.class
QObject.Signal6Default3<A,B,C,D,E,F>
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.class
QObject.Signal6Default4<A,B,C,D,E,F>
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.class
QObject.Signal6Default5<A,B,C,D,E,F>
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.class
QObject.Signal6Default6<A,B,C,D,E,F>
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.class
QObject.Signal7<A,B,C,D,E,F,G>
Declare and instantiate a field of this class in your QObject subclass to declare a signal that takes seven parameters.class
QObject.Signal7Default1<A,B,C,D,E,F,G>
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.class
QObject.Signal7Default2<A,B,C,D,E,F,G>
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.class
QObject.Signal7Default3<A,B,C,D,E,F,G>
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.class
QObject.Signal7Default4<A,B,C,D,E,F,G>
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.class
QObject.Signal7Default5<A,B,C,D,E,F,G>
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.class
QObject.Signal7Default6<A,B,C,D,E,F,G>
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.class
QObject.Signal7Default7<A,B,C,D,E,F,G>
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.class
QObject.Signal8<A,B,C,D,E,F,G,H>
Declare and instantiate a field of this class in your QObject subclass to declare a signal that takes eight parameters.class
QObject.Signal8Default1<A,B,C,D,E,F,G,H>
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.class
QObject.Signal8Default2<A,B,C,D,E,F,G,H>
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.class
QObject.Signal8Default3<A,B,C,D,E,F,G,H>
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.class
QObject.Signal8Default4<A,B,C,D,E,F,G,H>
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.class
QObject.Signal8Default5<A,B,C,D,E,F,G,H>
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.class
QObject.Signal8Default6<A,B,C,D,E,F,G,H>
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.class
QObject.Signal8Default7<A,B,C,D,E,F,G,H>
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.class
QObject.Signal8Default8<A,B,C,D,E,F,G,H>
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.class
QObject.Signal9<A,B,C,D,E,F,G,H,I>
Declare and instantiate a field of this class in your QObject subclass to declare a signal that takes nine parameters.class
QObject.Signal9Default1<A,B,C,D,E,F,G,H,I>
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.class
QObject.Signal9Default2<A,B,C,D,E,F,G,H,I>
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.class
QObject.Signal9Default3<A,B,C,D,E,F,G,H,I>
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.class
QObject.Signal9Default4<A,B,C,D,E,F,G,H,I>
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.class
QObject.Signal9Default5<A,B,C,D,E,F,G,H,I>
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.class
QObject.Signal9Default6<A,B,C,D,E,F,G,H,I>
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.class
QObject.Signal9Default7<A,B,C,D,E,F,G,H,I>
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.class
QObject.Signal9Default8<A,B,C,D,E,F,G,H,I>
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.class
QObject.Signal9Default9<A,B,C,D,E,F,G,H,I>
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.protected static class
QObject.SignalConfiguration
Container type forQObject.MultiSignal
initialization. -
Field Summary
Fields Modifier and Type Field Description QObject.Signal1Default1<QObject>
destroyed
QObject.PrivateSignal1<String>
objectNameChanged
static QMetaObject
staticMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
Constructors Modifier Constructor Description QObject()
Overloaded constructor forQObject(io.qt.core.QObject)
withparent = null
.QObject(QObject parent)
protected
QObject(QObject.QDeclarativeConstructor constructor)
Constructor for internal use only.protected
QObject(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description boolean
blockSignals(boolean b)
protected void
childEvent(QChildEvent event)
QList<QObject>
children()
static QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal0 signal, QMetaObject.Slot0 slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal1<?> signal, QMetaObject.Slot0 slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal1<A> signal, QMetaObject.Slot1<A> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal2<?,?> signal, QMetaObject.Slot0 slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal2<A,?> signal, QMetaObject.Slot1<A> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal2<A,B> signal, QMetaObject.Slot2<A,B> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal3<?,?,?> signal, QMetaObject.Slot0 slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal3<A,?,?> signal, QMetaObject.Slot1<A> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal3<A,B,?> signal, QMetaObject.Slot2<A,B> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal3<A,B,C> signal, QMetaObject.Slot3<A,B,C> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal4<?,?,?,?> signal, QMetaObject.Slot0 slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal4<A,?,?,?> signal, QMetaObject.Slot1<A> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal4<A,B,?,?> signal, QMetaObject.Slot2<A,B> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal4<A,B,C,?> signal, QMetaObject.Slot3<A,B,C> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C, D> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal4<A,B,C,D> signal, QMetaObject.Slot4<A,B,C,D> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal5<?,?,?,?,?> signal, QMetaObject.Slot0 slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal5<A,?,?,?,?> signal, QMetaObject.Slot1<A> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal5<A,B,?,?,?> signal, QMetaObject.Slot2<A,B> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal5<A,B,C,?,?> signal, QMetaObject.Slot3<A,B,C> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C, D> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal5<A,B,C,D,?> signal, QMetaObject.Slot4<A,B,C,D> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C, D, E>
QMetaObject.Connectionconnect(QMetaObject.AbstractPrivateSignal5<A,B,C,D,E> signal, QMetaObject.Slot5<A,B,C,D,E> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal6<?,?,?,?,?,?> signal, QMetaObject.Slot0 slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal6<A,?,?,?,?,?> signal, QMetaObject.Slot1<A> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal6<A,B,?,?,?,?> signal, QMetaObject.Slot2<A,B> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal6<A,B,C,?,?,?> signal, QMetaObject.Slot3<A,B,C> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C, D> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal6<A,B,C,D,?,?> signal, QMetaObject.Slot4<A,B,C,D> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C, D, E>
QMetaObject.Connectionconnect(QMetaObject.AbstractPrivateSignal6<A,B,C,D,E,?> signal, QMetaObject.Slot5<A,B,C,D,E> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C, D, E, F>
QMetaObject.Connectionconnect(QMetaObject.AbstractPrivateSignal6<A,B,C,D,E,F> signal, QMetaObject.Slot6<A,B,C,D,E,F> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal7<?,?,?,?,?,?,?> signal, QMetaObject.Slot0 slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal7<A,?,?,?,?,?,?> signal, QMetaObject.Slot1<A> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal7<A,B,?,?,?,?,?> signal, QMetaObject.Slot2<A,B> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal7<A,B,C,?,?,?,?> signal, QMetaObject.Slot3<A,B,C> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C, D> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal7<A,B,C,D,?,?,?> signal, QMetaObject.Slot4<A,B,C,D> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C, D, E>
QMetaObject.Connectionconnect(QMetaObject.AbstractPrivateSignal7<A,B,C,D,E,?,?> signal, QMetaObject.Slot5<A,B,C,D,E> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C, D, E, F>
QMetaObject.Connectionconnect(QMetaObject.AbstractPrivateSignal7<A,B,C,D,E,F,?> signal, QMetaObject.Slot6<A,B,C,D,E,F> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C, D, E, F, G>
QMetaObject.Connectionconnect(QMetaObject.AbstractPrivateSignal7<A,B,C,D,E,F,G> signal, QMetaObject.Slot7<A,B,C,D,E,F,G> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal8<?,?,?,?,?,?,?,?> signal, QMetaObject.Slot0 slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal8<A,?,?,?,?,?,?,?> signal, QMetaObject.Slot1<A> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal8<A,B,?,?,?,?,?,?> signal, QMetaObject.Slot2<A,B> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal8<A,B,C,?,?,?,?,?> signal, QMetaObject.Slot3<A,B,C> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C, D> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal8<A,B,C,D,?,?,?,?> signal, QMetaObject.Slot4<A,B,C,D> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C, D, E>
QMetaObject.Connectionconnect(QMetaObject.AbstractPrivateSignal8<A,B,C,D,E,?,?,?> signal, QMetaObject.Slot5<A,B,C,D,E> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C, D, E, F>
QMetaObject.Connectionconnect(QMetaObject.AbstractPrivateSignal8<A,B,C,D,E,F,?,?> signal, QMetaObject.Slot6<A,B,C,D,E,F> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C, D, E, F, G>
QMetaObject.Connectionconnect(QMetaObject.AbstractPrivateSignal8<A,B,C,D,E,F,G,?> signal, QMetaObject.Slot7<A,B,C,D,E,F,G> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C, D, E, F, G, H>
QMetaObject.Connectionconnect(QMetaObject.AbstractPrivateSignal8<A,B,C,D,E,F,G,H> signal, QMetaObject.Slot8<A,B,C,D,E,F,G,H> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal9<?,?,?,?,?,?,?,?,?> signal, QMetaObject.Slot0 slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal9<A,?,?,?,?,?,?,?,?> signal, QMetaObject.Slot1<A> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal9<A,B,?,?,?,?,?,?,?> signal, QMetaObject.Slot2<A,B> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal9<A,B,C,?,?,?,?,?,?> signal, QMetaObject.Slot3<A,B,C> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C, D> QMetaObject.Connection
connect(QMetaObject.AbstractPrivateSignal9<A,B,C,D,?,?,?,?,?> signal, QMetaObject.Slot4<A,B,C,D> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C, D, E>
QMetaObject.Connectionconnect(QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,?,?,?,?> signal, QMetaObject.Slot5<A,B,C,D,E> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C, D, E, F>
QMetaObject.Connectionconnect(QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,F,?,?,?> signal, QMetaObject.Slot6<A,B,C,D,E,F> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C, D, E, F, G>
QMetaObject.Connectionconnect(QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,F,G,?,?> signal, QMetaObject.Slot7<A,B,C,D,E,F,G> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C, D, E, F, G, H>
QMetaObject.Connectionconnect(QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,F,G,H,?> signal, QMetaObject.Slot8<A,B,C,D,E,F,G,H> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static <A, B, C, D, E, F, G, H, I>
QMetaObject.Connectionconnect(QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,F,G,H,I> signal, QMetaObject.Slot9<A,B,C,D,E,F,G,H,I> slot, Qt.ConnectionType... connectionType)
Initializes a connection between the given signal and slot.static QMetaObject.Connection
connect(QObject sender, QMetaMethod signal, QObject receiver, QMetaMethod slot, Qt.ConnectionType... connectionType)
Creates a connection of the giventype
from thesignal
in thesender
object to themethod
in thereceiver
object.static QMetaObject.Connection
connect(QObject sender, String signal, QObject receiver, String slot, Qt.ConnectionType... connectionType)
Creates a connection of the given type from the signal in the sender object to the method in the receiver object.protected void
connectNotify(QMetaMethod signal)
protected void
customEvent(QEvent event)
boolean
disconnect()
Disconnect all connections originating in this object.static boolean
disconnect(QMetaObject.AbstractPrivateSignal0 signal, QMetaObject.Slot0 slot)
Removes the connection between the given signal and slot.static boolean
disconnect(QMetaObject.AbstractPrivateSignal1<?> signal, QMetaObject.Slot0 slot)
Removes the connection between the given signal and slot.static <A> boolean
disconnect(QMetaObject.AbstractPrivateSignal1<A> signal, QMetaObject.Slot1<A> slot)
Removes the connection between the given signal and slot.static boolean
disconnect(QMetaObject.AbstractPrivateSignal2<?,?> signal, QMetaObject.Slot0 slot)
Removes the connection between the given signal and slot.static <A> boolean
disconnect(QMetaObject.AbstractPrivateSignal2<A,?> signal, QMetaObject.Slot1<A> slot)
Removes the connection between the given signal and slot.static <A, B> boolean
disconnect(QMetaObject.AbstractPrivateSignal2<A,B> signal, QMetaObject.Slot2<A,B> slot)
Removes the connection between the given signal and slot.static boolean
disconnect(QMetaObject.AbstractPrivateSignal3<?,?,?> signal, QMetaObject.Slot0 slot)
Removes the connection between the given signal and slot.static <A> boolean
disconnect(QMetaObject.AbstractPrivateSignal3<A,?,?> signal, QMetaObject.Slot1<A> slot)
Removes the connection between the given signal and slot.static <A, B> boolean
disconnect(QMetaObject.AbstractPrivateSignal3<A,B,?> signal, QMetaObject.Slot2<A,B> slot)
Removes the connection between the given signal and slot.static <A, B, C> boolean
disconnect(QMetaObject.AbstractPrivateSignal3<A,B,C> signal, QMetaObject.Slot3<A,B,C> slot)
Removes the connection between the given signal and slot.static boolean
disconnect(QMetaObject.AbstractPrivateSignal4<?,?,?,?> signal, QMetaObject.Slot0 slot)
Removes the connection between the given signal and slot.static <A> boolean
disconnect(QMetaObject.AbstractPrivateSignal4<A,?,?,?> signal, QMetaObject.Slot1<A> slot)
Removes the connection between the given signal and slot.static <A, B> boolean
disconnect(QMetaObject.AbstractPrivateSignal4<A,B,?,?> signal, QMetaObject.Slot2<A,B> slot)
Removes the connection between the given signal and slot.static <A, B, C> boolean
disconnect(QMetaObject.AbstractPrivateSignal4<A,B,C,?> signal, QMetaObject.Slot3<A,B,C> slot)
Removes the connection between the given signal and slot.static <A, B, C, D> boolean
disconnect(QMetaObject.AbstractPrivateSignal4<A,B,C,D> signal, QMetaObject.Slot4<A,B,C,D> slot)
Removes the connection between the given signal and slot.static boolean
disconnect(QMetaObject.AbstractPrivateSignal5<?,?,?,?,?> signal, QMetaObject.Slot0 slot)
Removes the connection between the given signal and slot.static <A> boolean
disconnect(QMetaObject.AbstractPrivateSignal5<A,?,?,?,?> signal, QMetaObject.Slot1<A> slot)
Removes the connection between the given signal and slot.static <A, B> boolean
disconnect(QMetaObject.AbstractPrivateSignal5<A,B,?,?,?> signal, QMetaObject.Slot2<A,B> slot)
Removes the connection between the given signal and slot.static <A, B, C> boolean
disconnect(QMetaObject.AbstractPrivateSignal5<A,B,C,?,?> signal, QMetaObject.Slot3<A,B,C> slot)
Removes the connection between the given signal and slot.static <A, B, C, D> boolean
disconnect(QMetaObject.AbstractPrivateSignal5<A,B,C,D,?> signal, QMetaObject.Slot4<A,B,C,D> slot)
Removes the connection between the given signal and slot.static <A, B, C, D, E>
booleandisconnect(QMetaObject.AbstractPrivateSignal5<A,B,C,D,E> signal, QMetaObject.Slot5<A,B,C,D,E> slot)
Removes the connection between the given signal and slot.static boolean
disconnect(QMetaObject.AbstractPrivateSignal6<?,?,?,?,?,?> signal, QMetaObject.Slot0 slot)
Removes the connection between the given signal and slot.static <A> boolean
disconnect(QMetaObject.AbstractPrivateSignal6<A,?,?,?,?,?> signal, QMetaObject.Slot1<A> slot)
Removes the connection between the given signal and slot.static <A, B> boolean
disconnect(QMetaObject.AbstractPrivateSignal6<A,B,?,?,?,?> signal, QMetaObject.Slot2<A,B> slot)
Removes the connection between the given signal and slot.static <A, B, C> boolean
disconnect(QMetaObject.AbstractPrivateSignal6<A,B,C,?,?,?> signal, QMetaObject.Slot3<A,B,C> slot)
Removes the connection between the given signal and slot.static <A, B, C, D> boolean
disconnect(QMetaObject.AbstractPrivateSignal6<A,B,C,D,?,?> signal, QMetaObject.Slot4<A,B,C,D> slot)
Removes the connection between the given signal and slot.static <A, B, C, D, E>
booleandisconnect(QMetaObject.AbstractPrivateSignal6<A,B,C,D,E,?> signal, QMetaObject.Slot5<A,B,C,D,E> slot)
Removes the connection between the given signal and slot.static <A, B, C, D, E, F>
booleandisconnect(QMetaObject.AbstractPrivateSignal6<A,B,C,D,E,F> signal, QMetaObject.Slot6<A,B,C,D,E,F> slot)
Removes the connection between the given signal and slot.static boolean
disconnect(QMetaObject.AbstractPrivateSignal7<?,?,?,?,?,?,?> signal, QMetaObject.Slot0 slot)
Removes the connection between the given signal and slot.static <A> boolean
disconnect(QMetaObject.AbstractPrivateSignal7<A,?,?,?,?,?,?> signal, QMetaObject.Slot1<A> slot)
Removes the connection between the given signal and slot.static <A, B> boolean
disconnect(QMetaObject.AbstractPrivateSignal7<A,B,?,?,?,?,?> signal, QMetaObject.Slot2<A,B> slot)
Removes the connection between the given signal and slot.static <A, B, C> boolean
disconnect(QMetaObject.AbstractPrivateSignal7<A,B,C,?,?,?,?> signal, QMetaObject.Slot3<A,B,C> slot)
Removes the connection between the given signal and slot.static <A, B, C, D> boolean
disconnect(QMetaObject.AbstractPrivateSignal7<A,B,C,D,?,?,?> signal, QMetaObject.Slot4<A,B,C,D> slot)
Removes the connection between the given signal and slot.static <A, B, C, D, E>
booleandisconnect(QMetaObject.AbstractPrivateSignal7<A,B,C,D,E,?,?> signal, QMetaObject.Slot5<A,B,C,D,E> slot)
Removes the connection between the given signal and slot.static <A, B, C, D, E, F>
booleandisconnect(QMetaObject.AbstractPrivateSignal7<A,B,C,D,E,F,?> signal, QMetaObject.Slot6<A,B,C,D,E,F> slot)
Removes the connection between the given signal and slot.static <A, B, C, D, E, F, G>
booleandisconnect(QMetaObject.AbstractPrivateSignal7<A,B,C,D,E,F,G> signal, QMetaObject.Slot7<A,B,C,D,E,F,G> slot)
Removes the connection between the given signal and slot.static boolean
disconnect(QMetaObject.AbstractPrivateSignal8<?,?,?,?,?,?,?,?> signal, QMetaObject.Slot0 slot)
Removes the connection between the given signal and slot.static <A> boolean
disconnect(QMetaObject.AbstractPrivateSignal8<A,?,?,?,?,?,?,?> signal, QMetaObject.Slot1<A> slot)
Removes the connection between the given signal and slot.static <A, B> boolean
disconnect(QMetaObject.AbstractPrivateSignal8<A,B,?,?,?,?,?,?> signal, QMetaObject.Slot2<A,B> slot)
Removes the connection between the given signal and slot.static <A, B, C> boolean
disconnect(QMetaObject.AbstractPrivateSignal8<A,B,C,?,?,?,?,?> signal, QMetaObject.Slot3<A,B,C> slot)
Removes the connection between the given signal and slot.static <A, B, C, D> boolean
disconnect(QMetaObject.AbstractPrivateSignal8<A,B,C,D,?,?,?,?> signal, QMetaObject.Slot4<A,B,C,D> slot)
Removes the connection between the given signal and slot.static <A, B, C, D, E>
booleandisconnect(QMetaObject.AbstractPrivateSignal8<A,B,C,D,E,?,?,?> signal, QMetaObject.Slot5<A,B,C,D,E> slot)
Removes the connection between the given signal and slot.static <A, B, C, D, E, F>
booleandisconnect(QMetaObject.AbstractPrivateSignal8<A,B,C,D,E,F,?,?> signal, QMetaObject.Slot6<A,B,C,D,E,F> slot)
Removes the connection between the given signal and slot.static <A, B, C, D, E, F, G>
booleandisconnect(QMetaObject.AbstractPrivateSignal8<A,B,C,D,E,F,G,?> signal, QMetaObject.Slot7<A,B,C,D,E,F,G> slot)
Removes the connection between the given signal and slot.static <A, B, C, D, E, F, G, H>
booleandisconnect(QMetaObject.AbstractPrivateSignal8<A,B,C,D,E,F,G,H> signal, QMetaObject.Slot8<A,B,C,D,E,F,G,H> slot)
Removes the connection between the given signal and slot.static boolean
disconnect(QMetaObject.AbstractPrivateSignal9<?,?,?,?,?,?,?,?,?> signal, QMetaObject.Slot0 slot)
Removes the connection between the given signal and slot.static <A> boolean
disconnect(QMetaObject.AbstractPrivateSignal9<A,?,?,?,?,?,?,?,?> signal, QMetaObject.Slot1<A> slot)
Removes the connection between the given signal and slot.static <A, B> boolean
disconnect(QMetaObject.AbstractPrivateSignal9<A,B,?,?,?,?,?,?,?> signal, QMetaObject.Slot2<A,B> slot)
Removes the connection between the given signal and slot.static <A, B, C> boolean
disconnect(QMetaObject.AbstractPrivateSignal9<A,B,C,?,?,?,?,?,?> signal, QMetaObject.Slot3<A,B,C> slot)
Removes the connection between the given signal and slot.static <A, B, C, D> boolean
disconnect(QMetaObject.AbstractPrivateSignal9<A,B,C,D,?,?,?,?,?> signal, QMetaObject.Slot4<A,B,C,D> slot)
Removes the connection between the given signal and slot.static <A, B, C, D, E>
booleandisconnect(QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,?,?,?,?> signal, QMetaObject.Slot5<A,B,C,D,E> slot)
Removes the connection between the given signal and slot.static <A, B, C, D, E, F>
booleandisconnect(QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,F,?,?,?> signal, QMetaObject.Slot6<A,B,C,D,E,F> slot)
Removes the connection between the given signal and slot.static <A, B, C, D, E, F, G>
booleandisconnect(QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,F,G,?,?> signal, QMetaObject.Slot7<A,B,C,D,E,F,G> slot)
Removes the connection between the given signal and slot.static <A, B, C, D, E, F, G, H>
booleandisconnect(QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,F,G,H,?> signal, QMetaObject.Slot8<A,B,C,D,E,F,G,H> slot)
Removes the connection between the given signal and slot.static <A, B, C, D, E, F, G, H, I>
booleandisconnect(QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,F,G,H,I> signal, QMetaObject.Slot9<A,B,C,D,E,F,G,H,I> slot)
Removes the connection between the given signal and slot.static boolean
disconnect(QMetaObject.Connection connection)
Disconnect a connection.static boolean
disconnect(QObject sender, QMetaMethod signal, QObject receiver, QMetaMethod slot)
Disconnects signal in object sender from method in object receiver receiver.static boolean
disconnect(QObject sender, String signal, QObject receiver, String slot)
Disconnects signal in object sender from method in object receiver.boolean
disconnect(Object receiver)
Disconnect all connections made from this signal emitter to a specific object.protected void
disconnectNotify(QMetaMethod signal)
void
disposeLater()
void
dumpObjectInfo()
void
dumpObjectTree()
QList<QByteArray>
dynamicPropertyNames()
protected static void
emit(QObject.PrivateSignal0 signal)
Emits a private signal.protected static <A> void
emit(QObject.PrivateSignal1<A> signal, A arg1)
Emits a private signal.protected static <A, B> void
emit(QObject.PrivateSignal2<A,B> signal, A arg1, B arg2)
Emits a private signal.protected static <A, B, C> void
emit(QObject.PrivateSignal3<A,B,C> signal, A arg1, B arg2, C arg3)
Emits a private signal.protected static <A, B, C, D> void
emit(QObject.PrivateSignal4<A,B,C,D> signal, A arg1, B arg2, C arg3, D arg4)
Emits a private signal.protected static <A, B, C, D, E>
voidemit(QObject.PrivateSignal5<A,B,C,D,E> signal, A arg1, B arg2, C arg3, D arg4, E arg5)
Emits a private signal.protected static <A, B, C, D, E, F>
voidemit(QObject.PrivateSignal6<A,B,C,D,E,F> signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6)
Emits a private signal.protected static <A, B, C, D, E, F, G>
voidemit(QObject.PrivateSignal7<A,B,C,D,E,F,G> signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7)
Emits a private signal.protected static <A, B, C, D, E, F, G, H>
voidemit(QObject.PrivateSignal8<A,B,C,D,E,F,G,H> signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8)
Emits a private signal.protected static <A, B, C, D, E, F, G, H, I>
voidemit(QObject.PrivateSignal9<A,B,C,D,E,F,G,H,I> signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8, I arg9)
Emits a private signal.boolean
event(QEvent event)
boolean
eventFilter(QObject watched, QEvent event)
QObject
findChild()
Overloaded function forfindChild(Class)
withcl = QObject.class
.<T extends QObject>
TfindChild(Class<T> cl)
Overloaded function forfindChild(Class,String,Qt.FindChildOptions)
<T extends QObject>
TfindChild(Class<T> cl, String name)
Overloaded function forfindChild(Class,String,Qt.FindChildOptions)
with:options = FindChildrenRecursively
.<T extends QObject>
TfindChild(Class<T> cl, String name, Qt.FindChildOption... options)
Overloaded function forfindChild(Class,String,Qt.FindChildOptions)
.<T extends QObject>
TfindChild(Class<T> cl, String name, Qt.FindChildOptions options)
Returns the child of this object that instane of cl and that is called name, ornull
if there is no such object.QList<QObject>
findChildren()
Overloaded function forfindChildren(Class)
withcl = QObject.class
.<T extends QObject>
QList<T>findChildren(Class<T> cl)
Overloaded function forfindChildren(Class,String,Qt.FindChildOptions)
<T extends QObject>
QList<T>findChildren(Class<T> cl, QRegularExpression re)
Overloaded function forfindChildren(Class,QRegularExpression,Qt.FindChildOptions)
with:options = FindChildrenRecursively
.<T extends QObject>
QList<T>findChildren(Class<T> cl, QRegularExpression re, Qt.FindChildOption... options)
Overloaded function forfindChildren(Class,QRegularExpression,Qt.FindChildOptions)
.<T extends QObject>
QList<T>findChildren(Class<T> cl, QRegularExpression re, Qt.FindChildOptions options)
This function overloadsfindChildren()
.<T extends QObject>
QList<T>findChildren(Class<T> cl, String name)
Overloaded function forfindChildren(Class,String,Qt.FindChildOptions)
with:options = FindChildrenRecursively
.<T extends QObject>
QList<T>findChildren(Class<T> cl, String name, Qt.FindChildOption... options)
Overloaded function forfindChildren(Class,String,Qt.FindChildOptions)
.<T extends QObject>
QList<T>findChildren(Class<T> cl, String name, 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.boolean
inherits(Class<?> targetType)
Returns true if this object is an instance of a class that inherits className or a QObject subclass that inherits className; otherwise returns false.boolean
inherits(String classname)
void
installEventFilter(QObject filterObj)
protected boolean
isSignalConnected(QMetaMethod signal)
boolean
isWidgetType()
boolean
isWindowType()
void
killTimer(int id)
QMetaObject
metaObject()
Returns a pointer to the meta-object of this object.void
moveToThread(QThread thread)
String
objectName()
QObject
parent()
Object
property(String name)
<T extends QtObjectInterface>
Tqt_metacast(Class<T> targetType)
Casts an object to the given targetType.protected int
receivers(QMetaObject.AbstractSignal signalObject)
protected int
receivers(String signal)
void
removeEventFilter(QObject obj)
protected QObject
sender()
protected int
senderSignalIndex()
void
setObjectName(String name)
void
setParent(QObject parent)
boolean
setProperty(String name, Object value)
boolean
signalsBlocked()
int
startTimer(int interval)
Overloaded function forstartTimer(int, io.qt.core.Qt.TimerType)
withtimerType = io.qt.core.Qt.TimerType.CoarseTimer
.int
startTimer(int interval, Qt.TimerType timerType)
QThread
thread()
protected void
timerEvent(QTimerEvent event)
String
toString()
static String
tr(String source)
Returns a translated version of source, or source itself if there is no appropriate translated version.static String
tr(String source, String comment)
Returns a translated version of source, or source itself if there is no appropriate translated version.static String
tr(String source, String comment, int count)
Returns a translated version of source, or source itself if there is no appropriate translated version.
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class. -
destroyed
-
objectNameChanged
-
-
Constructor Details
-
QObject
public QObject()Overloaded constructor for
QObject(io.qt.core.QObject)
withparent = null
. -
QObject
-
QObject
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
QObject
Constructor for internal use only. It is not allowed to call the declarative constructor from inside Java.
-
-
Method Details
-
blockSignals
-
children
-
disposeLater
public final void disposeLater() -
dumpObjectInfo
-
dumpObjectTree
-
dynamicPropertyNames
-
inherits
-
installEventFilter
-
isSignalConnected
-
isWidgetType
-
isWindowType
-
killTimer
-
moveToThread
-
objectName
-
parent
-
property
-
receivers
-
removeEventFilter
-
sender
-
senderSignalIndex
-
setObjectName
-
setParent
-
setProperty
-
signalsBlocked
- Specified by:
signalsBlocked
in interfaceQtSignalBlockerInterface
-
startTimer
Overloaded function for
startTimer(int, io.qt.core.Qt.TimerType)
withtimerType = io.qt.core.Qt.TimerType.CoarseTimer
. -
startTimer
-
thread
- Specified by:
thread
in interfaceQtThreadAffineInterface
-
childEvent
-
connectNotify
-
customEvent
-
disconnectNotify
-
event
-
eventFilter
-
timerEvent
-
tr
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.- Parameters:
source
- the source text to translate.- Returns:
- translated version of the source text.
-
tr
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.- Parameters:
source
- the source text to translate.comment
- helps the translator translate the source text.- Returns:
- translated version of the source text.
-
tr
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.- Parameters:
source
- the source text to translate.comment
- helps the translator translate the source text.count
- in source %n will be substituted by count.- Returns:
- translated version of the source text.
-
findChild
Overloaded function for
findChild(Class)
withcl = QObject.class
.- Returns:
- found child
-
findChild
Overloaded function for
findChild(Class,String,Qt.FindChildOptions)
with:
name = null
options = FindChildrenRecursively
- Type Parameters:
T
- type of child- Parameters:
cl
- type of child- Returns:
- found child
-
findChild
Overloaded function for
findChild(Class,String,Qt.FindChildOptions)
with:options = FindChildrenRecursively
.- Type Parameters:
T
- type of child- Parameters:
cl
- type of childname
- name of child- Returns:
- found child
-
findChild
@QtUninvokable public final <T extends QObject> T findChild(Class<T> cl, String name, Qt.FindChildOption... options)Overloaded function for
findChild(Class,String,Qt.FindChildOptions)
.- Type Parameters:
T
- type of child- Parameters:
cl
- type of childname
- name of childoptions
- search options- Returns:
- found child
-
findChild
@QtUninvokable public final <T extends QObject> T findChild(Class<T> cl, String name, 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 optionFindDirectChildrenOnly
.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,
findChildren()
should be used.This example returns a child
QPushButton
ofparentWidget
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 ofparentWidget
:QListWidget list = parentWidget.findChild(QListWidget.class);
This example returns a child
QPushButton
ofparentWidget
(its direct parent) named"button1"
:QPushButton button = parentWidget.findChild(QPushButton.class, "button1", Qt.FindChildOption.FindDirectChildrenOnly);
This example returns a
QListWidget
child ofparentWidget
, its direct parent:QListWidget list = parentWidget.findChild(QListWidget.class, null, Qt.FindChildOption.FindDirectChildrenOnly);
- Type Parameters:
T
- type of child- Parameters:
cl
- type of childname
- name of childoptions
- search options- Returns:
- found child
- See Also:
findChildren()
-
findChildren
Overloaded function for
findChildren(Class)
withcl = QObject.class
.- Returns:
- found children
-
findChildren
Overloaded function for
findChildren(Class,String,Qt.FindChildOptions)
with:
name = null
options = FindChildrenRecursively
- Type Parameters:
T
- type of children- Parameters:
cl
- type of children- Returns:
- found children
-
findChildren
Overloaded function for
findChildren(Class,String,Qt.FindChildOptions)
with:options = FindChildrenRecursively
.- Type Parameters:
T
- type of children- Parameters:
cl
- type of childrenname
- name of children- Returns:
- found children
-
findChildren
@QtUninvokable public final <T extends QObject> QList<T> findChildren(Class<T> cl, String name, Qt.FindChildOption... options)Overloaded function for
findChildren(Class,String,Qt.FindChildOptions)
.- Type Parameters:
T
- type of children- Parameters:
cl
- type of childrenname
- name of childrenoptions
- search options- Returns:
- found children
-
findChildren
@QtUninvokable public final <T extends QObject> QList<T> findChildren(Class<T> cl, String name, 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
QWidget
s of the specifiedparentWidget
namedwidgetname
:List<QWidget> widgets = parentWidget.findChildren(QWidget.class, "widgetname");
This example returns all
QPushButton
s that are children ofparentWidget
:List<QPushButton> allPButtons = parentWidget.findChildren(QPushButton.class);
This example returns all
QPushButton
s that are immediate children ofparentWidget
:List<QPushButton> childButtons = parentWidget.findChildren(QPushButton.class, null, Qt.FindChildOption.FindDirectChildrenOnly);
- Type Parameters:
T
- type of children- Parameters:
cl
- type of childrenname
- name of childrenoptions
- search options- Returns:
- found children
- See Also:
findChild()
-
findChildren
@QtUninvokable public final <T extends QObject> QList<T> findChildren(Class<T> cl, QRegularExpression re)Overloaded function for
findChildren(Class,QRegularExpression,Qt.FindChildOptions)
with:options = FindChildrenRecursively
.- Type Parameters:
T
- type of children- Parameters:
cl
- type of childrenre
- regular expression- Returns:
- found children
-
findChildren
@QtUninvokable public final <T extends QObject> QList<T> findChildren(Class<T> cl, QRegularExpression re, Qt.FindChildOption... options)Overloaded function for
findChildren(Class,QRegularExpression,Qt.FindChildOptions)
.- Type Parameters:
T
- type of children- Parameters:
cl
- type of childrenre
- regular expressionoptions
- search options- Returns:
- found children
-
findChildren
@QtUninvokable public final <T extends QObject> QList<T> findChildren(Class<T> cl, QRegularExpression re, Qt.FindChildOptions options)This function overloads
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.
- Type Parameters:
T
- type of children- Parameters:
cl
- type of childrenre
- regular expressionoptions
- search options- Returns:
- found children
- See Also:
findChildren()
-
emit
Emits a private signal. This method may only be called from inside the signal owning object.- Parameters:
signal
- the signal to be emitted- Throws:
QSignalAccessException
- if signal is emitted from outside the declaring class.
-
emit
protected static <A> void emit(QObject.PrivateSignal1<A> signal, A arg1) throws QSignalAccessExceptionEmits a private signal. This method may only be called from inside the signal owning object.- Type Parameters:
A
- The type of the first parameter of the signal.- Parameters:
signal
- the signal to be emittedarg1
- The argument for the first parameter of the signal.- Throws:
QSignalAccessException
- if signal is emitted from outside the declaring class.
-
emit
protected static <A, B> void emit(QObject.PrivateSignal2<A,B> signal, A arg1, B arg2) throws QSignalAccessExceptionEmits a private signal. This method may only be called from inside the signal owning object.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.- Parameters:
signal
- the signal to be emittedarg1
- The argument for the first parameter of the signal.arg2
- The argument for the second parameter of the signal.- Throws:
QSignalAccessException
- if signal is emitted from outside the declaring class.
-
emit
protected static <A, B, C> void emit(QObject.PrivateSignal3<A,B,C> signal, A arg1, B arg2, C arg3) throws QSignalAccessExceptionEmits a private signal. This method may only be called from inside the signal owning object.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.- Parameters:
signal
- the signal to be emittedarg1
- The argument for the first parameter of the signal.arg2
- The argument for the second parameter of the signal.arg3
- The argument for the third parameter of the signal.- Throws:
QSignalAccessException
- if signal is emitted from outside the declaring class.
-
emit
protected static <A, B, C, D> void emit(QObject.PrivateSignal4<A,B,C,D> signal, A arg1, B arg2, C arg3, D arg4) throws QSignalAccessExceptionEmits a private signal. This method may only be called from inside the signal owning object.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.- Parameters:
signal
- the signal to be emittedarg1
- The argument for the first parameter of the signal.arg2
- The argument for the second parameter of the signal.arg3
- The argument for the third parameter of the signal.arg4
- The argument for the fourth parameter of the signal.- Throws:
QSignalAccessException
- if signal is emitted from outside the declaring class.
-
emit
protected static <A, B, C, D, E> void emit(QObject.PrivateSignal5<A,B,C,D,E> signal, A arg1, B arg2, C arg3, D arg4, E arg5) throws QSignalAccessExceptionEmits a private signal. This method may only be called from inside the signal owning object.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.- Parameters:
signal
- the signal to be emittedarg1
- The argument for the first parameter of the signal.arg2
- The argument for the second parameter of the signal.arg3
- The argument for the third parameter of the signal.arg4
- The argument for the fourth parameter of the signal.arg5
- The argument for the fifth parameter of the signal.- Throws:
QSignalAccessException
- if signal is emitted from outside the declaring class.
-
emit
protected static <A, B, C, D, E, F> void emit(QObject.PrivateSignal6<A,B,C,D,E,F> signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) throws QSignalAccessExceptionEmits a private signal. This method may only be called from inside the signal owning object.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.- Parameters:
signal
- the signal to be emittedarg1
- The argument for the first parameter of the signal.arg2
- The argument for the second parameter of the signal.arg3
- The argument for the third parameter of the signal.arg4
- The argument for the fourth parameter of the signal.arg5
- The argument for the fifth parameter of the signal.arg6
- The argument for the sixth parameter of the signal.- Throws:
QSignalAccessException
- if signal is emitted from outside the declaring class.
-
emit
protected static <A, B, C, D, E, F, G> void emit(QObject.PrivateSignal7<A,B,C,D,E,F,G> signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7) throws QSignalAccessExceptionEmits a private signal. This method may only be called from inside the signal owning object.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.G
- The type of the seventh parameter of the signal.- Parameters:
signal
- the signal to be emittedarg1
- The argument for the first parameter of the signal.arg2
- The argument for the second parameter of the signal.arg3
- The argument for the third parameter of the signal.arg4
- The argument for the fourth parameter of the signal.arg5
- The argument for the fifth parameter of the signal.arg6
- The argument for the sixth parameter of the signal.arg7
- The argument for the seventh parameter of the signal.- Throws:
QSignalAccessException
- if signal is emitted from outside the declaring class.
-
emit
protected static <A, B, C, D, E, F, G, H> void emit(QObject.PrivateSignal8<A,B,C,D,E,F,G,H> signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8) throws QSignalAccessExceptionEmits a private signal. This method may only be called from inside the signal owning object.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.G
- The type of the seventh parameter of the signal.H
- The type of the eighth parameter of the signal.- Parameters:
signal
- the signal to be emittedarg1
- The argument for the first parameter of the signal.arg2
- The argument for the second parameter of the signal.arg3
- The argument for the third parameter of the signal.arg4
- The argument for the fourth parameter of the signal.arg5
- The argument for the fifth parameter of the signal.arg6
- The argument for the sixth parameter of the signal.arg7
- The argument for the seventh parameter of the signal.arg8
- The argument for the eighth parameter of the signal.- Throws:
QSignalAccessException
- if signal is emitted from outside the declaring class.
-
emit
protected static <A, B, C, D, E, F, G, H, I> void emit(QObject.PrivateSignal9<A,B,C,D,E,F,G,H,I> signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8, I arg9) throws QSignalAccessExceptionEmits a private signal. This method may only be called from inside the signal owning object.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.G
- The type of the seventh parameter of the signal.H
- The type of the eighth parameter of the signal.I
- The type of the ninth parameter of the signal.- Parameters:
signal
- the signal to be emittedarg1
- The argument for the first parameter of the signal.arg2
- The argument for the second parameter of the signal.arg3
- The argument for the third parameter of the signal.arg4
- The argument for the fourth parameter of the signal.arg5
- The argument for the fifth parameter of the signal.arg6
- The argument for the sixth parameter of the signal.arg7
- The argument for the seventh parameter of the signal.arg8
- The argument for the eighth parameter of the signal.arg9
- The argument for the ninth parameter of the signal.- Throws:
QSignalAccessException
- if signal is emitted from outside the declaring class.
-
connect
public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal0 signal, QMetaObject.Slot0 slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal1<?> signal, QMetaObject.Slot0 slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal1<A> signal, QMetaObject.Slot1<A> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal2<?,?> signal, QMetaObject.Slot0 slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal2<A,?> signal, QMetaObject.Slot1<A> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal2<A,B> signal, QMetaObject.Slot2<A,B> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal3<?,?,?> signal, QMetaObject.Slot0 slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal3<A,?,?> signal, QMetaObject.Slot1<A> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal3<A,B,?> signal, QMetaObject.Slot2<A,B> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal3<A,B,C> signal, QMetaObject.Slot3<A,B,C> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal4<?,?,?,?> signal, QMetaObject.Slot0 slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal4<A,?,?,?> signal, QMetaObject.Slot1<A> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal4<A,B,?,?> signal, QMetaObject.Slot2<A,B> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal4<A,B,C,?> signal, QMetaObject.Slot3<A,B,C> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C, D> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal4<A,B,C,D> signal, QMetaObject.Slot4<A,B,C,D> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal5<?,?,?,?,?> signal, QMetaObject.Slot0 slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal5<A,?,?,?,?> signal, QMetaObject.Slot1<A> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal5<A,B,?,?,?> signal, QMetaObject.Slot2<A,B> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal5<A,B,C,?,?> signal, QMetaObject.Slot3<A,B,C> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C, D> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal5<A,B,C,D,?> signal, QMetaObject.Slot4<A,B,C,D> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C, D, E> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal5<A,B,C,D,E> signal, QMetaObject.Slot5<A,B,C,D,E> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal6<?,?,?,?,?,?> signal, QMetaObject.Slot0 slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal6<A,?,?,?,?,?> signal, QMetaObject.Slot1<A> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal6<A,B,?,?,?,?> signal, QMetaObject.Slot2<A,B> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal6<A,B,C,?,?,?> signal, QMetaObject.Slot3<A,B,C> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C, D> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal6<A,B,C,D,?,?> signal, QMetaObject.Slot4<A,B,C,D> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C, D, E> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal6<A,B,C,D,E,?> signal, QMetaObject.Slot5<A,B,C,D,E> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C, D, E, F> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal6<A,B,C,D,E,F> signal, QMetaObject.Slot6<A,B,C,D,E,F> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal7<?,?,?,?,?,?,?> signal, QMetaObject.Slot0 slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal7<A,?,?,?,?,?,?> signal, QMetaObject.Slot1<A> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal7<A,B,?,?,?,?,?> signal, QMetaObject.Slot2<A,B> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal7<A,B,C,?,?,?,?> signal, QMetaObject.Slot3<A,B,C> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C, D> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal7<A,B,C,D,?,?,?> signal, QMetaObject.Slot4<A,B,C,D> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C, D, E> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal7<A,B,C,D,E,?,?> signal, QMetaObject.Slot5<A,B,C,D,E> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C, D, E, F> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal7<A,B,C,D,E,F,?> signal, QMetaObject.Slot6<A,B,C,D,E,F> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C, D, E, F, G> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal7<A,B,C,D,E,F,G> signal, QMetaObject.Slot7<A,B,C,D,E,F,G> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.G
- The type of the seventh parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal8<?,?,?,?,?,?,?,?> signal, QMetaObject.Slot0 slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal8<A,?,?,?,?,?,?,?> signal, QMetaObject.Slot1<A> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal8<A,B,?,?,?,?,?,?> signal, QMetaObject.Slot2<A,B> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal8<A,B,C,?,?,?,?,?> signal, QMetaObject.Slot3<A,B,C> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C, D> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal8<A,B,C,D,?,?,?,?> signal, QMetaObject.Slot4<A,B,C,D> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C, D, E> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal8<A,B,C,D,E,?,?,?> signal, QMetaObject.Slot5<A,B,C,D,E> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C, D, E, F> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal8<A,B,C,D,E,F,?,?> signal, QMetaObject.Slot6<A,B,C,D,E,F> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C, D, E, F, G> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal8<A,B,C,D,E,F,G,?> signal, QMetaObject.Slot7<A,B,C,D,E,F,G> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.G
- The type of the seventh parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C, D, E, F, G, H> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal8<A,B,C,D,E,F,G,H> signal, QMetaObject.Slot8<A,B,C,D,E,F,G,H> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.G
- The type of the seventh parameter of the signal.H
- The type of the eighth parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal9<?,?,?,?,?,?,?,?,?> signal, QMetaObject.Slot0 slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal9<A,?,?,?,?,?,?,?,?> signal, QMetaObject.Slot1<A> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal9<A,B,?,?,?,?,?,?,?> signal, QMetaObject.Slot2<A,B> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal9<A,B,C,?,?,?,?,?,?> signal, QMetaObject.Slot3<A,B,C> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C, D> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal9<A,B,C,D,?,?,?,?,?> signal, QMetaObject.Slot4<A,B,C,D> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C, D, E> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,?,?,?,?> signal, QMetaObject.Slot5<A,B,C,D,E> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C, D, E, F> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,F,?,?,?> signal, QMetaObject.Slot6<A,B,C,D,E,F> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C, D, E, F, G> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,F,G,?,?> signal, QMetaObject.Slot7<A,B,C,D,E,F,G> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.G
- The type of the seventh parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C, D, E, F, G, H> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,F,G,H,?> signal, QMetaObject.Slot8<A,B,C,D,E,F,G,H> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.G
- The type of the seventh parameter of the signal.H
- The type of the eighth parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
connect
public static <A, B, C, D, E, F, G, H, I> QMetaObject.Connection connect(QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,F,G,H,I> signal, QMetaObject.Slot9<A,B,C,D,E,F,G,H,I> slot, Qt.ConnectionType... connectionType)Initializes a connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.G
- The type of the seventh parameter of the signal.H
- The type of the eighth parameter of the signal.I
- The type of the ninth parameter of the signal.- Parameters:
signal
- the signal to be connectedslot
- the slot to be connectedconnectionType
- type of connection- Returns:
- connection if successful or
null
otherwise - Throws:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QUninvokableSlotException
- Raised if slot is annotated@QtUninvokable
.
-
disconnect
public static boolean disconnect(QMetaObject.AbstractPrivateSignal0 signal, QMetaObject.Slot0 slot)Removes the connection between the given signal and slot.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static boolean disconnect(QMetaObject.AbstractPrivateSignal1<?> signal, QMetaObject.Slot0 slot)Removes the connection between the given signal and slot.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A> boolean disconnect(QMetaObject.AbstractPrivateSignal1<A> signal, QMetaObject.Slot1<A> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static boolean disconnect(QMetaObject.AbstractPrivateSignal2<?,?> signal, QMetaObject.Slot0 slot)Removes the connection between the given signal and slot.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A> boolean disconnect(QMetaObject.AbstractPrivateSignal2<A,?> signal, QMetaObject.Slot1<A> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B> boolean disconnect(QMetaObject.AbstractPrivateSignal2<A,B> signal, QMetaObject.Slot2<A,B> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static boolean disconnect(QMetaObject.AbstractPrivateSignal3<?,?,?> signal, QMetaObject.Slot0 slot)Removes the connection between the given signal and slot.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A> boolean disconnect(QMetaObject.AbstractPrivateSignal3<A,?,?> signal, QMetaObject.Slot1<A> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B> boolean disconnect(QMetaObject.AbstractPrivateSignal3<A,B,?> signal, QMetaObject.Slot2<A,B> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C> boolean disconnect(QMetaObject.AbstractPrivateSignal3<A,B,C> signal, QMetaObject.Slot3<A,B,C> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static boolean disconnect(QMetaObject.AbstractPrivateSignal4<?,?,?,?> signal, QMetaObject.Slot0 slot)Removes the connection between the given signal and slot.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A> boolean disconnect(QMetaObject.AbstractPrivateSignal4<A,?,?,?> signal, QMetaObject.Slot1<A> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B> boolean disconnect(QMetaObject.AbstractPrivateSignal4<A,B,?,?> signal, QMetaObject.Slot2<A,B> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C> boolean disconnect(QMetaObject.AbstractPrivateSignal4<A,B,C,?> signal, QMetaObject.Slot3<A,B,C> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C, D> boolean disconnect(QMetaObject.AbstractPrivateSignal4<A,B,C,D> signal, QMetaObject.Slot4<A,B,C,D> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static boolean disconnect(QMetaObject.AbstractPrivateSignal5<?,?,?,?,?> signal, QMetaObject.Slot0 slot)Removes the connection between the given signal and slot.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A> boolean disconnect(QMetaObject.AbstractPrivateSignal5<A,?,?,?,?> signal, QMetaObject.Slot1<A> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B> boolean disconnect(QMetaObject.AbstractPrivateSignal5<A,B,?,?,?> signal, QMetaObject.Slot2<A,B> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C> boolean disconnect(QMetaObject.AbstractPrivateSignal5<A,B,C,?,?> signal, QMetaObject.Slot3<A,B,C> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C, D> boolean disconnect(QMetaObject.AbstractPrivateSignal5<A,B,C,D,?> signal, QMetaObject.Slot4<A,B,C,D> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C, D, E> boolean disconnect(QMetaObject.AbstractPrivateSignal5<A,B,C,D,E> signal, QMetaObject.Slot5<A,B,C,D,E> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static boolean disconnect(QMetaObject.AbstractPrivateSignal6<?,?,?,?,?,?> signal, QMetaObject.Slot0 slot)Removes the connection between the given signal and slot.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A> boolean disconnect(QMetaObject.AbstractPrivateSignal6<A,?,?,?,?,?> signal, QMetaObject.Slot1<A> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B> boolean disconnect(QMetaObject.AbstractPrivateSignal6<A,B,?,?,?,?> signal, QMetaObject.Slot2<A,B> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C> boolean disconnect(QMetaObject.AbstractPrivateSignal6<A,B,C,?,?,?> signal, QMetaObject.Slot3<A,B,C> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C, D> boolean disconnect(QMetaObject.AbstractPrivateSignal6<A,B,C,D,?,?> signal, QMetaObject.Slot4<A,B,C,D> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C, D, E> boolean disconnect(QMetaObject.AbstractPrivateSignal6<A,B,C,D,E,?> signal, QMetaObject.Slot5<A,B,C,D,E> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C, D, E, F> boolean disconnect(QMetaObject.AbstractPrivateSignal6<A,B,C,D,E,F> signal, QMetaObject.Slot6<A,B,C,D,E,F> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static boolean disconnect(QMetaObject.AbstractPrivateSignal7<?,?,?,?,?,?,?> signal, QMetaObject.Slot0 slot)Removes the connection between the given signal and slot.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A> boolean disconnect(QMetaObject.AbstractPrivateSignal7<A,?,?,?,?,?,?> signal, QMetaObject.Slot1<A> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B> boolean disconnect(QMetaObject.AbstractPrivateSignal7<A,B,?,?,?,?,?> signal, QMetaObject.Slot2<A,B> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C> boolean disconnect(QMetaObject.AbstractPrivateSignal7<A,B,C,?,?,?,?> signal, QMetaObject.Slot3<A,B,C> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C, D> boolean disconnect(QMetaObject.AbstractPrivateSignal7<A,B,C,D,?,?,?> signal, QMetaObject.Slot4<A,B,C,D> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C, D, E> boolean disconnect(QMetaObject.AbstractPrivateSignal7<A,B,C,D,E,?,?> signal, QMetaObject.Slot5<A,B,C,D,E> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C, D, E, F> boolean disconnect(QMetaObject.AbstractPrivateSignal7<A,B,C,D,E,F,?> signal, QMetaObject.Slot6<A,B,C,D,E,F> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C, D, E, F, G> boolean disconnect(QMetaObject.AbstractPrivateSignal7<A,B,C,D,E,F,G> signal, QMetaObject.Slot7<A,B,C,D,E,F,G> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.G
- The type of the seventh parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static boolean disconnect(QMetaObject.AbstractPrivateSignal8<?,?,?,?,?,?,?,?> signal, QMetaObject.Slot0 slot)Removes the connection between the given signal and slot.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A> boolean disconnect(QMetaObject.AbstractPrivateSignal8<A,?,?,?,?,?,?,?> signal, QMetaObject.Slot1<A> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B> boolean disconnect(QMetaObject.AbstractPrivateSignal8<A,B,?,?,?,?,?,?> signal, QMetaObject.Slot2<A,B> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C> boolean disconnect(QMetaObject.AbstractPrivateSignal8<A,B,C,?,?,?,?,?> signal, QMetaObject.Slot3<A,B,C> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C, D> boolean disconnect(QMetaObject.AbstractPrivateSignal8<A,B,C,D,?,?,?,?> signal, QMetaObject.Slot4<A,B,C,D> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C, D, E> boolean disconnect(QMetaObject.AbstractPrivateSignal8<A,B,C,D,E,?,?,?> signal, QMetaObject.Slot5<A,B,C,D,E> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C, D, E, F> boolean disconnect(QMetaObject.AbstractPrivateSignal8<A,B,C,D,E,F,?,?> signal, QMetaObject.Slot6<A,B,C,D,E,F> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C, D, E, F, G> boolean disconnect(QMetaObject.AbstractPrivateSignal8<A,B,C,D,E,F,G,?> signal, QMetaObject.Slot7<A,B,C,D,E,F,G> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.G
- The type of the seventh parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C, D, E, F, G, H> boolean disconnect(QMetaObject.AbstractPrivateSignal8<A,B,C,D,E,F,G,H> signal, QMetaObject.Slot8<A,B,C,D,E,F,G,H> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.G
- The type of the seventh parameter of the signal.H
- The type of the eighth parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static boolean disconnect(QMetaObject.AbstractPrivateSignal9<?,?,?,?,?,?,?,?,?> signal, QMetaObject.Slot0 slot)Removes the connection between the given signal and slot.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A> boolean disconnect(QMetaObject.AbstractPrivateSignal9<A,?,?,?,?,?,?,?,?> signal, QMetaObject.Slot1<A> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B> boolean disconnect(QMetaObject.AbstractPrivateSignal9<A,B,?,?,?,?,?,?,?> signal, QMetaObject.Slot2<A,B> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C> boolean disconnect(QMetaObject.AbstractPrivateSignal9<A,B,C,?,?,?,?,?,?> signal, QMetaObject.Slot3<A,B,C> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C, D> boolean disconnect(QMetaObject.AbstractPrivateSignal9<A,B,C,D,?,?,?,?,?> signal, QMetaObject.Slot4<A,B,C,D> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C, D, E> boolean disconnect(QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,?,?,?,?> signal, QMetaObject.Slot5<A,B,C,D,E> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C, D, E, F> boolean disconnect(QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,F,?,?,?> signal, QMetaObject.Slot6<A,B,C,D,E,F> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C, D, E, F, G> boolean disconnect(QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,F,G,?,?> signal, QMetaObject.Slot7<A,B,C,D,E,F,G> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.G
- The type of the seventh parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C, D, E, F, G, H> boolean disconnect(QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,F,G,H,?> signal, QMetaObject.Slot8<A,B,C,D,E,F,G,H> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.G
- The type of the seventh parameter of the signal.H
- The type of the eighth parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public static <A, B, C, D, E, F, G, H, I> boolean disconnect(QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,F,G,H,I> signal, QMetaObject.Slot9<A,B,C,D,E,F,G,H,I> slot)Removes the connection between the given signal and slot.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.G
- The type of the seventh parameter of the signal.H
- The type of the eighth parameter of the signal.I
- The type of the ninth parameter of the signal.- Parameters:
signal
- the signal to be disconnectedslot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
connect
public static QMetaObject.Connection connect(QObject sender, String signal, QObject receiver, String slot, Qt.ConnectionType... 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.
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
QNoSuchSignalException
/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
QMetaType#registerMetaType(Class)
to register the data type before you establish the connection.- See Also:
disconnect()
,sender()
,QMetaType#registerMetaType(Class)
-
connect
public static QMetaObject.Connection connect(QObject sender, QMetaMethod signal, QObject receiver, QMetaMethod slot, Qt.ConnectionType... connectionType)Creates a connection of the given
type
from thesignal
in thesender
object to themethod
in thereceiver
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
connect(QObject, String, QObject, String, io.qt.core.Qt.ConnectionType...)
but it uses QMetaMethod to specify signal and method. -
disconnect
Disconnects signal in object sender from method in object receiver. Returns
true
if the connection is successfully broken; otherwise returnsfalse
.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.
- Disconnect everything connected to an object's signals:
equivalent to the non-static overloaded functiondisconnect(myObject, null, null, null);
myObject.disconnect();
- Disconnect everything connected to a specific signal:
equivalent to the non-static overloaded functiondisconnect(myObject, "mySignal()", null, null);
myObject.mySignal.disconnect();
- Disconnect a specific receiver:
equivalent to the non-static overloaded functiondisconnect(myObject, null, myReceiver, null);
myObject.disconnect(myReceiver);
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.
- Returns:
true
if successfully disconnected, orfalse
otherwise.
- Disconnect everything connected to an object's signals:
-
disconnect
public static boolean disconnect(QObject sender, QMetaMethod signal, QObject receiver, QMetaMethod slot)Disconnects signal in object sender from method in object receiver receiver. Returns
true
if the connection is successfully broken; otherwise returnsfalse
.This function provides the same possibilities like
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:
- signal is not a member of sender class or one of its parent classes.
- method is not a member of receiver class or one of its parent classes.
- signal instance represents not a signal.
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 benull
. sender parameter should be never 0.- Returns:
true
if successfully disconnected, orfalse
otherwise.- See Also:
disconnect(QObject, String, QObject, String)
-
disconnect
Disconnect a connection.
If the connection is invalid or has already been disconnected, do nothing and return false.
- Parameters:
connection
- the connection- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
public final boolean disconnect()Disconnect all connections originating in this object.- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
Disconnect all connections made from this signal emitter to a specific object.- Parameters:
receiver
- The receiver to disconnect, or null to disconnect all receivers- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
metaObject
Returns a pointer to the meta-object of this object.- Returns:
- the object's meta-object
-
qt_metacast
Casts an object to the given targetType. Returns null if object is not instance of targetType.- Type Parameters:
T
- type- Parameters:
targetType
-- Returns:
- the object as targetType or null
-
inherits
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.- Parameters:
targetType
-- Returns:
true
if object instance of targetType
-
receivers
- See Also:
receivers(String)
-
toString
-