diff options
author | Jim Raykowski <raykowj@gmail.com> | 2019-12-25 22:47:16 -0900 |
---|---|---|
committer | Jim Raykowski <raykowj@gmail.com> | 2020-01-06 09:05:06 +0100 |
commit | 706be217a77d5951f02b486b8a57f20b1d061fe2 (patch) | |
tree | b71b7cae25f552806ceb0b09b97ef886af773fcc /include/vcl/commandinfoprovider.hxx | |
parent | 7a98ab1fa6b3f3de2c7077c1d2601f7bc12be2d7 (diff) |
Display menu item keyboard shortcuts in toolbar menu
Change-Id: I288d4850f9a8e9ac51dfefddff7a2a7d359178c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85832
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'include/vcl/commandinfoprovider.hxx')
-rw-r--r-- | include/vcl/commandinfoprovider.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/vcl/commandinfoprovider.hxx b/include/vcl/commandinfoprovider.hxx index 5327434cb168..d4ae3a008bd2 100644 --- a/include/vcl/commandinfoprovider.hxx +++ b/include/vcl/commandinfoprovider.hxx @@ -21,6 +21,7 @@ #include <vcl/dllapi.h> #include <vcl/image.hxx> +#include <vcl/keycod.hxx> namespace com { namespace sun { namespace star { namespace frame { class XFrame; } } } } @@ -72,6 +73,9 @@ namespace vcl { namespace CommandInfoProvider { VCL_DLLPUBLIC OUString GetCommandShortcut (const OUString& rCommandName, const css::uno::Reference<css::frame::XFrame>& rxFrame); + VCL_DLLPUBLIC KeyCode GetCommandKeyCodeShortcut (const OUString& rCommandName, + const css::uno::Reference<css::frame::XFrame>& rxFrame); + VCL_DLLPUBLIC OUString GetRealCommandForCommand(const css::uno::Sequence<css::beans::PropertyValue>& rProperties); VCL_DLLPUBLIC css::uno::Reference<css::graphic::XGraphic> GetXGraphicForCommand( |