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.Connection
connect
(QMetaObject.AbstractPublicSignal0 signalOut, Qt.ConnectionType... connectionType) Creates a connection from this signal to another.final QMetaObject.Connection
connect
(QMetaObject.AbstractPublicSignal1<A> signalOut, Qt.ConnectionType... connectionType) Creates a connection from this signal to another.final QMetaObject.Connection
connect
(QMetaObject.AbstractPublicSignal2<A, B> signalOut, Qt.ConnectionType... connectionType) Creates a connection from this signal to another.final QMetaObject.Connection
connect
(QMetaObject.AbstractSignal3Default1<A, B, ?> signalOut, Qt.ConnectionType... connectionType) Creates a connection from this signal to another.final QMetaObject.Connection
connect
(QMetaObject.AbstractSignal4Default2<A, B, ?, ?> signalOut, Qt.ConnectionType... connectionType) Creates a connection from this signal to another.final QMetaObject.Connection
connect
(QMetaObject.AbstractSignal5Default3<A, B, ?, ?, ?> signalOut, Qt.ConnectionType... connectionType) Creates a connection from this signal to another.final QMetaObject.Connection
connect
(QMetaObject.AbstractSignal6Default4<A, B, ?, ?, ?, ?> signalOut, Qt.ConnectionType... connectionType) Creates a connection from this signal to another.final QMetaObject.Connection
connect
(QMetaObject.AbstractSignal7Default5<A, B, ?, ?, ?, ?, ?> signalOut, Qt.ConnectionType... connectionType) Creates a connection from this signal to another.final QMetaObject.Connection
connect
(QMetaObject.AbstractSignal8Default6<A, B, ?, ?, ?, ?, ?, ?> signalOut, Qt.ConnectionType... connectionType) Creates a connection from this signal to another.final QMetaObject.Connection
connect
(QMetaObject.AbstractSignal9Default7<A, B, ?, ?, ?, ?, ?, ?, ?> signalOut, Qt.ConnectionType... connectionType) Creates a connection from this signal to another.final QMetaObject.Connection
connect
(QMetaObject.Slot0 slot, Qt.ConnectionType... type) Initializes a connection to the slot.final QMetaObject.Connection
connect
(QMetaObject.Slot1<? super A> slot, Qt.ConnectionType... type) Initializes a connection to the slot.final QMetaObject.Connection
connect
(QMetaObject.Slot2<? super A, ? super B> slot, Qt.ConnectionType... type) Initializes a connection to the slot.final boolean
disconnect
(QMetaObject.AbstractPublicSignal0 signalOut) Disconnects a signal from another signal if the two were previously connected by a call to connect.final boolean
disconnect
(QMetaObject.AbstractPublicSignal1<A> signalOut) Disconnects a signal from another signal if the two were previously connected by a call to connect.final boolean
disconnect
(QMetaObject.AbstractPublicSignal2<A, B> signalOut) Disconnects a signal from another signal if the two were previously connected by a call to connect.final boolean
disconnect
(QMetaObject.AbstractSignal3Default1<A, B, ?> signalOut) Disconnects a signal from another signal if the two were previously connected by a call to connect.final boolean
disconnect
(QMetaObject.AbstractSignal4Default2<A, B, ?, ?> signalOut) Disconnects a signal from another signal if the two were previously connected by a call to connect.final boolean
disconnect
(QMetaObject.AbstractSignal5Default3<A, B, ?, ?, ?> signalOut) Disconnects a signal from another signal if the two were previously connected by a call to connect.final boolean
disconnect
(QMetaObject.AbstractSignal6Default4<A, B, ?, ?, ?, ?> signalOut) Disconnects a signal from another signal if the two were previously connected by a call to connect.final boolean
disconnect
(QMetaObject.AbstractSignal7Default5<A, B, ?, ?, ?, ?, ?> signalOut) Disconnects a signal from another signal if the two were previously connected by a call to connect.final boolean
disconnect
(QMetaObject.AbstractSignal8Default6<A, B, ?, ?, ?, ?, ?, ?> signalOut) Disconnects a signal from another signal if the two were previously connected by a call to connect.final boolean
disconnect
(QMetaObject.AbstractSignal9Default7<A, B, ?, ?, ?, ?, ?, ?, ?> signalOut) Disconnects a signal from another signal if the two were previously connected by a call to connect.final boolean
disconnect
(QMetaObject.Slot0 slot) Removes the connection between the given signal and slot.final boolean
disconnect
(QMetaObject.Slot1<? super A> slot) Removes the connection between the given signal and slot.final boolean
disconnect
(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, disconnect
Methods 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
null
otherwise - 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
null
otherwise - 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
null
otherwise - 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:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
Removes the connection between the given signal and slot.- Parameters:
slot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
disconnect
Removes the connection between the given signal and slot.- Parameters:
slot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
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
null
otherwise - 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
null
otherwise - 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
null
otherwise - 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
null
otherwise - 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
null
otherwise - 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
null
otherwise - 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
null
otherwise - 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
null
otherwise - 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
null
otherwise - 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
null
otherwise - 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:
true
if the two signals were successfully disconnected, orfalse
otherwise.
-
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:
true
if the two signals were successfully disconnected, orfalse
otherwise.
-
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:
true
if the two signals were successfully disconnected, orfalse
otherwise.
-
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:
true
if the two signals were successfully disconnected, orfalse
otherwise.
-
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:
true
if the two signals were successfully disconnected, orfalse
otherwise.
-
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:
true
if the two signals were successfully disconnected, orfalse
otherwise.
-
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:
true
if the two signals were successfully disconnected, orfalse
otherwise.
-
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:
true
if the two signals were successfully disconnected, orfalse
otherwise.
-
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:
true
if the two signals were successfully disconnected, orfalse
otherwise.
-
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:
true
if the two signals were successfully disconnected, orfalse
otherwise.
-