summaryrefslogtreecommitdiffstats
path: root/tests/manual
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual')
-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 588fef9fd0..fb0c8559f9 100644
--- a/tests/manual/touch/main.cpp
+++ b/tests/manual/touch/main.cpp
@@ -86,24 +86,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)