Fix docstrings in Animation.

svn path=/trunk/KDE/kdelibs/; revision=1039118
This commit is contained in:
Mehmet Ali Akmanalp 2009-10-22 19:11:46 +00:00
parent 03bb063c62
commit 4dc1ee533d

View File

@ -34,7 +34,7 @@ class AnimationPrivate {
public: public:
/** /**
* Duration of the animation. Default is 1000ms. * Duration of the animation. Default is 250ms.
*/ */
int duration; int duration;
}; };
@ -58,7 +58,7 @@ void Animation::setDuration(int duration)
QAbstractAnimation* Animation::toQAbstractAnimation(QObject* parent) QAbstractAnimation* Animation::toQAbstractAnimation(QObject* parent)
{ {
//check if .setObject() was done //check if the widget to animate was set already
if (!widgetToAnimate()) { if (!widgetToAnimate()) {
kDebug() << "Object not set."; kDebug() << "Object not set.";
return NULL; return NULL;