svn path=/trunk/KDE/kdelibs/; revision=1034731
This commit is contained in:
Marco Martin 2009-10-13 10:47:41 +00:00
parent e6661712a8
commit b3c08d7c3f

View File

@ -35,22 +35,23 @@ class KineticScrollingPrivate;
class KineticScrolling: public QObject
{
public:
KineticScrolling();
~KineticScrolling();
void mouseMoveEvent(QGraphicsSceneMouseEvent *event);
void mousePressEvent(QGraphicsSceneMouseEvent *event);
void mouseReleaseEvent(QGraphicsSceneMouseEvent *event);
void wheelReleaseEvent(QGraphicsSceneWheelEvent *event);
void setWidget(QGraphicsWidget *parent);
private:
KineticScrollingPrivate *d;
void timerEvent(QTimerEvent *event);
void bounceTimer();
void duration();
QPointF kinMovement();
void startAnimationTimer(int interval);
void doneOvershoot(void);
Q_OBJECT
public:
KineticScrolling();
~KineticScrolling();
void mouseMoveEvent(QGraphicsSceneMouseEvent *event);
void mousePressEvent(QGraphicsSceneMouseEvent *event);
void mouseReleaseEvent(QGraphicsSceneMouseEvent *event);
void wheelReleaseEvent(QGraphicsSceneWheelEvent *event);
void setWidget(QGraphicsWidget *parent);
private:
KineticScrollingPrivate *d;
void timerEvent(QTimerEvent *event);
void bounceTimer();
void duration();
QPointF kinMovement();
void startAnimationTimer(int interval);
void doneOvershoot(void);
public Q_SLOTS:
void setKineticScrollValue(QPointF value);