From 34ec82987fa537e43f015642003f6b18f76c63d2 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh <orgads@gmail.com> Date: Sun, 1 Apr 2012 21:24:03 +0300 Subject: [PATCH] Doc: Some QString->Id corrections Change-Id: I43c707cb3d27ac706052f8e46f0f1ef8c86e644e Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com> --- src/plugins/coreplugin/actionmanager/actionmanager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/coreplugin/actionmanager/actionmanager.cpp b/src/plugins/coreplugin/actionmanager/actionmanager.cpp index a4c8a088f47..fc80dde8b7e 100644 --- a/src/plugins/coreplugin/actionmanager/actionmanager.cpp +++ b/src/plugins/coreplugin/actionmanager/actionmanager.cpp @@ -121,7 +121,7 @@ namespace { To do this, you register your action via the registerAction methods, get the action container for a specific ID (like specified in the Core::Constants namespace) with a call of - actionContainer(const QString&) and add your command to this container. + actionContainer(const Id&) and add your command to this container. Following the example adding "My Action" to the "Tools" menu would be done by \code @@ -171,7 +171,7 @@ namespace { \brief Makes an \a action known to the system under the specified string \a id. Returns a command object that represents the action in the application and is - owned by the ActionManager. You can registered several actions with the + owned by the ActionManager. You can register several actions with the same \a id as long as the \a context is different. In this case a trigger of the actual action is forwarded to the registered QAction for the currently active context. @@ -180,7 +180,7 @@ namespace { */ /*! - \fn Command *ActionManager::registerShortcut(QShortcut *shortcut, const QString &id, const Context &context, bool scriptable) + \fn Command *ActionManager::registerShortcut(QShortcut *shortcut, const Id &id, const Context &context, bool scriptable) \brief Makes a \a shortcut known to the system under the specified string \a id. Returns a command object that represents the shortcut in the application and is -- GitLab