summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-10-19 14:08:28 +0200
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2016-03-09 14:26:04 +0000
commitd29443c9c88d2b15c9a4735cf4d001c65b103a9b (patch)
tree4f9b91b11618a258b67bec922b385b3c10d28c55
parentcb24903ef4df0571f8498fca6bc58f5df6dd68af (diff)
Manual touch test: Remove QDebug operator for QTouchDevice.
It now exists in QtGui. Task-number: QTBUG-48849 Change-Id: I9107c96e0010252bc50bcb02ef006cb46bd942df Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
-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 b7029767c9..2a5c2b508e 100644
--- a/tests/manual/touch/main.cpp
+++ b/tests/manual/touch/main.cpp
@@ -91,24 +91,6 @@ static void drawArrow(const QPointF &center, qreal length, qreal angleDegrees,
painter.restore();
}
-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;
-}
-
// Hierarchy of classes containing gesture parameters and drawing functionality.
class Gesture {
Q_DISABLE_COPY(Gesture)