create arguments default

svn path=/trunk/KDE/kdelibs/; revision=1038079
This commit is contained in:
Igor Trindade Oliveira 2009-10-20 15:56:57 +00:00
parent cd443a3ff9
commit 799e2dc3fb
4 changed files with 4 additions and 4 deletions

View File

@ -42,7 +42,7 @@ class PLASMA_EXPORT ExpandAnimation : public Animation
Q_OBJECT
public:
ExpandAnimation(AnimationDirection direction, qreal distance);
ExpandAnimation(AnimationDirection direction = MoveUp, qreal distance = 0);
virtual ~ExpandAnimation(){};
protected:

View File

@ -41,7 +41,7 @@ class PLASMA_EXPORT FadeAnimation : public Animation
Q_OBJECT
public:
FadeAnimation(qreal factor);
FadeAnimation(qreal factor = 0.5);
virtual ~FadeAnimation(){};
protected:

View File

@ -44,7 +44,7 @@ class PLASMA_EXPORT GrowAnimation : public Animation
public:
/* TODO: convert to qreal */
GrowAnimation(qreal factor);
GrowAnimation(qreal factor = 0.5);
virtual ~GrowAnimation(){};
protected:

View File

@ -42,7 +42,7 @@ class PLASMA_EXPORT SlideAnimation : public Animation
Q_OBJECT
public:
SlideAnimation(AnimationDirection direction, qreal distance);
SlideAnimation(AnimationDirection direction = MoveUp, qreal distance = 0);
virtual ~SlideAnimation(){};
/**
* Set if the widget is visible at the end of the animation (default True).