[maemo-developers] How to be notified when the application is minimized using Qt

From: Francesco Balestrieri bale at balenet.com
Date: Fri Aug 27 00:51:39 EEST 2010
Hello,

I would like my application to react whenever the user "minimizes" it, i.e. presses the home button, and when he/she brings it back to the foreground. What is the best way to do it using Qt? I have tried to reimplement "changeEvent", but the only event triggered in this case seems to be an activation event, which is also triggered in many other cases whenever the main window loses focus.

Thanks in advance,

Francesco
More information about the maemo-developers mailing list