java.lang.Object
io.qt.core.QMetaObject.AbstractSignal
io.qt.core.QMetaObject.DisposedSignal
- All Implemented Interfaces:
QMetaObject.Signal
- Enclosing class:
QMetaObject
Signal emitted when a
QtObjectInterface is being disposed.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfinal QMetaObject.Connectionconnect(QMetaObject.Slot0 slot, Qt.ConnectionType ... connectionType) Initializes a connection to the slot.final booleandisconnect(QMetaObject.Slot0 slot) Removes the connection to the given slot.Methods inherited from class io.qt.core.QMetaObject.AbstractSignal
connect, disconnect, disconnect, disconnect, disconnectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.qt.core.QMetaObject.Signal
argumentTypes, containingObject, fullName, methodIndex, name
-
Method Details
-
connect
public final QMetaObject.Connection connect(QMetaObject.Slot0 slot, Qt.ConnectionType ... connectionType) Initializes a connection to the slot.- Parameters:
slot- the slot to be connectedconnectionType- type of connection- Returns:
- connection if successful or
nullotherwise - Throws:
QMisfittingSignatureException- Raised if their signatures are incompatible.
-
disconnect
Removes the connection to the given slot.- Parameters:
slot- the slot to be disconnected- Returns:
trueif successfully disconnected, orfalseotherwise.
-