11#include <kconfigcore_export.h>
31Q_NAMESPACE_EXPORT(KCONFIGCORE_EXPORT)
48Q_ENUM_NS(GenericRestriction)
62Q_ENUM_NS(GenericAction)
94KCONFIGCORE_EXPORT
bool authorize(const QString &action);
131KCONFIGCORE_EXPORT
bool authorizeAction(const QString &action);
141#if KCONFIGCORE_ENABLE_DEPRECATED_SINCE(5, 24)
168KCONFIGCORE_DEPRECATED_VERSION(5, 24,
"Use KAuthorized::authorizeAction(const QString&)")
169bool authorizeKAction(const QString &action);
The functions in this namespace provide the core of the Kiosk action restriction system; the KIO and ...
Definition kauthorized.h:30
bool authorizeControlModule(const QString &menuId)
Returns whether the user is permitted to use a certain control module.
QStringList authorizeControlModules(const QStringList &menuIds)
Determines which control modules from a list the user is permitted to use.
GenericAction
Definition kauthorized.h:54
@ SWITCH_APPLICATION_LANGUAGE
if the toolbar should be displayed in apps
Definition kauthorized.h:59
@ OPTIONS_SHOW_TOOLBAR
if mime-type accociations are allowed to be configured
Definition kauthorized.h:58
@ EDITFILETYPE
if the open-with menu should be shown for files etc.
Definition kauthorized.h:56
@ BOOKMARKS
if an action to switch the app language should be shown
Definition kauthorized.h:60
GenericRestriction
The enum values lower cased represent the action that is authorized For example the SHELL_ACCESS valu...
Definition kauthorized.h:39
@ LINEEDIT_REVEAL_PASSWORD
if the collaborative data sharing framework KNewStuff is authorized
Definition kauthorized.h:43
@ MOVABLE_TOOLBARS
if line edits should be allowed to display completions
Definition kauthorized.h:45
@ RUN_DESKTOP_FILES
if toolbars of of apps should be movable
Definition kauthorized.h:46
@ LINEEDIT_TEXT_COMPLETION
if typed characters in password fields can be made visible
Definition kauthorized.h:44