offapi/com/sun/star/awt/XKeyListener.idl | 3 +++ offapi/com/sun/star/awt/XMouseListener.idl | 7 +++++++ 2 files changed, 10 insertions(+)
New commits: commit 08f2b7b167983bcb4d1f1f178c2c46c3d79f9958 Author: Samuel Mehrbrodt <[email protected]> AuthorDate: Mon Nov 11 12:12:19 2019 +0100 Commit: Samuel Mehrbrodt <[email protected]> CommitDate: Tue Nov 19 10:19:42 2019 +0100 Deprecate KeyListener and XMouseListener Change-Id: Icb7e363265aa2045d0d2a7fec8ef7cc2b6571416 Reviewed-on: https://gerrit.libreoffice.org/82432 Reviewed-by: Samuel Mehrbrodt <[email protected]> Tested-by: Samuel Mehrbrodt <[email protected]> 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 { _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
