Build++;
svn path=/trunk/KDE/kdelibs/; revision=1058004
This commit is contained in:
parent
5c5e62d796
commit
c2a7cf4947
@ -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 */
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user