Skip to content
Snippets Groups Projects
Commit 34ec8298 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Eike Ziller
Browse files

Doc: Some QString->Id corrections


Change-Id: I43c707cb3d27ac706052f8e46f0f1ef8c86e644e
Reviewed-by: default avatarLeena Miettinen <riitta-leena.miettinen@nokia.com>
Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
parent f3fd47f6
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment