summaryrefslogtreecommitdiffstats
path: root/tests
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 /tests
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 'tests')
-rw-r--r--tests/manual/touch/main.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/manual/touch/main.cpp b/tests/manual/touch/main.cpp
index f4c9f6bf8b..e1114d7f57 100644
--- a/tests/manual/touch/main.cpp
+++ b/tests/manual/touch/main.cpp
@@ -47,24 +47,6 @@
#include <QDebug>
#include <QTextStream>
-QDebug operator<<(QDebug debug, const QTouchDevice *d)
-{
- QDebugStateSaver saver(debug);
- debug.nospace();
- debug << "QTouchDevice(" << d->name() << ',';
- switch (d->type()) {
- case QTouchDevice::TouchScreen:
- debug << "TouchScreen";
- break;
- case QTouchDevice::TouchPad:
- debug << "TouchPad";
- break;
- }
- debug << ", capabilities=" << d->capabilities()
- << ", maximumTouchPoints=" << d->maximumTouchPoints() << ')';
- return debug;
-}
-
typedef QVector<QEvent::Type> EventTypeVector;
class EventFilter : public QObject {