diff options
author | Akshay Deep <akshaydeepiitr@gmail.com> | 2016-06-03 16:51:05 +0530 |
---|---|---|
committer | Akshay Deep <akshaydeepiitr@gmail.com> | 2016-06-03 22:03:39 +0000 |
commit | 5cc822b9be6b69cc5a03e92144620b25d7872775 (patch) | |
tree | 1b18d83bc743a89a6545e69ddc3a9a8da1619e20 /include | |
parent | b1cfb6622a415e042af27f04d6c85dba9cf02286 (diff) |
Template Manager: Ctrl + A to select all templates
Change-Id: I8398268752c78a30d5fc076d6f2b6249cbf89ec2
Reviewed-on: https://gerrit.libreoffice.org/25860
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
(cherry picked from commit 74f6f03f55eb6d641d2b26aae883943c69683563)
Reviewed-on: https://gerrit.libreoffice.org/25882
Reviewed-by: Akshay Deep <akshaydeepiitr@gmail.com>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/templateabstractview.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/templatedefaultview.hxx | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/sfx2/templateabstractview.hxx b/include/sfx2/templateabstractview.hxx index 903c997abd99..64c696aa9d5e 100644 --- a/include/sfx2/templateabstractview.hxx +++ b/include/sfx2/templateabstractview.hxx @@ -85,6 +85,8 @@ public: virtual void MouseButtonDown( const MouseEvent& rMEvt ) override; + virtual void KeyInput( const KeyEvent& rKEvt ) override; + virtual void showAllTemplates () = 0; virtual void showRegion (TemplateContainerItem *pItem) = 0; diff --git a/include/sfx2/templatedefaultview.hxx b/include/sfx2/templatedefaultview.hxx index 24157a1facec..6d2fcdfab0e2 100644 --- a/include/sfx2/templatedefaultview.hxx +++ b/include/sfx2/templatedefaultview.hxx @@ -19,6 +19,8 @@ public: virtual void reload() override; + virtual void KeyInput( const KeyEvent& rKEvt ) override; + void createContextMenu(); DECL_LINK_TYPED(ContextMenuSelectHdl, Menu*, void); |