Module qtjambi.sql
Package io.qt.sql

Class QSqlDriver.MultiSignal_notification

java.lang.Object
io.qt.core.QObject.MultiSignal
io.qt.sql.QSqlDriver.MultiSignal_notification
Enclosing class:
QSqlDriver

public final class QSqlDriver.MultiSignal_notification extends io.qt.core.QObject.MultiSignal

Wrapper class for overloaded signals:

  • notification(const QString & name)
  • notification(const QString & name, QSqlDriver::NotificationSource source, const QVariant & payload)
  • Method Summary

    Modifier and Type
    Method
    Description
    final <A> io.qt.core.QMetaObject.Connection
    connect(io.qt.core.QMetaObject.AbstractPublicSignal1<A> signal, io.qt.core.Qt.ConnectionType ... connectionType)
    Creates a connection from this signal to another.
    final <A, B, C> io.qt.core.QMetaObject.Connection
    connect(io.qt.core.QMetaObject.AbstractPublicSignal3<A,B,C> signal, io.qt.core.Qt.ConnectionType ... connectionType)
    Creates a connection from this signal to another.
    final <A> io.qt.core.QMetaObject.Connection
    connect(io.qt.core.QMetaObject.Connectable1<A> signal, io.qt.core.Qt.ConnectionType ... connectionType)
    Creates a connection from this signal to another.
    final <A, B, C> io.qt.core.QMetaObject.Connection
    connect(io.qt.core.QMetaObject.Connectable3<A,B,C> signal, io.qt.core.Qt.ConnectionType ... connectionType)
    Creates a connection from this signal to another.
    final <A> io.qt.core.QMetaObject.Connection
    connect(io.qt.core.QMetaObject.Slot1<A> slot, io.qt.core.Qt.ConnectionType ... connectionType)
    Initializes a connection to the slot.
    final <A, B, C> io.qt.core.QMetaObject.Connection
    connect(io.qt.core.QMetaObject.Slot3<A,B,C> slot, io.qt.core.Qt.ConnectionType ... connectionType)
    Initializes a connection to the slot.
    final <A, B> io.qt.core.QMetaObject.Connection
    connect(io.qt.core.QMetaObject.AbstractPublicSignal2<A,B> signal, io.qt.core.Qt.ConnectionType ... connectionType)
    Creates a connection from this signal to another.
    final <A, B> io.qt.core.QMetaObject.Connection
    connect(io.qt.core.QMetaObject.Slot2<A,B> slot, io.qt.core.Qt.ConnectionType ... connectionType)
    Initializes a connection to the slot.
    final <A> boolean
    disconnect(io.qt.core.QMetaObject.AbstractPublicSignal1<A> signal)
    Disconnects a signal from another signal if the two were previously connected by a call to connect.
    final <A, B, C> boolean
    disconnect(io.qt.core.QMetaObject.AbstractPublicSignal3<A,B,C> signal)
    Disconnects a signal from another signal if the two were previously connected by a call to connect.
    final <A> boolean
    disconnect(io.qt.core.QMetaObject.Connectable1<A> signal)
    Disconnects a signal from another signal if the two were previously connected by a call to connect.
    final <A, B, C> boolean
    disconnect(io.qt.core.QMetaObject.Connectable3<A,B,C> signal)
    Disconnects a signal from another signal if the two were previously connected by a call to connect.
    final <A> boolean
    disconnect(io.qt.core.QMetaObject.Slot1<A> slot)
    Removes the connection to the given slot.
    final <A, B, C> boolean
    disconnect(io.qt.core.QMetaObject.Slot3<A,B,C> slot)
    Removes the connection to the given slot.
    final <A, B> boolean
    disconnect(io.qt.core.QMetaObject.AbstractPublicSignal2<A,B> signal)
    Disconnects a signal from another signal if the two were previously connected by a call to connect.
    final <A, B> boolean
    disconnect(io.qt.core.QMetaObject.Slot2<A,B> slot)
    Removes the connection to the given slot.
    final void
    emit(String name)
    Deprecated.
    Use the 3-args version of notification() instead.
    final void
    final <A> io.qt.core.QObject.Signal1<A>
    overload(Class<A> type1)
    Provides an overloaded signal by parameter type.
    final <A, B, C> io.qt.core.QObject.Signal3<A,B,C>
    overload(Class<A> type1, Class<B> type2, Class<C> type3)
    Provides an overloaded signal by parameter types.

    Methods inherited from class io.qt.core.QObject.MultiSignal

    connect, connect, connect, connect, containingObject, disconnect, disconnect, disconnect, disconnect, disconnect, disconnectAll

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • overload

      @QtAllowedTypeSet(java.lang.String.class) public final <A> io.qt.core.QObject.Signal1<A> overload(Class<A> type1) throws io.qt.QNoSuchSignalException

      Provides an overloaded signal by parameter type.

      The only valid call is notification.overload(java.lang.String.class)

      QNoSuchSignalException is thrown otherwise.

      Type Parameters:
      A - signal parameter type
      Parameters:
      type1 - value of type A
      Returns:
      overloaded signal
      Throws:
      io.qt.QNoSuchSignalException - if signal is not available
    • connect

      public final <A> io.qt.core.QMetaObject.Connection connect(io.qt.core.QMetaObject.Slot1<A> slot, io.qt.core.Qt.ConnectionType ... connectionType) throws io.qt.QNoSuchSignalException
      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:
      io.qt.QMisfittingSignatureException - Raised if their signatures are incompatible.
      io.qt.QUninvokableSlotException - Raised if slot is annotated @QtUninvokable.
      io.qt.QNoSuchSignalException
    • disconnect

      public final <A> boolean disconnect(io.qt.core.QMetaObject.Slot1<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 <A> io.qt.core.QMetaObject.Connection connect(io.qt.core.QMetaObject.Connectable1<A> signal, io.qt.core.Qt.ConnectionType ... connectionType) throws io.qt.QNoSuchSignalException
      Creates a connection from this signal to another. Whenever this signal is emitted, it will cause the second signal to be emitted as well.
      Parameters:
      signal - The second signal. This will be emitted whenever this signal is emitted.
      connectionType - One of the connection types defined in the Qt interface.
      Returns:
      connection if successful or null otherwise
      Throws:
      io.qt.QMisfittingSignatureException - Raised if their signatures are incompatible.
      io.qt.QNoSuchSignalException
    • disconnect

      public final <A> boolean disconnect(io.qt.core.QMetaObject.Connectable1<A> signal)
      Disconnects a signal from another signal if the two were previously connected by a call to connect. A call to this function will assure that the emission of the first signal will not cause the emission of the second.
      Parameters:
      signal - The second signal.
      Returns:
      true if the two signals were successfully disconnected, or false otherwise.
    • connect

      public final <A> io.qt.core.QMetaObject.Connection connect(io.qt.core.QMetaObject.AbstractPublicSignal1<A> signal, io.qt.core.Qt.ConnectionType ... connectionType) throws io.qt.QNoSuchSignalException
      Creates a connection from this signal to another. Whenever this signal is emitted, it will cause the second signal to be emitted as well.
      Parameters:
      signal - The second signal. This will be emitted whenever this signal is emitted.
      connectionType - One of the connection types defined in the Qt interface.
      Returns:
      connection if successful or null otherwise
      Throws:
      io.qt.QMisfittingSignatureException - Raised if their signatures are incompatible.
      io.qt.QNoSuchSignalException
    • disconnect

      public final <A> boolean disconnect(io.qt.core.QMetaObject.AbstractPublicSignal1<A> signal)
      Disconnects a signal from another signal if the two were previously connected by a call to connect. A call to this function will assure that the emission of the first signal will not cause the emission of the second.
      Parameters:
      signal - The second signal.
      Returns:
      true if the two signals were successfully disconnected, or false otherwise.
    • overload

      @QtAllowedTypeSet({java.lang.String.class,NotificationSource.class,java.lang.Object.class}) public final <A, B, C> io.qt.core.QObject.Signal3<A,B,C> overload(Class<A> type1, Class<B> type2, Class<C> type3) throws io.qt.QNoSuchSignalException

      Provides an overloaded signal by parameter types.

      The only valid call is notification.overload(java.lang.String.class, io.qt.sql.QSqlDriver.NotificationSource.class, java.lang.Object.class)

      QNoSuchSignalException is thrown otherwise.

      Type Parameters:
      A - signal parameter type
      B - signal parameter type
      C - signal parameter type
      Parameters:
      type1 - value of type A
      type2 - value of type B
      type3 - value of type C
      Returns:
      overloaded signal
      Throws:
      io.qt.QNoSuchSignalException - if signal is not available
    • connect

      public final <A, B, C> io.qt.core.QMetaObject.Connection connect(io.qt.core.QMetaObject.Slot3<A,B,C> slot, io.qt.core.Qt.ConnectionType ... connectionType) throws io.qt.QNoSuchSignalException
      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:
      io.qt.QMisfittingSignatureException - Raised if their signatures are incompatible.
      io.qt.QUninvokableSlotException - Raised if slot is annotated @QtUninvokable.
      io.qt.QNoSuchSignalException
    • disconnect

      public final <A, B, C> boolean disconnect(io.qt.core.QMetaObject.Slot3<A,B,C> 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 <A, B, C> io.qt.core.QMetaObject.Connection connect(io.qt.core.QMetaObject.Connectable3<A,B,C> signal, io.qt.core.Qt.ConnectionType ... connectionType) throws io.qt.QNoSuchSignalException
      Creates a connection from this signal to another. Whenever this signal is emitted, it will cause the second signal to be emitted as well.
      Parameters:
      signal - The second signal. This will be emitted whenever this signal is emitted.
      connectionType - One of the connection types defined in the Qt interface.
      Returns:
      connection if successful or null otherwise
      Throws:
      io.qt.QMisfittingSignatureException - Raised if their signatures are incompatible.
      io.qt.QNoSuchSignalException
    • disconnect

      public final <A, B, C> boolean disconnect(io.qt.core.QMetaObject.Connectable3<A,B,C> signal)
      Disconnects a signal from another signal if the two were previously connected by a call to connect. A call to this function will assure that the emission of the first signal will not cause the emission of the second.
      Parameters:
      signal - The second signal.
      Returns:
      true if the two signals were successfully disconnected, or false otherwise.
    • connect

      public final <A, B, C> io.qt.core.QMetaObject.Connection connect(io.qt.core.QMetaObject.AbstractPublicSignal3<A,B,C> signal, io.qt.core.Qt.ConnectionType ... connectionType) throws io.qt.QNoSuchSignalException
      Creates a connection from this signal to another. Whenever this signal is emitted, it will cause the second signal to be emitted as well.
      Parameters:
      signal - The second signal. This will be emitted whenever this signal is emitted.
      connectionType - One of the connection types defined in the Qt interface.
      Returns:
      connection if successful or null otherwise
      Throws:
      io.qt.QMisfittingSignatureException - Raised if their signatures are incompatible.
      io.qt.QNoSuchSignalException
    • disconnect

      public final <A, B, C> boolean disconnect(io.qt.core.QMetaObject.AbstractPublicSignal3<A,B,C> signal)
      Disconnects a signal from another signal if the two were previously connected by a call to connect. A call to this function will assure that the emission of the first signal will not cause the emission of the second.
      Parameters:
      signal - The second signal.
      Returns:
      true if the two signals were successfully disconnected, or false otherwise.
    • connect

      public final <A, B> io.qt.core.QMetaObject.Connection connect(io.qt.core.QMetaObject.Slot2<A,B> slot, io.qt.core.Qt.ConnectionType ... connectionType) throws io.qt.QNoSuchSignalException
      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:
      io.qt.QMisfittingSignatureException - Raised if their signatures are incompatible.
      io.qt.QUninvokableSlotException - Raised if slot is annotated @QtUninvokable.
      io.qt.QNoSuchSignalException
    • disconnect

      public final <A, B> boolean disconnect(io.qt.core.QMetaObject.Slot2<A,B> 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 <A, B> io.qt.core.QMetaObject.Connection connect(io.qt.core.QMetaObject.AbstractPublicSignal2<A,B> signal, io.qt.core.Qt.ConnectionType ... connectionType) throws io.qt.QNoSuchSignalException
      Creates a connection from this signal to another. Whenever this signal is emitted, it will cause the second signal to be emitted as well.
      Parameters:
      signal - The second signal. This will be emitted whenever this signal is emitted.
      connectionType - One of the connection types defined in the Qt interface.
      Returns:
      connection if successful or null otherwise
      Throws:
      io.qt.QMisfittingSignatureException - Raised if their signatures are incompatible.
      io.qt.QNoSuchSignalException
    • disconnect

      public final <A, B> boolean disconnect(io.qt.core.QMetaObject.AbstractPublicSignal2<A,B> signal)
      Disconnects a signal from another signal if the two were previously connected by a call to connect. A call to this function will assure that the emission of the first signal will not cause the emission of the second.
      Parameters:
      signal - The second signal.
      Returns:
      true if the two signals were successfully disconnected, or false otherwise.
    • emit

      @Deprecated public final void emit(String name)
      Deprecated.
      Use the 3-args version of notification() instead.
    • emit

      public final void emit(String name, QSqlDriver.NotificationSource source, Object payload)