PolicyKit integration in KDE take 1: systemsettings and kcmshell

dantti85-dev at yahoo.com.br dantti85-dev at yahoo.com.br
Mon Mar 9 18:11:38 GMT 2009


To complement his ideas,
PolicyKit allows you to map actions like
org.kde.kdm.general
org.kde.kdm.dialog
org.kde.kdm.background

this way you can separate the privileged code,
using setPolicyKitAction(action)
you can detect which "tab" the user is and
when "apply" is called "org.kde.kdm.background"
can be issued to get an authorization.

Note that mapping is a nice feature but
making too many actions adds more compressibility 
to your code.

Also i'd like to say that we are willing to help
date & time and login manager kcm's to get
integrated with polkit. (of course if there are others
they can ask us for help too)

Daniel.


      Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com




More information about the kde-core-devel mailing list