summaryrefslogtreecommitdiffstats
path: root/src/widgets/util/qscroller_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/util/qscroller_p.h')
-rw-r--r--src/widgets/util/qscroller_p.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/widgets/util/qscroller_p.h b/src/widgets/util/qscroller_p.h
index 6463f03573..26bd64461f 100644
--- a/src/widgets/util/qscroller_p.h
+++ b/src/widgets/util/qscroller_p.h
@@ -131,7 +131,10 @@ public:
qreal scrollingSegmentsEndPos(Qt::Orientation orientation) const;
bool scrollingSegmentsValid(Qt::Orientation orientation);
void createScrollToSegments(qreal v, qreal deltaTime, qreal endPos, Qt::Orientation orientation, ScrollType type);
- void createScrollingSegments(qreal v, qreal startPos, qreal ppm, Qt::Orientation orientation);
+ void createScrollingSegments(qreal v, qreal startPos,
+ qreal deltaTime, qreal deltaPos,
+ Qt::Orientation orientation);
+ void createScrollingSegments(const QPointF &v, const QPointF &startPos, const QPointF &ppm);
void setContentPositionHelperDragging(const QPointF &deltaPos);
void setContentPositionHelperScrolling();