Dne Út 30. listopadu 2010 22:04:41 Sebastian Kügler napsal(a): > Hi Carlos, > > On Tuesday, November 30, 2010 17:18:32 Carlos Olmedo Escobar wrote: > > I need my app to detect when the system gets back from an hibernation, > > is this possible? > > Not yet, but we've come across the same problem in other code as well > (clock being wrong for up to one minute post-resume), and we're working on > a fix. Timeframe for this is 4.6, but I'm not 100% sure this part actually > made it. We did discuss it and came up with a solution during the Solid > sprint in October. > > The solution will involve connecting your method doSomethingPostResume() > (or similar) to a signal Solid will be providing. > > Cheers,
It is currently possible in KDE trunk (to become KDE 4.6); you need to connect to the "resumingFromSuspend" signal on the org.kde.Solid.PowerManagement DBUS service. -- Lukáš Tinkl <[email protected]> Software Engineer - Base Operating Systems Brno KDE developer <[email protected]> Red Hat Inc. http://cz.redhat.com _______________________________________________ Kde-hardware-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-hardware-devel
