aboutsummaryrefslogtreecommitdiffstats
path: root/src/controls/qquickpressandholdhelper_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/qquickpressandholdhelper_p.h')
-rw-r--r--src/controls/qquickpressandholdhelper_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/controls/qquickpressandholdhelper_p.h b/src/controls/qquickpressandholdhelper_p.h
index 6c0dc5ae..0ac84494 100644
--- a/src/controls/qquickpressandholdhelper_p.h
+++ b/src/controls/qquickpressandholdhelper_p.h
@@ -55,11 +55,15 @@ struct QQuickPressAndHoldHelper
void mouseReleaseEvent(QMouseEvent *event);
void timerEvent(QTimerEvent *event);
+ void clearDelayedMouseEvent();
+ bool isActive();
+
QQuickItem *control;
QBasicTimer timer;
QPointF pressPos;
bool longPress;
int pressAndHoldSignalIndex;
+ QMouseEvent *delayedMousePressEvent;
};
QT_END_NAMESPACE