diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-08 12:45:38 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-09 10:06:12 +0200 |
commit | 78b124143a3c2bd82984c1c06aa3265c211cef13 (patch) | |
tree | b48ab1bf75f7b9d548bec8b1c0427d733cc48ecf /include/vcl/accel.hxx | |
parent | convert Link<> to typed (diff) | |
download | core-78b124143a3c2bd82984c1c06aa3265c211cef13.tar.gz core-78b124143a3c2bd82984c1c06aa3265c211cef13.zip |
convert Link<> to typed
Change-Id: I2f36a123662488ef5534f7bf0845d61e497fb0ec
Diffstat (limited to 'include/vcl/accel.hxx')
-rw-r--r-- | include/vcl/accel.hxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/vcl/accel.hxx b/include/vcl/accel.hxx index f8491bcbf168..7e965809277c 100644 --- a/include/vcl/accel.hxx +++ b/include/vcl/accel.hxx @@ -36,9 +36,8 @@ class VCL_DLLPUBLIC Accelerator : public Resource private: ImplAccelData* mpData; OUString maHelpStr; - Link<> maActivateHdl; - Link<> maDeactivateHdl; - Link<> maSelectHdl; + Link<Accelerator&,void> maActivateHdl; + Link<Accelerator&,void> maSelectHdl; // Will be set by AcceleratorManager vcl::KeyCode maCurKeyCode; @@ -69,7 +68,6 @@ public: virtual ~Accelerator(); void Activate(); - void Deactivate(); void Select(); void InsertItem( sal_uInt16 nItemId, const vcl::KeyCode& rKeyCode ); @@ -84,8 +82,8 @@ public: Accelerator* GetAccel( sal_uInt16 nItemId ) const; - void SetActivateHdl( const Link<>& rLink ) { maActivateHdl = rLink; } - void SetSelectHdl( const Link<>& rLink ) { maSelectHdl = rLink; } + void SetActivateHdl( const Link<Accelerator&,void>& rLink ) { maActivateHdl = rLink; } + void SetSelectHdl( const Link<Accelerator&,void>& rLink ) { maSelectHdl = rLink; } Accelerator& operator=( const Accelerator& rAccel ); }; |