diff options
author | Nicolas Arnaud-Cormos <nicolas@kdab.com> | 2011-01-24 11:39:42 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@nokia.com> | 2011-01-24 11:39:42 +0100 |
commit | 1f1656163cea078ba09cbba80ead2758d7ca5dc0 (patch) | |
tree | ae39139a3f8bca5dc1cd63ff01873e876cbdb616 /src/plugins/macros/macrosconstants.h | |
parent | f3d7bbff0c2abcd8dd1efc8d3578cf3b865292a8 (diff) |
Refactor the shortcut management for plugin macros
When saving a macro, a shortcut is created and the user can change the
shortcut in Options->Keyboard.
When the macro is removed, the shortcut is removed from the
actionManager using the removeShortcut method.
This is way simpler than before, where a number of default shortcuts
where defined and macros took the empty space.
Merge-request: 236
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'src/plugins/macros/macrosconstants.h')
-rw-r--r-- | src/plugins/macros/macrosconstants.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/macros/macrosconstants.h b/src/plugins/macros/macrosconstants.h index 9d6b39080c..73b1fb3cf0 100644 --- a/src/plugins/macros/macrosconstants.h +++ b/src/plugins/macros/macrosconstants.h @@ -42,7 +42,7 @@ const char * const M_TOOLS_MACRO = "Macros.Tools.Menu"; const char * const START_MACRO = "Macros.StartMacro"; const char * const END_MACRO = "Macros.EndMacro"; const char * const EXECUTE_LAST_MACRO = "Macros.ExecuteLastMacro"; -const char * const SHORTCUT_MACRO = "Macros.Shortcut-"; +const char * const PREFIX_MACRO = "Macros."; const char * const M_OPTIONS_PAGE = "Macros"; const char * const M_OPTIONS_TR_PAGE = "Macros"; |