Adding some pixels in movement to make it work with lighter
[kineticlist.git] / kineticscroll.h
blob64337624b11d4e5ff88478b795091de6b2d08352
1 #ifndef KINETICSCROLLING_H
2 #define KINETICSCROLLING_H
4 #include <QtCore/qglobal.h>
5 #include <QtCore/qmetatype.h>
6 #include <QGraphicsSceneMouseEvent>
8 #include "kineticscroll_p.h"
10 class KineticScrolling
12 public:
13 KineticScrolling();
14 ~KineticScrolling();
17 protected:
18 void mouseMoveEvent( QGraphicsSceneMouseEvent *event);
19 void mousePressEvent( QGraphicsSceneMouseEvent *event);
20 void mouseReleaseEvent( QGraphicsSceneMouseEvent *event);
22 qreal duration();
23 qreal movement();
25 private:
26 KineticScrollingPrivate *d;
29 #endif