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

List:       kde-devel
Subject:    Re: Detection of hibernation wake-up
From:       "David Jarvie" <djarvie () kde ! org>
Date:       2008-10-24 13:23:22
Message-ID: ec7df2196e9f805b7a2d4a212094ca97.squirrel () www ! sensical ! net
[Download RAW message or body]

On Thursday 23 October 2008 14:17, Thiago Macieira wrote:
> On Thursday 23 October 2008 14:40:28 David Jarvie wrote:
>> The best solution would I think be for QTimer to have an option to
>> adjust
>> itself when the system wakes from hibernation. That way, apps wouldn't
>> have to bother doing their own wakeup detection in relation to timers -
>> the detection and adjustment would be done in one central point.
>
> That's too low-level for QTimer. If we detect a time skew, QTimers are
> already adjusted, but I doubt a hibernation event does much.

Really, there are two different uses of timers. One is to measure elapsed
time, the other is to trigger at a specific clock time. QTimer doesn't
currently distinguish between the two, but if both options were available,
it would have to adjust the clock time version timers when the system time
jumped.

-- 
David Jarvie.
KAlarm author & maintainer.
http://www.astrojar.org.uk/kalarm

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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