Sure.
Did you try it ?
In Qt, you have a signal/slot system.
Signals have to be executed using emit
, but slots are ordinary functions (declared as slots) that can be executed automatically after a signal is emitted, when they are connected with the connect
function.