summaryrefslogtreecommitdiffstats
path: root/src/graphicsitems/qxpathview_p_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphicsitems/qxpathview_p_p.h')
-rw-r--r--src/graphicsitems/qxpathview_p_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/graphicsitems/qxpathview_p_p.h b/src/graphicsitems/qxpathview_p_p.h
index 290e091..210cc7c 100644
--- a/src/graphicsitems/qxpathview_p_p.h
+++ b/src/graphicsitems/qxpathview_p_p.h
@@ -77,6 +77,7 @@ public:
, lastElapsed(0), mappedRange(1.0)
, stealMouse(false), ownModel(false), interactive(true), haveHighlightRange(true)
, autoHighlight(true), highlightUp(false), layoutScheduled(false)
+ , moving(false)
, dragMargin(0), deceleration(100)
, moveOffset(this, &QxPathViewPrivate::setOffset)
, firstIndex(-1), pathItems(-1), requestedIndex(-1)
@@ -96,6 +97,7 @@ public:
isFocusScope = true;
q->setFiltersChildEvents(true);
q->connect(&tl, SIGNAL(updated()), q, SLOT(ticked()));
+ q->connect(&tl, SIGNAL(completed()), q, SLOT(onTimeLineCompleted()));
lastPosTime.invalidate();
}
@@ -154,6 +156,7 @@ public:
bool autoHighlight : 1;
bool highlightUp : 1;
bool layoutScheduled : 1;
+ bool moving;
QElapsedTimer lastPosTime;
QPointF lastPos;
qreal dragMargin;