API REVIEW: activate() -> itemActivated()

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800700
This commit is contained in:
Davide Bettio 2008-04-24 17:36:44 +00:00
parent ae65cf26d5
commit 16e79457e8
3 changed files with 3 additions and 3 deletions

View File

@ -120,7 +120,7 @@ void Animator::itemDisappear(qreal frame, QGraphicsItem* item)
Q_UNUSED(item)
}
void Animator::activate(qreal frame, QGraphicsItem* item)
void Animator::itemActivated(qreal frame, QGraphicsItem* item)
{
Q_UNUSED(frame)
Q_UNUSED(item)

View File

@ -61,7 +61,7 @@ public:
// Item animations
virtual void itemAppear(qreal progress, QGraphicsItem* item);
virtual void itemDisappear(qreal progress, QGraphicsItem* item);
virtual void activate(qreal progress, QGraphicsItem* item);
virtual void itemActivated(qreal progress, QGraphicsItem* item);
// Item movements
virtual void slideIn(qreal progress, QGraphicsItem* item, const QPoint &start, const QPoint &destination);

View File

@ -140,7 +140,7 @@ class Phase::Private
}
break;
case Phase::Activate:
animator->activate(amount, state->item);
animator->itemActivated(amount, state->item);
break;
}
}