From db5fd60cc8874e21e38f036939b5c99c07da764d Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Tue, 20 Oct 2009 21:24:06 +0000 Subject: [PATCH] SVN_SILENT: cosmetics svn path=/trunk/KDE/kdelibs/; revision=1038237 --- animations/animation.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/animations/animation.h b/animations/animation.h index c11eb3c05..4cf6494be 100644 --- a/animations/animation.h +++ b/animations/animation.h @@ -63,13 +63,18 @@ public: QAbstractAnimation* toQAbstractAnimation(QObject* parent = 0); protected: - /** * Change the animation duration. Default is 1000ms. * @arg duration The new duration of the animation. */ virtual void setDuration(int duration = 250); + /** + * Get the animation duration. + * @return duration in ms. + */ + int duration() const; + /** * Each individual class must override this function to place their main * functionality. This function must take the values from the constructor, @@ -78,14 +83,7 @@ protected: */ virtual QAbstractAnimation* render(QObject* parent = 0) = 0; - /** - * Get the animation duration. - * @return duration in ms. - */ - int duration() const; - private: - AnimationPrivate * const d; };