API REVIEW: FramesPerSecond() -> animationFramesPerSecond()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800711
This commit is contained in:
parent
b74b254741
commit
16ef3e589c
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user