API REVIEW: FramesPerSecond() -> animationFramesPerSecond()

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800711
This commit is contained in:
Davide Bettio 2008-04-24 18:06:26 +00:00
parent b74b254741
commit 16ef3e589c
3 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ Animator::~Animator()
{
}
int Animator::framesPerSecond(Plasma::Phase::Animation animation) const
int Animator::animationFramesPerSecond(Plasma::Phase::Animation animation) const
{
Q_UNUSED(animation)
return 0;

View File

@ -44,7 +44,7 @@ public:
~Animator();
// Parameter definitions
virtual int framesPerSecond(Plasma::Phase::Animation) const;
virtual int animationFramesPerSecond(Plasma::Phase::Animation) const;
virtual int framesPerSecond(Plasma::Phase::Movement) const;
virtual int framesPerSecond(Plasma::Phase::ElementAnimation) const;
virtual int duration(Plasma::Phase::Animation) const;

View File

@ -263,7 +263,7 @@ void Phase::animateItem(QGraphicsItem* item, Animation animation)
d->animatedItems.erase(it);
}
int frames = d->animator->framesPerSecond(animation);
int frames = d->animator->animationFramesPerSecond(animation);
if (frames < 1) {
// evidently this animator doesn't have an implementation