Module qtjambi.texttospeech
Package io.qt.texttospeech
Class QTextToSpeech.MultiSignal_volumeChanged
java.lang.Object
io.qt.core.QObject.MultiSignal
io.qt.texttospeech.QTextToSpeech.MultiSignal_volumeChanged
- Enclosing class:
- QTextToSpeech
public final class QTextToSpeech.MultiSignal_volumeChanged
extends io.qt.core.QObject.MultiSignal
Wrapper class for overloaded signals:
volumeChanged(double volume)volumeChanged(int volume)
-
Method Summary
Modifier and TypeMethodDescriptionfinal <A> io.qt.core.QMetaObject.Connectionconnect(io.qt.core.QMetaObject.AbstractPublicSignal1<A> signal, io.qt.core.Qt.ConnectionType... connectionType) Creates a connection from this signal to another.final <A> io.qt.core.QMetaObject.Connectionconnect(io.qt.core.QMetaObject.Connectable1<A> signal, io.qt.core.Qt.ConnectionType... connectionType) Creates a connection from this signal to another.final <A> io.qt.core.QMetaObject.Connectionconnect(io.qt.core.QMetaObject.Slot1<A> slot, io.qt.core.Qt.ConnectionType... connectionType) Initializes a connection to the slot.final <A> booleandisconnect(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> booleandisconnect(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> booleandisconnect(io.qt.core.QMetaObject.Slot1<A> slot) Removes the connection to the given slot.final voidemit(double volume) final voidemit(int volume) final <A> io.qt.core.QObject.Signal1<A>Provides an overloaded signal by parameter type.Methods inherited from class io.qt.core.QObject.MultiSignal
connect, connect, connect, connect, containingObject, disconnect, disconnect, disconnect, disconnect, disconnect, disconnectAll
-
Method Details
-
overload
@QtAllowedTypeSet(double.class) @QtAllowedTypeSet(int.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 calls are:
volumeChanged.overload(double.class)volumeChanged.overload(int.class)
QNoSuchSignalExceptionis 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 connectedconnectionType- type of connection- Returns:
- connection if successful or
nullotherwise - 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:
trueif successfully disconnected, orfalseotherwise.
-
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
nullotherwise - 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:
trueif the two signals were successfully disconnected, orfalseotherwise.
-
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
nullotherwise - 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:
trueif the two signals were successfully disconnected, orfalseotherwise.
-
emit
public final void emit(double volume) -
emit
public final void emit(int volume)
-