Fix docstrings in Animation.
svn path=/trunk/KDE/kdelibs/; revision=1039118
This commit is contained in:
parent
03bb063c62
commit
4dc1ee533d
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user