Commit d29443c9 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Manual touch test: Remove QDebug operator for QTouchDevice.


It now exists in QtGui.

Task-number: QTBUG-48849
Change-Id: I9107c96e0010252bc50bcb02ef006cb46bd942df
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>
parent cb24903e
No related merge requests found
Showing with 0 additions and 18 deletions
......@@ -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)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment