The following pages link to Detecting when a Qt application has been switched to the background and when resumed: