aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorDominik Haumann <dhaumann@kde.org>2017-08-08 22:06:26 +0200
committerDominik Haumann <dhaumann@kde.org>2017-08-08 22:06:36 +0200
commit4f096fd6466a8b5d1e05bbae593f3028fb4ef65a (patch)
tree1e546f0063383c858f76d78087dab008005d1bde /src/core
parent023e3ecfe985e09f786134fc28793d24383998f8 (diff)
downloadkconfig-4f096fd6466a8b5d1e05bbae593f3028fb4ef65a.tar.gz
kconfig-4f096fd6466a8b5d1e05bbae593f3028fb4ef65a.tar.bz2
KAuthorized: Fix API documentation for authorizeAction()
Differential Revision: https://phabricator.kde.org/D7210
Diffstat (limited to 'src/core')
-rw-r--r--src/core/kauthorized.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/kauthorized.h b/src/core/kauthorized.h
index 37bd54f9..5ace4db9 100644
--- a/src/core/kauthorized.h
+++ b/src/core/kauthorized.h
@@ -53,19 +53,19 @@ namespace KAuthorized
* will return @c false.
*
* This method is intended for actions that do not necessarily have a
- * one-to-one correspondence with a menu or toolbar item (ie: a KAction
+ * one-to-one correspondence with a menu or toolbar item (ie: a QAction
* in a KXMLGui application). "shell_access" is an example of such a
* "generic" action.
*
* The convention for actions like "File->New" is to prepend the action
* name with "action/", for example "action/file_new". This is what
- * authorizeKAction() does.
+ * authorizeAction() does.
*
* @param action The name of the action.
* @return @c true if the action is authorized, @c false
* otherwise.
*
- * @see authorizeKAction()
+ * @see authorizeAction()
*/
KCONFIGCORE_EXPORT bool authorize(const QString &action);