const'ify

svn path=/trunk/KDE/kdelibs/; revision=1025302
This commit is contained in:
Laurent Montel 2009-09-18 10:26:43 +00:00
parent 770791bcaa
commit 1a8d9c1030
2 changed files with 6 additions and 6 deletions

View File

@ -98,17 +98,17 @@ KineticScrolling::~KineticScrolling()
delete d;
}
int KineticScrolling::movement()
int KineticScrolling::movement() const
{
return d->movement;
}
int KineticScrolling::kinMovement()
int KineticScrolling::kinMovement() const
{
return d->kinMovement;
}
qreal KineticScrolling::duration()
qreal KineticScrolling::duration() const
{
return d->timeDelta;
}

View File

@ -46,9 +46,9 @@ class KineticScrolling: public QObject
KineticScrollingPrivate *d;
void timerEvent(QTimerEvent *event);
void bounceTimer();
qreal duration();
int movement();
int kinMovement();
qreal duration() const;
int movement() const;
int kinMovement() const;
void startAnimationTimer(int interval);
void doneOvershoot(void);