Module qtjambi
Package io.qt.core

Class QMetaObject.DisposedSignal

All Implemented Interfaces:
QMetaObject.Signal
Enclosing class:
QMetaObject

public static final class QMetaObject.DisposedSignal extends QMetaObject.AbstractSignal
Signal emitted when a QtObjectInterface is being disposed.
See Also:
  • Method Details

    • checkConnection

      protected final void checkConnection(Object receiver, boolean slotObject)
      Internal
    • connect

      public final QMetaObject.Connection connect(QMetaObject.Slot0 slot, Qt.ConnectionType... connectionType)
      Initializes a connection to the slot.
      Parameters:
      slot - the slot to be connected
      connectionType - 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 final boolean disconnect(QMetaObject.Slot0 slot)
      Removes the connection to the given slot.
      Parameters:
      slot - the slot to be disconnected
      Returns:
      true if successfully disconnected, or false otherwise.