Module qtjambi
Package io.qt.core

Class QMetaObject.AbstractPrivateSignal1<A>

java.lang.Object
io.qt.core.QMetaObject.AbstractSignal
io.qt.core.QMetaObject.AbstractPrivateSignal1<A>
Type Parameters:
A - The type of the first parameter of the signal.
All Implemented Interfaces:
QMetaObject.Signal
Direct Known Subclasses:
QInstanceMemberSignals.PrivateSignal1, QMetaObject.AbstractPublicSignal1, QObject.PrivateSignal1, QStaticMemberSignals.PrivateSignal1
Enclosing class:
QMetaObject

public abstract static class QMetaObject.AbstractPrivateSignal1<A> extends QMetaObject.AbstractSignal
Supertype for all signals with one parameter.
  • 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 connected
      connectionType - type of connection
      Returns:
      connection if successful or null otherwise
      Throws:
      QMisfittingSignatureException - Raised if their signatures are incompatible.
    • connect

      public final QMetaObject.Connection connect(QMetaObject.Slot1<? super A> 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.
    • 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.
    • disconnect

      public final boolean disconnect(QMetaObject.Slot1<? super A> 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 <Receiver> QMetaObject.Connection connect(Receiver receiver, QMetaObject.Slot1<Receiver> slot, Qt.ConnectionType ... connectionType)
      Initializes a connection to the slot of receiver.
      Type Parameters:
      Receiver - The type of the receiver
      Parameters:
      receiver - the target receiver
      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.
    • disconnect

      public final <Receiver> boolean disconnect(Receiver receiver, QMetaObject.Slot1<Receiver> slot)
      Removes the connection to the given slot of receiver.
      Type Parameters:
      Receiver - The type of the receiver
      Parameters:
      receiver - the target receiver
      slot - the slot to be disconnected
      Returns:
      true if successfully disconnected, or false otherwise.
    • connect

      public final <Receiver> QMetaObject.Connection connect(Receiver receiver, QMetaObject.Slot2<Receiver,? super A> slot, Qt.ConnectionType ... connectionType)
      Initializes a connection to the slot of receiver.
      Type Parameters:
      Receiver - The type of the receiver
      Parameters:
      receiver - the target receiver
      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.
    • disconnect

      public final <Receiver> boolean disconnect(Receiver receiver, QMetaObject.Slot2<Receiver,? super A> slot)
      Removes the connection to the given slot of receiver.
      Type Parameters:
      Receiver - The type of the receiver
      Parameters:
      receiver - the target receiver
      slot - the slot to be disconnected
      Returns:
      true if successfully disconnected, or false otherwise.
    • connect

      public final QMetaObject.Connection connect(QMetaObject.Connectable1<? super A> signal, Qt.ConnectionType ... connectionType)
      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.Connectable1<? super A> signal)
      Removes the connection to the given signal.
      Parameters:
      signal - the signal to be disconnected
      Returns:
      true if successfully disconnected, or false otherwise.