diff options
author | sauimone <samu.uimonen@digia.com> | 2012-10-15 16:38:06 +0300 |
---|---|---|
committer | sauimone <samu.uimonen@digia.com> | 2012-10-17 10:46:34 +0300 |
commit | 7376343d8ef1101d5f085fc7c180d9597762b366 (patch) | |
tree | 0a22e9bae5982b66af71bf15ef9377b749438675 /src/scroller_p.h | |
parent | aa4c8d495212569ddfca197e7b3bf7048309eec8 (diff) |
better implementation of mouse event handling in legend
Diffstat (limited to 'src/scroller_p.h')
-rw-r--r-- | src/scroller_p.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/scroller_p.h b/src/scroller_p.h index 36376bb3..78127250 100644 --- a/src/scroller_p.h +++ b/src/scroller_p.h @@ -73,7 +73,7 @@ public: virtual QPointF offset() const = 0; void move(const QPointF &delta); - void release(const QPointF &delta); + void scrollTo(const QPointF &delta); void scrollTick(); @@ -81,7 +81,6 @@ private: void startTicker(int interval); void stopTicker(); - private: void calculateSpeed(const QPointF &position); void lowerSpeed(QPointF &speed, qreal maxSpeed = 100); |