summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxflickable_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/fx/qfxflickable_p.h')
-rw-r--r--src/declarative/fx/qfxflickable_p.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/declarative/fx/qfxflickable_p.h b/src/declarative/fx/qfxflickable_p.h
index a506027..7224f21 100644
--- a/src/declarative/fx/qfxflickable_p.h
+++ b/src/declarative/fx/qfxflickable_p.h
@@ -76,6 +76,9 @@ public:
virtual void fixupY();
void updateBeginningEnd();
+ void captureDelayedPress(QGraphicsSceneMouseEvent *event);
+ void clearDelayedPress();
+
public:
QFxItem *viewport;
QmlTimeLineValueProxy<QFxItem> _moveX;
@@ -109,6 +112,10 @@ public:
qreal reportedVelocitySmoothing;
int flickTargetX;
int flickTargetY;
+ QGraphicsSceneMouseEvent *delayedPressEvent;
+ QGraphicsItem *delayedPressTarget;
+ QBasicTimer delayedPressTimer;
+ int pressDelay;
void updateVelocity();
struct Velocity : public QmlTimeLineValue