summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qtouchdevice.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-05-21 13:26:46 +0200
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-05-22 04:36:41 +0000
commitb0a1a134c2a41b7894f70ed72a4c3f8ddc1066de (patch)
tree640e2cae6272366fcfe7359c99ffac2fa9d0cf81 /src/gui/kernel/qtouchdevice.h
parent97e75b2763cd4e36a20a97eaa9a966541add6b6d (diff)
Add debug operator for QTouchDevice.
Produces: QTouchDevice("", type=TouchScreen, capabilities=Position|Area|NormalizedPosition|MouseEmulation, maximumTouchPoints=10) Remove operator from manual test. Change-Id: I6b792665031902d5f822c80807a400a334c27526 Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'src/gui/kernel/qtouchdevice.h')
-rw-r--r--src/gui/kernel/qtouchdevice.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/kernel/qtouchdevice.h b/src/gui/kernel/qtouchdevice.h
index 90f0f25d2f..1c1fcc63aa 100644
--- a/src/gui/kernel/qtouchdevice.h
+++ b/src/gui/kernel/qtouchdevice.h
@@ -38,7 +38,7 @@
QT_BEGIN_NAMESPACE
-
+class QDebug;
class QTouchDevicePrivate;
class Q_GUI_EXPORT QTouchDevice
@@ -84,6 +84,10 @@ private:
Q_DECLARE_OPERATORS_FOR_FLAGS(QTouchDevice::Capabilities)
+#ifndef QT_NO_DEBUG_STREAM
+Q_GUI_EXPORT QDebug operator<<(QDebug, const QTouchDevice *);
+#endif
+
QT_END_NAMESPACE
#endif // QTOUCHDEVICE_H