From 16ef3e589c0cfdd1a4a14b15cece94e64ec512aa Mon Sep 17 00:00:00 2001 From: Davide Bettio Date: Thu, 24 Apr 2008 18:06:26 +0000 Subject: [PATCH] API REVIEW: FramesPerSecond() -> animationFramesPerSecond() svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800711 --- animator.cpp | 2 +- animator.h | 2 +- phase.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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