java.lang.Object
io.qt.internal.QtJambiSignals.AbstractSignal
io.qt.core.QMetaObject.AbstractSignal
io.qt.core.QMetaObject.AbstractPrivateSignal2<A,B>
- Type Parameters:
A- The type of the first parameter of the signal.B- The type of the second parameter of the signal.
- Direct Known Subclasses:
QInstanceMemberSignals.PrivateSignal2,QMetaObject.AbstractPublicSignal2,QObject.PrivateSignal2,QStaticMemberSignals.PrivateSignal2
- Enclosing class:
- QMetaObject
public abstract static class QMetaObject.AbstractPrivateSignal2<A,B>
extends QMetaObject.AbstractSignal
Supertype for all signals with two parameters.
-
Method Summary
Modifier and TypeMethodDescriptionfinal QMetaObject.Connectionconnect(QMetaObject.AbstractPublicSignal0 signalOut, Qt.ConnectionType... connectionType) Creates a connection from this signal to another.final QMetaObject.Connectionconnect(QMetaObject.AbstractPublicSignal1<A> signalOut, Qt.ConnectionType... connectionType) Creates a connection from this signal to another.final QMetaObject.Connectionconnect(QMetaObject.AbstractPublicSignal2<A, B> signalOut, Qt.ConnectionType... connectionType) Creates a connection from this signal to another.final QMetaObject.Connectionconnect(QMetaObject.AbstractSignal3Default1<A, B, ?> signalOut, Qt.ConnectionType... connectionType) Creates a connection from this signal to another.final QMetaObject.Connectionconnect(QMetaObject.AbstractSignal4Default2<A, B, ?, ?> signalOut, Qt.ConnectionType... connectionType) Creates a connection from this signal to another.final QMetaObject.Connectionconnect(QMetaObject.AbstractSignal5Default3<A, B, ?, ?, ?> signalOut, Qt.ConnectionType... connectionType) Creates a connection from this signal to another.final QMetaObject.Connectionconnect(QMetaObject.AbstractSignal6Default4<A, B, ?, ?, ?, ?> signalOut, Qt.ConnectionType... connectionType) Creates a connection from this signal to another.final QMetaObject.Connectionconnect(QMetaObject.AbstractSignal7Default5<A, B, ?, ?, ?, ?, ?> signalOut, Qt.ConnectionType... connectionType) Creates a connection from this signal to another.final QMetaObject.Connectionconnect(QMetaObject.AbstractSignal8Default6<A, B, ?, ?, ?, ?, ?, ?> signalOut, Qt.ConnectionType... connectionType) Creates a connection from this signal to another.final QMetaObject.Connectionconnect(QMetaObject.AbstractSignal9Default7<A, B, ?, ?, ?, ?, ?, ?, ?> signalOut, Qt.ConnectionType... connectionType) Creates a connection from this signal to another.final QMetaObject.Connectionconnect(QMetaObject.Slot0 slot, Qt.ConnectionType... type) Initializes a connection to the slot.final QMetaObject.Connectionconnect(QMetaObject.Slot1<? super A> slot, Qt.ConnectionType... type) Initializes a connection to the slot.final QMetaObject.Connectionconnect(QMetaObject.Slot2<? super A, ? super B> slot, Qt.ConnectionType... type) Initializes a connection to the slot.final booleandisconnect(QMetaObject.AbstractPublicSignal0 signalOut) Disconnects a signal from another signal if the two were previously connected by a call to connect.final booleandisconnect(QMetaObject.AbstractPublicSignal1<A> signalOut) Disconnects a signal from another signal if the two were previously connected by a call to connect.final booleandisconnect(QMetaObject.AbstractPublicSignal2<A, B> signalOut) Disconnects a signal from another signal if the two were previously connected by a call to connect.final booleandisconnect(QMetaObject.AbstractSignal3Default1<A, B, ?> signalOut) Disconnects a signal from another signal if the two were previously connected by a call to connect.final booleandisconnect(QMetaObject.AbstractSignal4Default2<A, B, ?, ?> signalOut) Disconnects a signal from another signal if the two were previously connected by a call to connect.final booleandisconnect(QMetaObject.AbstractSignal5Default3<A, B, ?, ?, ?> signalOut) Disconnects a signal from another signal if the two were previously connected by a call to connect.final booleandisconnect(QMetaObject.AbstractSignal6Default4<A, B, ?, ?, ?, ?> signalOut) Disconnects a signal from another signal if the two were previously connected by a call to connect.final booleandisconnect(QMetaObject.AbstractSignal7Default5<A, B, ?, ?, ?, ?, ?> signalOut) Disconnects a signal from another signal if the two were previously connected by a call to connect.final booleandisconnect(QMetaObject.AbstractSignal8Default6<A, B, ?, ?, ?, ?, ?, ?> signalOut) Disconnects a signal from another signal if the two were previously connected by a call to connect.final booleandisconnect(QMetaObject.AbstractSignal9Default7<A, B, ?, ?, ?, ?, ?, ?, ?> signalOut) Disconnects a signal from another signal if the two were previously connected by a call to connect.final booleandisconnect(QMetaObject.Slot0 slot) Removes the connection between the given signal and slot.final booleandisconnect(QMetaObject.Slot1<? super A> slot) Removes the connection between the given signal and slot.final booleandisconnect(QMetaObject.Slot2<? super A, ? super B> slot) Removes the connection between the given signal and slot.Methods inherited from class io.qt.core.QMetaObject.AbstractSignal
connect, disconnect, disconnect, disconnect, disconnectMethods inherited from class io.qt.internal.QtJambiSignals.AbstractSignal
addConnection, addConnection, addConnectionToSlotObject, addConnectionToSlotObject, addConnectionToSlotObject, addConnectionToSlotObject, addConnectionToSlotObject, addConnectionToSlotObject, addConnectionToSlotObject, addConnectionToSlotObject, addConnectionToSlotObject, addConnectionToSlotObject, addConnectionToSlotObject, argumentTypes, checkConnection, containingObject, emitSignal, fullName, methodIndex, name, removeConnection, removeConnection, removeConnectionToSlotObject, toString
-
Method Details
-
connect
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.QUninvokableSlotException- Raised if slot is annotated@QtUninvokable.
-
connect
public final QMetaObject.Connection connect(QMetaObject.Slot1<? super A> slot, Qt.ConnectionType... type) 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.QUninvokableSlotException- Raised if slot is annotated@QtUninvokable.
-
connect
public final QMetaObject.Connection connect(QMetaObject.Slot2<? super A, ? super B> slot, Qt.ConnectionType... type) 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.QUninvokableSlotException- Raised if slot is annotated@QtUninvokable.
-
disconnect
Removes the connection between the given signal and slot.- Parameters:
slot- the slot to be disconnected- Returns:
trueif successfully disconnected, orfalseotherwise.
-
disconnect
Removes the connection between the given signal and slot.- Parameters:
slot- the slot to be disconnected- Returns:
trueif successfully disconnected, orfalseotherwise.
-
disconnect
Removes the connection between the given signal and slot.- Parameters:
slot- the slot to be disconnected- Returns:
trueif successfully disconnected, orfalseotherwise.
-
connect
public final QMetaObject.Connection connect(QMetaObject.AbstractPublicSignal0 signalOut, Qt.ConnectionType... connectionType) 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:
signalOut- 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
nullotherwise - Throws:
QMisfittingSignatureException- Raised if their signatures are incompatible.
-
connect
public final QMetaObject.Connection connect(QMetaObject.AbstractPublicSignal1<A> signalOut, Qt.ConnectionType... connectionType) 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:
signalOut- 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
nullotherwise - Throws:
QMisfittingSignatureException- Raised if their signatures are incompatible.
-
connect
public final QMetaObject.Connection connect(QMetaObject.AbstractPublicSignal2<A, B> signalOut, Qt.ConnectionType... connectionType) 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:
signalOut- 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
nullotherwise - Throws:
QMisfittingSignatureException- Raised if their signatures are incompatible.
-
connect
public final QMetaObject.Connection connect(QMetaObject.AbstractSignal3Default1<A, B, ?> signalOut, Qt.ConnectionType... connectionType) 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:
signalOut- 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
nullotherwise - Throws:
QMisfittingSignatureException- Raised if their signatures are incompatible.
-
connect
public final QMetaObject.Connection connect(QMetaObject.AbstractSignal4Default2<A, B, ?, ?> signalOut, Qt.ConnectionType... connectionType) 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:
signalOut- 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
nullotherwise - Throws:
QMisfittingSignatureException- Raised if their signatures are incompatible.
-
connect
public final QMetaObject.Connection connect(QMetaObject.AbstractSignal5Default3<A, B, ?, ?, ?> signalOut, Qt.ConnectionType... connectionType) 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:
signalOut- 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
nullotherwise - Throws:
QMisfittingSignatureException- Raised if their signatures are incompatible.
-
connect
public final QMetaObject.Connection connect(QMetaObject.AbstractSignal6Default4<A, B, ?, ?, ?, ?> signalOut, Qt.ConnectionType... connectionType) 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:
signalOut- 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
nullotherwise - Throws:
QMisfittingSignatureException- Raised if their signatures are incompatible.
-
connect
public final QMetaObject.Connection connect(QMetaObject.AbstractSignal7Default5<A, B, ?, ?, ?, ?, ?> signalOut, Qt.ConnectionType... connectionType) 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:
signalOut- 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
nullotherwise - Throws:
QMisfittingSignatureException- Raised if their signatures are incompatible.
-
connect
public final QMetaObject.Connection connect(QMetaObject.AbstractSignal8Default6<A, B, ?, ?, ?, ?, ?, ?> signalOut, Qt.ConnectionType... connectionType) 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:
signalOut- 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
nullotherwise - Throws:
QMisfittingSignatureException- Raised if their signatures are incompatible.
-
connect
public final QMetaObject.Connection connect(QMetaObject.AbstractSignal9Default7<A, B, ?, ?, ?, ?, ?, ?, ?> signalOut, Qt.ConnectionType... connectionType) 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:
signalOut- 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
nullotherwise - Throws:
QMisfittingSignatureException- Raised if their signatures are incompatible.
-
disconnect
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:
signalOut- The second signal.- Returns:
trueif the two signals were successfully disconnected, orfalseotherwise.
-
disconnect
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:
signalOut- The second signal.- Returns:
trueif the two signals were successfully disconnected, orfalseotherwise.
-
disconnect
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:
signalOut- The second signal.- Returns:
trueif the two signals were successfully disconnected, orfalseotherwise.
-
disconnect
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:
signalOut- The second signal.- Returns:
trueif the two signals were successfully disconnected, orfalseotherwise.
-
disconnect
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:
signalOut- The second signal.- Returns:
trueif the two signals were successfully disconnected, orfalseotherwise.
-
disconnect
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:
signalOut- The second signal.- Returns:
trueif the two signals were successfully disconnected, orfalseotherwise.
-
disconnect
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:
signalOut- The second signal.- Returns:
trueif the two signals were successfully disconnected, orfalseotherwise.
-
disconnect
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:
signalOut- The second signal.- Returns:
trueif the two signals were successfully disconnected, orfalseotherwise.
-
disconnect
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:
signalOut- The second signal.- Returns:
trueif the two signals were successfully disconnected, orfalseotherwise.
-
disconnect
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:
signalOut- The second signal.- Returns:
trueif the two signals were successfully disconnected, orfalseotherwise.
-