KDECore
kauthorized.h
Go to the documentation of this file.
64 KDE_EXPORT bool authorizeUrlAction(const QString& action, const KUrl& baseUrl, const KUrl& destUrl);
74 KDE_EXPORT void allowUrlAction(const QString& action, const KUrl& baseUrl, const KUrl& _destUrl);
QStringList authorizeControlModules(const QStringList &menuIds)
Returns which control modules from a given list are authorized for access.
Definition: kauthorized.cpp:245
bool authorizeUrlAction(const QString &action, const KUrl &baseUrl, const KUrl &destUrl)
Returns whether a certain URL related action is authorized.
Definition: kauthorized.cpp:354
void allowUrlAction(const QString &action, const KUrl &baseUrl, const KUrl &_destUrl)
Allow a certain URL action.
Definition: kauthorized.cpp:342
bool authorize(const QString &genericAction)
Returns whether a certain action is authorized.
Definition: kauthorized.cpp:215
bool authorizeControlModule(const QString &menuId)
Returns whether access to a certain control module is authorized.
Definition: kauthorized.cpp:237
bool authorizeKAction(const QString &action)
Returns whether a certain KAction is authorized.
Definition: kauthorized.cpp:227
#define KDE_EXPORT
The KDE_EXPORT macro marks the symbol of the given variable to be visible, so it can be used from out...
Definition: kdemacros.h.cmake:74
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.