From 159963832457e6307282308455330acc7b5bd153 Mon Sep 17 00:00:00 2001 From: David Faure Date: Wed, 18 Dec 2013 09:53:59 +0100 Subject: Code reformatted using kde-dev-scripts/astyle-kdelibs. Use git blame -w 867e7a5 to show authorship as it was before this commit. --- src/core/kauthorized.h | 60 +++++++++++++++++++++++++------------------------- 1 file changed, 30 insertions(+), 30 deletions(-) (limited to 'src/core/kauthorized.h') diff --git a/src/core/kauthorized.h b/src/core/kauthorized.h index a16368a8..45dd8284 100644 --- a/src/core/kauthorized.h +++ b/src/core/kauthorized.h @@ -34,39 +34,39 @@ class QStringList; */ namespace KAuthorized { - /** - * Returns whether a certain action is authorized - * @param genericAction The name of a generic action - * @return true if the action is authorized - * @todo what are the generic actions? - */ - KCONFIGCORE_EXPORT bool authorize(const QString& genericAction); +/** + * Returns whether a certain action is authorized + * @param genericAction The name of a generic action + * @return true if the action is authorized + * @todo what are the generic actions? + */ +KCONFIGCORE_EXPORT bool authorize(const QString &genericAction); - /** - * Returns whether a certain KAction is authorized. - * - * @param action The name of a KAction action. The name is prepended - * with "action/" before being passed to authorize() - * @return true if the KAction is authorized - */ - KCONFIGCORE_EXPORT bool authorizeKAction(const QString& action); +/** + * Returns whether a certain KAction is authorized. + * + * @param action The name of a KAction action. The name is prepended + * with "action/" before being passed to authorize() + * @return true if the KAction is authorized + */ +KCONFIGCORE_EXPORT bool authorizeKAction(const QString &action); - /** - * Returns whether access to a certain control module is authorized. - * - * @param menuId identifying the control module, e.g. kde-mouse.desktop - * @return true if access to the module is authorized, false otherwise. - */ - KCONFIGCORE_EXPORT bool authorizeControlModule(const QString& menuId); +/** + * Returns whether access to a certain control module is authorized. + * + * @param menuId identifying the control module, e.g. kde-mouse.desktop + * @return true if access to the module is authorized, false otherwise. + */ +KCONFIGCORE_EXPORT bool authorizeControlModule(const QString &menuId); - /** - * Returns which control modules from a given list are authorized for access. - * - * @param menuIds list of menu-ids of control modules; - * an example of a menu-id is kde-mouse.desktop. - * @return Those control modules for which access has been authorized. - */ - KCONFIGCORE_EXPORT QStringList authorizeControlModules(const QStringList& menuIds); +/** + * Returns which control modules from a given list are authorized for access. + * + * @param menuIds list of menu-ids of control modules; + * an example of a menu-id is kde-mouse.desktop. + * @return Those control modules for which access has been authorized. + */ +KCONFIGCORE_EXPORT QStringList authorizeControlModules(const QStringList &menuIds); } -- cgit v1.2.1