diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-03-27 16:10:09 +0000 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-04-02 10:09:50 +0200 |
commit | c83ae88faf5b28872cb4bda92e9dddf22b989265 (patch) | |
tree | 99a4ead197b41170f66815bca2e0fea60eb2c44c /src/gui | |
parent | 0cdb4b20d3d9acf57cd4b23d599f94f49c89ff7a (diff) |
Remove QTabletEvent::PointerType::XFreeEraser
This is an artifact of pre-Qt 5 Wacom driver implementation, hasn't
been in use during the Qt 5 series, but was kept for source compatibility
with very old sources. Let's hope the usages are all gone by now.
Change-Id: I39dc36699510ea5e51cacd369470264fd8a27b37
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qevent.cpp | 1 | ||||
-rw-r--r-- | src/gui/kernel/qevent.h | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp index 8b9fab36c2..1716cbc557 100644 --- a/src/gui/kernel/qevent.cpp +++ b/src/gui/kernel/qevent.cpp @@ -2291,7 +2291,6 @@ QVariant QInputMethodQueryEvent::value(Qt::InputMethodQuery query) const \value FourDMouse A 4D Mouse. \value RotationStylus A special stylus that also knows about rotation (a 6D stylus). \since 4.1 - \omitvalue XFreeEraser */ /*! diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h index 984deb54f5..8a4acec257 100644 --- a/src/gui/kernel/qevent.h +++ b/src/gui/kernel/qevent.h @@ -271,8 +271,7 @@ class Q_GUI_EXPORT QTabletEvent : public QInputEvent { Q_GADGET public: - enum TabletDevice { NoDevice, Puck, Stylus, Airbrush, FourDMouse, - XFreeEraser /*internal*/, RotationStylus }; + enum TabletDevice { NoDevice, Puck, Stylus, Airbrush, FourDMouse, RotationStylus }; Q_ENUM(TabletDevice) enum PointerType { UnknownPointer, Pen, Cursor, Eraser }; Q_ENUM(PointerType) |