diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-07-29 15:44:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-07-29 16:36:36 +0100 |
commit | f305b882868a03295f1b3108976d14354fa1553c (patch) | |
tree | 3a8060895c9da18a41329df3841147d8da747720 /include | |
parent | 37ada6f457e19b6ee2d2adb0b0ab3acb20705b51 (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')
-rw-r--r-- | include/vcl/accel.hxx | 3 |
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 |