}
}
- if (ended) {
+ if (ended)
emit released(_releasedTouchPoints);
- emit touchPointsReleased(_releasedTouchPoints);
- }
- if (moved) {
+ if (moved)
emit updated(_movedTouchPoints);
- emit touchPointsUpdated(_movedTouchPoints);
- }
- if (started) {
+ if (started)
emit pressed(_pressedTouchPoints);
- emit touchPointsPressed(_pressedTouchPoints);
- }
if (ended || moved || started) emit touchUpdated(_touchPoints.values());
}
}
foreach (QObject *obj, _touchPoints)
static_cast<QQuickTouchPoint*>(obj)->setPressed(false);
emit canceled(_touchPoints.values());
- emit touchPointsCanceled(_touchPoints.values());
clearTouchLists();
foreach (QObject *obj, _touchPoints) {
QQuickTouchPoint *dtp = static_cast<QQuickTouchPoint*>(obj);
void minimumTouchPointsChanged();
void maximumTouchPointsChanged();
- //### deprecated, will be removed for 5.0
- void touchPointsPressed(const QList<QObject*> &touchPoints);
- void touchPointsUpdated(const QList<QObject*> &touchPoints);
- void touchPointsReleased(const QList<QObject*> &touchPoints);
- void touchPointsCanceled(const QList<QObject*> &touchPoints);
-
protected:
void touchEvent(QTouchEvent *);
bool childMouseEventFilter(QQuickItem *i, QEvent *event);