A cross platform example (for Linux / Windows) developed for Qt 5.2 to manage CTRL+C event (and other signals)