connect
void
connect
(
src
,
signal
,
listener
)
Connect a listener to a slot.
- Parameters:
-
src <Object>the source of the slot -
signal <String>the name of the slot -
listener <Function>the function to be called when a signal is sent to this slot.
- Returns:
void
signal
void
signal
(
src
,
signal
)
Send an asynchronous signal to a slot.
- Parameters:
-
src <Object>the source of the slot -
signal <String>the name of the slot
- Returns:
void