[Kde-hardware-devel] Solid::Control::PowerManager::Notifier

Kevin Ottens ervin at kde.org
Wed May 7 09:16:23 CEST 2008


Le mercredi 7 mai 2008, Thomas Gillespie a écrit :
> Is it just me or is the solid powermanager notifier class completely
> broken? I've written a simple test app to test some signals, but i cant
> pick up any of them. Its here if anyone could try please:
> http://rapidshare.com/files/113082854/solid_test.tar.bz2.html

Damned, I didn't make the ctor of the Notifier private... Obviously something 
to fix. So your problem is that you should never do "new Notifier()" to get a 
notifier. It's supposed to be a singleton, so you should use 
Solid::Control::PowerManager::notifier() to get to the only notifier 
instance.

Regards.
-- 
Kévin 'ervin' Ottens, http://ervin.ipsquad.net
"Ni le maître sans disciple, Ni le disciple sans maître,
Ne font reculer l'ignorance."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20080507/8e24b539/attachment.pgp 


More information about the Kde-hardware-devel mailing list