Some more cleanups.

svn path=/trunk/KDE/kdelibs/; revision=1059909
This commit is contained in:
Adenilson Cavalcanti Da Silva 2009-12-07 16:41:40 +00:00
parent f4ff321b7a
commit 0e503cbc5f
2 changed files with 4 additions and 3 deletions

View File

@ -167,7 +167,7 @@ void PulseAnimation::updateState(QAbstractAnimation::State newState, QAbstractAn
d->animation.data()->start(); d->animation.data()->start();
} else if (newState == Stopped) { } else if (newState == Stopped) {
//d->animation.data()->stop();
} }
} }
@ -175,7 +175,9 @@ void PulseAnimation::updateState(QAbstractAnimation::State newState, QAbstractAn
void PulseAnimation::updateCurrentTime(int currentTime) void PulseAnimation::updateCurrentTime(int currentTime)
{ {
qDebug() << "\t: " << currentTime; /* TODO: reuse this time and update properties without the
* the need of an internal animation group.
*/
} }
} //namespace Plasma } //namespace Plasma

View File

@ -35,7 +35,6 @@ public:
PulseAnimation(QObject *parent = 0); PulseAnimation(QObject *parent = 0);
~PulseAnimation(); ~PulseAnimation();
void updateGeometry(QRectF updated, qreal zCoordinate = 0, qreal scale = 1.5);
void setWidgetToAnimate(QGraphicsWidget *widget); void setWidgetToAnimate(QGraphicsWidget *widget);
public Q_SLOTS: public Q_SLOTS: