add an example showing usage and benefits of QOnEvent
Merge pull request #53 from demike/feature-QOnEvent

add an example showing usage and benefits of QOnEvent

Tested it in action.
Changing to addslashes
adding slashes