[Kde-hardware-devel] Detecting when the computer gets back from suspend

Kevin Ottens ervin at kde.org
Tue Nov 24 18:30:43 CET 2009


On Tuesday 24 November 2009 17:41:07 Sebastian Kügler wrote:
> I think HAL has such a signal.

Unfortunately no, it doesn't.

> Otherwise, just emit after the call to HAL's
> suspend returns (unless it's sync, of course, in which case a
> QTimer::singleShot() could work as well (but is of course less reliable).

Well, not going to work as it'll then be specific to THE app which made the 
call in the first place. In other words there's no way to have such a signal 
at the moment because our underlying platform is too limited (I wanted to have 
such a signal in the beginning but just gave up on it for now).

Regards.
-- 
Kévin Ottens, http://ervin.ipsquad.net

KDAB - proud patron of KDE, http://www.kdab.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20091124/83881bdb/attachment.sig 


More information about the Kde-hardware-devel mailing list