diff --git a/animator.cpp b/animator.cpp index c0ee3216a..659b0b2e9 100644 --- a/animator.cpp +++ b/animator.cpp @@ -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; diff --git a/animator.h b/animator.h index f0af7dcfd..8c7bb7a6f 100644 --- a/animator.h +++ b/animator.h @@ -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; diff --git a/phase.cpp b/phase.cpp index 102289702..81b40fe24 100644 --- a/phase.cpp +++ b/phase.cpp @@ -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