The API changed for rotations, requiring another argument for positions.
[contacts_plasmoid.git] / kineticscroll.h
blobb977242607c7b4c5e50694fbe3cb44a2eb7d0305
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 protected:
15 void mouseMoveEvent( QGraphicsSceneMouseEvent *event);
16 void mousePressEvent( QGraphicsSceneMouseEvent *event);
17 void mouseReleaseEvent( QGraphicsSceneMouseEvent *event);
19 qreal duration();
20 qreal movement();
22 private:
23 KineticScrollingPrivate *d;
26 #endif