signal.c
unslot
Synopsis
Parameters
int sig
- signal number
Returns
int
- SIG_SLOT_OK
if the slot was unregistered successfully. See include/signal.h
for other return values.
Description
Unregister a slot for a signal.
emit
Synopsis
Parameters
int sig
- signal numbermixed... arg
- arguments to pass to the signal
Description
Emit a signal to all objects that have registered a slot for the signal.
slot
Synopsis
Parameters
int sig
- signal numberstring func
- function to call when the signal is emitted
Returns
int
- SIG_SLOT_OK
if the slot was registered successfully. See include/signal.h
for other return values.
Description
Register a slot for a signal.
signal_d
Synopsis
Returns
object
- signal daemon object
Description
Get the signal daemon object.