java.lang.Object
io.qt.core.QObject.MultiSignal
io.qt.activex.QAxScript.MultiSignal_finished
- Enclosing class:
QAxScript
Wrapper class for overloaded signals:
finished()
finished(const QVariant & result)
finished(int code, const QString & source, const QString & description, const QString & help)
-
Method Summary
Modifier and TypeMethodDescriptionfinal <A> QMetaObject.Connection
connect
(QMetaObject.AbstractPublicSignal1<A> signal, Qt.ConnectionType ... connectionType) Creates a connection from this signal to another.final <A,
B, C, D>
QMetaObject.Connectionconnect
(QMetaObject.AbstractPublicSignal4<A, B, C, D> signal, Qt.ConnectionType ... connectionType) Creates a connection from this signal to another.final <A> QMetaObject.Connection
connect
(QMetaObject.Connectable1<A> signal, Qt.ConnectionType ... connectionType) Creates a connection from this signal to another.final <A,
B, C, D>
QMetaObject.Connectionconnect
(QMetaObject.Connectable4<A, B, C, D> signal, Qt.ConnectionType ... connectionType) Creates a connection from this signal to another.final <A> QMetaObject.Connection
connect
(QMetaObject.Slot1<A> slot, Qt.ConnectionType ... connectionType) Initializes a connection to the slot.final <A,
B, C, D>
QMetaObject.Connectionconnect
(QMetaObject.Slot4<A, B, C, D> slot, Qt.ConnectionType ... connectionType) Initializes a connection to the slot.final <A,
B> QMetaObject.Connection connect
(QMetaObject.AbstractPublicSignal2<A, B> signal, Qt.ConnectionType ... connectionType) Creates a connection from this signal to another.final <A,
B, C> QMetaObject.Connection connect
(QMetaObject.AbstractPublicSignal3<A, B, C> signal, Qt.ConnectionType ... connectionType) Creates a connection from this signal to another.final <A,
B> QMetaObject.Connection connect
(QMetaObject.Slot2<A, B> slot, Qt.ConnectionType ... connectionType) Initializes a connection to the slot.final <A,
B, C> QMetaObject.Connection connect
(QMetaObject.Slot3<A, B, C> slot, Qt.ConnectionType ... connectionType) Initializes a connection to the slot.final <A> boolean
disconnect
(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, D>
booleandisconnect
(QMetaObject.AbstractPublicSignal4<A, B, C, D> signal) Disconnects a signal from another signal if the two were previously connected by a call to connect.final <A> boolean
disconnect
(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, D>
booleandisconnect
(QMetaObject.Connectable4<A, B, C, D> signal) Disconnects a signal from another signal if the two were previously connected by a call to connect.final <A> boolean
disconnect
(QMetaObject.Slot1<A> slot) Removes the connection to the given slot.final <A,
B, C, D>
booleandisconnect
(QMetaObject.Slot4<A, B, C, D> slot) Removes the connection to the given slot.final <A,
B> boolean disconnect
(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, C> boolean disconnect
(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,
B> boolean disconnect
(QMetaObject.Slot2<A, B> slot) Removes the connection to the given slot.final <A,
B, C> boolean disconnect
(QMetaObject.Slot3<A, B, C> slot) Removes the connection to the given slot.final void
emit()
final void
final void
final QObject.Signal0
overload()
Provides an overloaded parameterless signal.final <A> QObject.Signal1<A>
Provides an overloaded signal by parameter type.final <A,
B, C, D>
QObject.Signal4<A,B, C, D> 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
-
Method Details
-
overload
Provides an overloaded parameterless signal.
- Returns:
- overloaded signal
- Throws:
QNoSuchSignalException
-
overload
@QtAllowedTypeSet(java.lang.Object.class) public final <A> QObject.Signal1<A> overload(Class<A> type1) throws QNoSuchSignalException Provides an overloaded signal by parameter type.
The only valid call is
finished.overload(java.lang.Object.class)
QNoSuchSignalException
is thrown otherwise.- Type Parameters:
A
- signal parameter type- Parameters:
type1
- value of type A- Returns:
- overloaded signal
- Throws:
QNoSuchSignalException
- if signal is not available
-
connect
public final <A> QMetaObject.Connection connect(QMetaObject.Slot1<A> slot, Qt.ConnectionType ... connectionType) throws QNoSuchSignalException 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.QNoSuchSignalException
-
disconnect
Removes the connection to the given slot.- Parameters:
slot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
connect
public final <A> QMetaObject.Connection connect(QMetaObject.Connectable1<A> signal, Qt.ConnectionType ... connectionType) throws 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:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QNoSuchSignalException
-
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:
signal
- The second signal.- Returns:
true
if the two signals were successfully disconnected, orfalse
otherwise.
-
connect
public final <A> QMetaObject.Connection connect(QMetaObject.AbstractPublicSignal1<A> signal, Qt.ConnectionType ... connectionType) throws 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:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QNoSuchSignalException
-
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:
signal
- The second signal.- Returns:
true
if the two signals were successfully disconnected, orfalse
otherwise.
-
overload
@QtAllowedTypeSet({int.class,java.lang.String.class,java.lang.String.class,java.lang.String.class}) public final <A,B, QObject.Signal4<A,C, D> B, overloadC, D> (Class<A> type1, Class<B> type2, Class<C> type3, Class<D> type4) throws QNoSuchSignalException Provides an overloaded signal by parameter types.
The only valid call is
finished.overload(int.class, java.lang.String.class, java.lang.String.class, java.lang.String.class)
QNoSuchSignalException
is thrown otherwise.- Type Parameters:
A
- signal parameter typeB
- signal parameter typeC
- signal parameter typeD
- signal parameter type- Parameters:
type1
- value of type Atype2
- value of type Btype3
- value of type Ctype4
- value of type D- Returns:
- overloaded signal
- Throws:
QNoSuchSignalException
- if signal is not available
-
connect
public final <A,B, QMetaObject.Connection connectC, D> (QMetaObject.Slot4<A, B, throws QNoSuchSignalExceptionC, D> slot, Qt.ConnectionType ... connectionType) 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.QNoSuchSignalException
-
disconnect
Removes the connection to the given slot.- Parameters:
slot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
connect
public final <A,B, QMetaObject.Connection connectC, D> (QMetaObject.Connectable4<A, B, throws QNoSuchSignalExceptionC, D> signal, 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:
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:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QNoSuchSignalException
-
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:
signal
- The second signal.- Returns:
true
if the two signals were successfully disconnected, orfalse
otherwise.
-
connect
public final <A,B, QMetaObject.Connection connectC, D> (QMetaObject.AbstractPublicSignal4<A, B, throws QNoSuchSignalExceptionC, D> signal, 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:
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:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QNoSuchSignalException
-
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:
signal
- The second signal.- Returns:
true
if the two signals were successfully disconnected, orfalse
otherwise.
-
connect
public final <A,B, QMetaObject.Connection connectC> (QMetaObject.Slot3<A, B, throws QNoSuchSignalExceptionC> slot, Qt.ConnectionType ... connectionType) 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.QNoSuchSignalException
-
disconnect
Removes the connection to the given slot.- Parameters:
slot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
connect
public final <A,B, QMetaObject.Connection connectC> (QMetaObject.AbstractPublicSignal3<A, B, throws QNoSuchSignalExceptionC> signal, 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:
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:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QNoSuchSignalException
-
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:
signal
- The second signal.- Returns:
true
if the two signals were successfully disconnected, orfalse
otherwise.
-
connect
public final <A,B> QMetaObject.Connection connect(QMetaObject.Slot2<A, B> slot, Qt.ConnectionType ... connectionType) throws QNoSuchSignalExceptionInitializes 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.QNoSuchSignalException
-
disconnect
Removes the connection to the given slot.- Parameters:
slot
- the slot to be disconnected- Returns:
true
if successfully disconnected, orfalse
otherwise.
-
connect
public final <A,B> QMetaObject.Connection connect(QMetaObject.AbstractPublicSignal2<A, B> signal, Qt.ConnectionType ... connectionType) throws QNoSuchSignalExceptionCreates 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:
QMisfittingSignatureException
- Raised if their signatures are incompatible.QNoSuchSignalException
-
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:
signal
- The second signal.- Returns:
true
if the two signals were successfully disconnected, orfalse
otherwise.
-
emit
public final void emit() -
emit
-
emit
-