java.lang.Object
io.qt.internal.QtJambiSignals.MultiSignal
io.qt.core.QObject.MultiSignal
io.qt.core.QSignalMapper.MultiSignal_mapped
- Enclosing class:
- QSignalMapper
public final class QSignalMapper.MultiSignal_mapped extends QObject.MultiSignal
Wrapper class for overloaded signals:
mapped(QObject * arg__1)
mapped(QWidget * arg__1)
mapped(const QString & arg__1)
mapped(int arg__1)
-
Method Summary
Modifier and Type Method Description void
emit(int arg__1)
Deprecated.Use QSignalMapper::mappedInt(int) insteadvoid
emit(QObject arg__1)
Deprecated.Use QSignalMapper::mappedObject(QObject *) insteadvoid
emit(QWidget arg__1)
Deprecated.Use QSignalMapper::mappedWidget(QWidget *) insteadvoid
emit(String arg__1)
Deprecated.Use QSignalMapper::mappedString(const QString&) instead<A> QObject.Signal1<A>
overload(Class<A> type1)
Provides an overloaded signal by parameter type.Methods inherited from class io.qt.core.QObject.MultiSignal
containingObject, disconnect, disconnectAll
-
Method Details
-
overload
@QtAllowedTypeSet(QObject.class) @QtAllowedTypeSet(QWidget.class) @QtAllowedTypeSet(java.lang.String.class) @QtAllowedTypeSet(int.class) public final <A> QObject.Signal1<A> overload(Class<A> type1) throws QNoSuchSignalExceptionProvides an overloaded signal by parameter type.
The only valid calls are:
mapped.overload(io.qt.core.QObject.class)
mapped.overload(io.qt.widgets.QWidget.class)
mapped.overload(java.lang.String.class)
mapped.overload(int.class)
QNoSuchSignalException
is thrown otherwise.- Overrides:
overload
in classQtJambiSignals.MultiSignal
- Type Parameters:
A
- signal parameter type- Parameters:
type1
- value of type A- Returns:
- overloaded signal
- Throws:
QNoSuchSignalException
- if signal is not available
-
emit
Deprecated.Use QSignalMapper::mappedObject(QObject *) instead -
emit
Deprecated.Use QSignalMapper::mappedWidget(QWidget *) instead -
emit
Deprecated.Use QSignalMapper::mappedString(const QString&) instead -
emit
Deprecated.Use QSignalMapper::mappedInt(int) instead
-