svn path=/trunk/KDE/kdelibs/; revision=1058004
This commit is contained in:
Adenilson Cavalcanti Da Silva 2009-12-03 19:52:27 +00:00
parent 5c5e62d796
commit c2a7cf4947
3 changed files with 1 additions and 12 deletions

View File

@ -97,11 +97,6 @@ void Animation::setVisible(bool isVisible)
d->animVisible = isVisible;
}
bool Animation::isVisible() const
{
return d->animVisible;
}
void Animation::start(QAbstractAnimation::DeletionPolicy policy)
{
/* TODO: Actually treat policy parameter */

View File

@ -30,6 +30,7 @@
#include <QPropertyAnimation>
#include <QAbstractAnimation>
#include <plasma/plasma_export.h>
#include <plasma/plasma.h>
namespace Plasma
{
@ -46,7 +47,6 @@ class PLASMA_EXPORT Animation : public QAbstractAnimation
Q_OBJECT
Q_PROPERTY(int duration READ duration WRITE setDuration)
Q_PROPERTY(QEasingCurve::Type easingCurveType READ easingCurveType WRITE setEasingCurveType)
Q_PROPERTY(bool isVisible READ isVisible WRITE setVisible)
Q_PROPERTY(QGraphicsWidget *widgetToAnimate READ widgetToAnimate WRITE setWidgetToAnimate)
public:

View File

@ -54,7 +54,6 @@ SlideAnimation::SlideAnimation(QObject *parent,
{
setMovementDirection(direction);
setDistance(distance);
setVisible(true);
}
void SlideAnimation::setMovementDirection(const qint8 &direction)
@ -140,10 +139,5 @@ QAbstractAnimation* SlideAnimation::render(QObject* parent)
}
void SlideAnimation::setVisibleAtEnd(bool visibility)
{
setVisible(visibility);
}
} //namespace Plasma