[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-hardware-devel
Subject:    Re: [Kde-hardware-devel] Detecting when the computer gets back from
From:       Sebastian =?iso-8859-1?q?K=FCgler?= <sebas () kde ! org>
Date:       2009-11-24 16:41:07
Message-ID: 200911241741.07917.sebas () kde ! org
[Download RAW message or body]

On Tuesday 24 November 2009 17:02:21 Bruno Bigras wrote:
> 2009/11/24 Sebastian Kügler <sebas@kde.org>:
> > The answer is: yes, we want that. It should come in  the form of a
> > signal. The specific use-case I have in mind is to update the clock
> > applet after resume. Currently, they stay out of sync for up to 59
> > seconds, post-suspend.
> >
> > Do you want to give hacking up a patch a try?
> 
> Sure, I just don't know where to start. Could it be done with HAL? any
> better backend?

I think HAL has such a signal. 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).
-- 
sebas

http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
_______________________________________________
Kde-hardware-devel mailing list
Kde-hardware-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-hardware-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic