diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-11-11 12:12:19 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-11-19 10:19:42 +0100 |
commit | 08f2b7b167983bcb4d1f1f178c2c46c3d79f9958 (patch) | |
tree | 59df8e1687b9b19cf7cd68589313b4b4e20cdec8 /offapi | |
parent | 79ea745d595945e454ced9f6cacd2bb57aa51f95 (diff) |
Deprecate KeyListener and XMouseListener
Change-Id: Icb7e363265aa2045d0d2a7fec8ef7cc2b6571416
Reviewed-on: https://gerrit.libreoffice.org/82432
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/awt/XKeyListener.idl | 3 | ||||
-rw-r--r-- | offapi/com/sun/star/awt/XMouseListener.idl | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/offapi/com/sun/star/awt/XKeyListener.idl b/offapi/com/sun/star/awt/XKeyListener.idl index dd5889161c9d..65efee0f0710 100644 --- a/offapi/com/sun/star/awt/XKeyListener.idl +++ b/offapi/com/sun/star/awt/XKeyListener.idl @@ -29,6 +29,9 @@ /** makes it possible to receive keyboard events. + * + * @deprecated Use com::sun::star::awt::XKeyHandler which allows to receive (and consume) key events, + * even on windows which are not at the top. */ published interface XKeyListener: com::sun::star::lang::XEventListener { diff --git a/offapi/com/sun/star/awt/XMouseListener.idl b/offapi/com/sun/star/awt/XMouseListener.idl index a85588d194c6..b689db7d8df8 100644 --- a/offapi/com/sun/star/awt/XMouseListener.idl +++ b/offapi/com/sun/star/awt/XMouseListener.idl @@ -29,6 +29,13 @@ /** makes it possible to receive events from the mouse in a certain window. + * + * @deprecated Use the following interfaces which allow to receive (and consume) mouse events + * even on windows which are not at the top: + * <ul> + * <li>com::sun::star::awt::XMouseClickHandler</li> + * <li>com::sun::star::awt::XMouseMotionHandler</li> + * </ul> */ published interface XMouseListener: com::sun::star::lang::XEventListener { |