diff options
author | Inho Lee <inho.lee@qt.io> | 2021-06-15 10:54:00 +0200 |
---|---|---|
committer | Inho Lee <inhosens@gmail.com> | 2021-11-08 11:19:56 +0200 |
commit | af8f8c33ea885f472682f98e0699721f50b1f020 (patch) | |
tree | d9ffba05219c785f15f9cefc3ffbb681b730401c /src/client/qwaylandinputdevice_p.h | |
parent | 1357e2cbc9d9ba7acca53a87e9570c1fc7ebe880 (diff) |
add abstract class QWaylandTextInputInterface in client side
There are several protocols for text-input and it will be an abstract
class for them. It is not related with qt_text_input_method_v1.
It will help to implement zwp_text_input_* protocols.
Change-Id: I2207887d84d416469217cff7d011648402a53664
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/client/qwaylandinputdevice_p.h')
-rw-r--r-- | src/client/qwaylandinputdevice_p.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/qwaylandinputdevice_p.h b/src/client/qwaylandinputdevice_p.h index b9d7451b5..ef9143922 100644 --- a/src/client/qwaylandinputdevice_p.h +++ b/src/client/qwaylandinputdevice_p.h @@ -94,7 +94,7 @@ class QWaylandTabletSeatV2; class QWaylandPointerGestures; class QWaylandPointerGestureSwipe; class QWaylandPointerGesturePinch; -class QWaylandTextInput; +class QWaylandTextInputInterface; class QWaylandTextInputMethod; #if QT_CONFIG(cursor) class QWaylandCursorTheme; @@ -138,8 +138,8 @@ public: void setTabletSeat(QWaylandTabletSeatV2 *tabletSeat); QWaylandTabletSeatV2* tabletSeat() const; - void setTextInput(QWaylandTextInput *textInput); - QWaylandTextInput *textInput() const; + void setTextInput(QWaylandTextInputInterface *textInput); + QWaylandTextInputInterface *textInput() const; void setTextInputMethod(QWaylandTextInputMethod *textInputMethod); QWaylandTextInputMethod *textInputMethod() const; @@ -199,7 +199,7 @@ protected: QScopedPointer<QWaylandPointerGesturePinch> mPointerGesturePinch; QScopedPointer<Touch> mTouch; - QScopedPointer<QWaylandTextInput> mTextInput; + QScopedPointer<QWaylandTextInputInterface> mTextInput; QScopedPointer<QWaylandTextInputMethod> mTextInputMethod; QScopedPointer<QWaylandTabletSeatV2> mTabletSeat; |