[Interest] Qt signal when system is awakened

Tony Rietwyk tony at rightsoft.com.au
Wed Jul 24 07:16:24 CEST 2013


Hi Everybody, 

My application connects to cloud servers and obtains a session id used in
subsequent interactions.  Some clients are using the app on laptops.   They
rarely shutdown their system, and just close the lid, which puts the OS
(Windows or OSX) to sleep.   Hours or days later, they open the lid and see
my app still running.  They perform some actions, then get an error when the
app tries to continue the session with the cloud server.   I have
temporarily increased the timeouts in the cloud service, but that is not
very satisfactory.  

Is there a Qt signal when the system state changes to or from sleep or
hibernate?  

How have others handled this situation?  

Thanks! 

Tony





More information about the Interest mailing list