[Kde-hardware-devel] [PATCH] Add docking station support to Solid
Kevin Ottens
ervin at kde.org
Tue Nov 24 21:59:02 CET 2009
On Saturday 21 November 2009 09:24:21 Will Stephenson wrote:
> The attached patch adds support for laptop docking stations to Solid.
> Knowing when the machine is docked will allow us to modify powersaving
> policy while docked, eg don't lock the screen if lid closed while docked,
> and help fix https://bugs.kde.org/show_bug.cgi?id=185460.
If the usage is *that* specific (and indeed I don't see another use case for a
random app to know the docking state), I'd rather see
Solid::Control::PowerManager extended to add a isDocked() method or something
similar instead of introducing a new capability which will be used only by
PowerDevil.
Of course, since PowerDevil depends on Solid::Control::PowerManager it'll get
the info once the PowerManager class is extended.
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/b2a085ed/attachment.sig
More information about the Kde-hardware-devel
mailing list