API REVIEW: disappear() -> itemDisappear()

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800698
This commit is contained in:
Davide Bettio 2008-04-24 17:30:49 +00:00
parent 45d4be4b8d
commit ae65cf26d5
3 changed files with 3 additions and 3 deletions

View File

@ -114,7 +114,7 @@ void Animator::itemAppear(qreal frame, QGraphicsItem* item)
Q_UNUSED(item)
}
void Animator::disappear(qreal frame, QGraphicsItem* item)
void Animator::itemDisappear(qreal frame, QGraphicsItem* item)
{
Q_UNUSED(frame)
Q_UNUSED(item)

View File

@ -60,7 +60,7 @@ public:
// Item animations
virtual void itemAppear(qreal progress, QGraphicsItem* item);
virtual void disappear(qreal progress, QGraphicsItem* item);
virtual void itemDisappear(qreal progress, QGraphicsItem* item);
virtual void activate(qreal progress, QGraphicsItem* item);
// Item movements

View File

@ -134,7 +134,7 @@ class Phase::Private
animator->itemAppear(amount, state->item);
break;
case Phase::Disappear:
animator->disappear(amount, state->item);
animator->itemDisappear(amount, state->item);
if (amount >= 1) {
state->item->hide();
}