summaryrefslogtreecommitdiff
path: root/include/vcl/accel.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-07-29 15:44:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-07-29 16:36:36 +0100
commitf305b882868a03295f1b3108976d14354fa1553c (patch)
tree3a8060895c9da18a41329df3841147d8da747720 /include/vcl/accel.hxx
parent37ada6f457e19b6ee2d2adb0b0ab3acb20705b51 (diff)
unhook the alt handling thing from SystemWindow
so it could be used from things that aren't dialogs Change-Id: I649c5a05ad9c0634be9cef2bbe16a4643e58fc12
Diffstat (limited to 'include/vcl/accel.hxx')
-rw-r--r--include/vcl/accel.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/accel.hxx b/include/vcl/accel.hxx
index 7db25e4ce4ea..295e2db8cec4 100644
--- a/include/vcl/accel.hxx
+++ b/include/vcl/accel.hxx
@@ -28,6 +28,7 @@
class ImplAccelData;
class ImplAccelEntry;
+class CommandEvent;
class VCL_DLLPUBLIC Accelerator : public Resource
{
@@ -79,6 +80,8 @@ public:
void SetSelectHdl( const Link<Accelerator&,void>& rLink ) { maSelectHdl = rLink; }
Accelerator& operator=( const Accelerator& rAccel );
+
+ static bool ToggleMnemonicsOnHierarchy(const CommandEvent& rCEvent, vcl::Window *pWindow);
};
#endif // INCLUDED_VCL_ACCEL_HXX