Modify events in Quickmamba to be able to manage them in QML

The first thing to do is to emit the event