[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: knowing if a module is restricted
From:       Stéphane_Ancelot <sancelot () numalliance ! com>
Date:       2017-11-29 14:44:39
Message-ID: fa251eec-c031-0ca1-c966-59be2455ba96 () numalliance ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic