summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwindow.h
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-05-30 23:04:21 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-06-28 16:15:14 +0000
commit7f62c5fedc4a677fd9d9b002c4dfb9fd52a8a1a3 (patch)
treec0a138148fa99dee1f8e6a3476d49c71a80788fe /src/gui/kernel/qwindow.h
parent5ede5706a8b8052280981aa1d9c42999a24b74b5 (diff)
Convert features.tabletevent to QT_CONFIG
Change-Id: Ibd7ed7f269a64afddadee70979b20f1c58398378 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/gui/kernel/qwindow.h')
-rw-r--r--src/gui/kernel/qwindow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qwindow.h b/src/gui/kernel/qwindow.h
index 748c3ee707..db8e828e70 100644
--- a/src/gui/kernel/qwindow.h
+++ b/src/gui/kernel/qwindow.h
@@ -75,7 +75,7 @@ class QMouseEvent;
class QWheelEvent;
#endif
class QTouchEvent;
-#ifndef QT_NO_TABLETEVENT
+#if QT_CONFIG(tabletevent)
class QTabletEvent;
#endif
@@ -348,7 +348,7 @@ protected:
virtual void wheelEvent(QWheelEvent *);
#endif
virtual void touchEvent(QTouchEvent *);
-#ifndef QT_NO_TABLETEVENT
+#if QT_CONFIG(tabletevent)
virtual void tabletEvent(QTabletEvent *);
#endif
virtual bool nativeEvent(const QByteArray &eventType, void *message, long *result);