aboutsummaryrefslogtreecommitdiff
path: root/src/core/kauthorized.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/kauthorized.h')
-rw-r--r--src/core/kauthorized.h60
1 files changed, 30 insertions, 30 deletions
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);
}