*Completed -> *Finished()

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800770
This commit is contained in:
Davide Bettio 2008-04-24 20:16:40 +00:00
parent 9250bd82b4
commit 077534dacb
2 changed files with 8 additions and 8 deletions

View File

@ -515,7 +515,7 @@ void Phase::timerEvent(QTimerEvent *event)
} else {
d->performAnimation(1, state);
d->animatedItems.erase(d->animatedItems.find(state->item));
emit animationComplete(state->item, state->animation);
emit animationFinished(state->item, state->animation);
delete state;
}
} else {
@ -538,7 +538,7 @@ void Phase::timerEvent(QTimerEvent *event)
} else {
d->performMovement(1, state);
d->movingItems.erase(d->movingItems.find(state->item));
emit movementComplete(state->item);
emit movementFinished(state->item);
delete state;
}
} else {
@ -571,7 +571,7 @@ void Phase::timerEvent(QTimerEvent *event)
animationsRemain = true;
} else {
d->animatedElements.remove(state->id);
emit elementAnimationComplete(state->id);
emit elementAnimationFinished(state->id);
delete state;
}
} else {
@ -600,7 +600,7 @@ void Phase::timerEvent(QTimerEvent *event)
} else {
QMetaObject::invokeMethod(state->receiver, state->slot, Q_ARG(qreal, 1));
d->customAnims.erase(d->customAnims.find(state->id));
emit customAnimationComplete(state->id);
emit customAnimationFinished(state->id);
delete [] state->slot;
delete state;
}

View File

@ -125,10 +125,10 @@ public:
Q_INVOKABLE bool isAnimating() const;
Q_SIGNALS:
void animationComplete(QGraphicsItem *item, Plasma::Phase::Animation anim);
void movementComplete(QGraphicsItem *item);
void elementAnimationComplete(Plasma::Phase::AnimId id);
void customAnimationComplete(Plasma::Phase::AnimId id);
void animationFinished(QGraphicsItem *item, Plasma::Phase::Animation anim);
void movementFinished(QGraphicsItem *item);
void elementAnimationFinished(Plasma::Phase::AnimId id);
void customAnimationFinished(Plasma::Phase::AnimId id);
protected:
void timerEvent(QTimerEvent *event);