I want to be informed when my application is killed and to be able to deal with it.
I don't want to reimplement QWidget::closeEvent()
or respond to the signal
QCoreApplication::aboutToQuit()
, I'm more interested in knowing when my app is terminated externally and to be informed so I can stop it.