aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/items/qsgflickable_p_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/items/qsgflickable_p_p.h')
-rw-r--r--src/declarative/items/qsgflickable_p_p.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/declarative/items/qsgflickable_p_p.h b/src/declarative/items/qsgflickable_p_p.h
index fd09b0efd4..9e854af62a 100644
--- a/src/declarative/items/qsgflickable_p_p.h
+++ b/src/declarative/items/qsgflickable_p_p.h
@@ -96,7 +96,7 @@ public:
struct AxisData {
AxisData(QSGFlickablePrivate *fp, void (QSGFlickablePrivate::*func)(qreal))
: move(fp, func), viewSize(-1), smoothVelocity(fp), atEnd(false), atBeginning(true)
- , fixingUp(false), inOvershoot(false)
+ , fixingUp(false), inOvershoot(false), dragging(false)
{}
void reset() {
@@ -123,6 +123,7 @@ public:
bool atBeginning : 1;
bool fixingUp : 1;
bool inOvershoot : 1;
+ bool dragging : 1;
};
void flickX(qreal velocity);
@@ -147,6 +148,9 @@ public:
void itemGeometryChanged(QSGItem *, const QRectF &, const QRectF &);
+ void draggingStarting();
+ void draggingEnding();
+
public:
QSGItem *contentItem;