Module qtjambi
Package io.qt.core

Class QMetaObject.AbstractPrivateSignal0

All Implemented Interfaces:
QMetaObject.Signal
Direct Known Subclasses:
QInstanceMemberSignals.PrivateSignal0, QMetaObject.AbstractPublicSignal0, QObject.PrivateSignal0, QStaticMemberSignals.PrivateSignal0
Enclosing class:
QMetaObject

public abstract static class QMetaObject.AbstractPrivateSignal0 extends QMetaObject.AbstractSignal
Supertype for parameterless signals.
  • Method Details

    • connect

      public final QMetaObject.Connection connect(QMetaObject.Slot0 slot, Qt.ConnectionType... type)
      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.
    • connect

      public final QMetaObject.Connection connect(QMetaObject.Connectable0 signal, Qt.ConnectionType... type)
      Initializes a connection to the signal.
      Parameters:
      signal - the signal to be connected
      connectionType - type of connection
      Returns:
      connection if successful or null otherwise
      Throws:
      QMisfittingSignatureException - Raised if their signatures are incompatible.
    • disconnect

      public final boolean disconnect(QMetaObject.Connectable0 signal)
      Removes the connection to the given signal.
      Parameters:
      signal - the signal to be disconnected
      Returns:
      true if successfully disconnected, or false otherwise.