summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2018-12-21 17:25:17 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2018-12-23 10:31:08 +0100
commit7da0f71cf15af0cfa74d0eaa0011a6b1db1a4abd (patch)
tree990a6cde2e7b9ec810ebd93b3de0178b539b31c3 /vcl/inc
parente42e3f3f28691de2ed8132564066bc3007eac651 (diff)
tdf#121161 Qt5 initial IM support
This just implements some minimal solution, since I have no idea, how all this IM handling should actually work. Change-Id: I0d02dfb96680891e275881927ebc17f798dc1f29 Reviewed-on: https://gerrit.libreoffice.org/65553 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de> (cherry picked from commit c7ee454a35c392dfd03c9ccf8fd953ec9c98e484) Reviewed-on: https://gerrit.libreoffice.org/65558 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/qt5/Qt5Widget.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/inc/qt5/Qt5Widget.hxx b/vcl/inc/qt5/Qt5Widget.hxx
index ad043650b32e..26f26c8bf0a3 100644
--- a/vcl/inc/qt5/Qt5Widget.hxx
+++ b/vcl/inc/qt5/Qt5Widget.hxx
@@ -22,9 +22,13 @@
#include <QtWidgets/QWidget>
#include <rtl/ustring.hxx>
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/accessibility/XAccessibleEditableText.hpp>
+
class Qt5Frame;
class Qt5Object;
class QFocusEvent;
+class QInputMethodEvent;
class QKeyEvent;
class QMouseEvent;
class QMoveEvent;
@@ -32,6 +36,7 @@ class QPaintEvent;
class QResizeEvent;
class QShowEvent;
class QWheelEvent;
+class QVariant;
class Qt5Widget : public QWidget
{
@@ -57,6 +62,9 @@ class Qt5Widget : public QWidget
virtual void wheelEvent(QWheelEvent*) override;
virtual void closeEvent(QCloseEvent*) override;
+ void inputMethodEvent(QInputMethodEvent*) override;
+ QVariant inputMethodQuery(Qt::InputMethodQuery) const override;
+
const QString m_InternalMimeType = "application/x-libreoffice-dnditem";
public slots: