knowing if a module is restricted
Stéphane Ancelot
sancelot at numalliance.com
Wed Nov 29 14:44:39 UTC 2017
I will try it. My aim is to improve systemsettings5 view, when modules
have been restricted.
because, altough modules are restricted and not available to user, there
is always a category icon, and when clicking in it , you open a blank view.
And each icon provide the list of restricted items.
Le 29/11/2017 à 15:40, Kai Uwe Broulik a écrit :
> Hi,
>
> KAuthorized::authorizeControlModule
>
> Pass it the full name of the desktop file (e.g. kcm_foo.desktop). There's also a function that filters a list of modules to check multiple at once.
>
> Cheers
> Kai Uwe
More information about the Plasma-devel
mailing list