API REVIEW: slideOut() -> itemSlideOut()

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800706
This commit is contained in:
Davide Bettio 2008-04-24 17:51:33 +00:00
parent b88c344091
commit 0b28813b3e
3 changed files with 3 additions and 3 deletions

View File

@ -133,7 +133,7 @@ void Animator::itemSlideIn(qreal progress, QGraphicsItem *item, const QPoint &st
item->setPos(x, y);
}
void Animator::slideOut(qreal progress, QGraphicsItem *item, const QPoint &start, const QPoint &destination)
void Animator::itemSlideOut(qreal progress, QGraphicsItem *item, const QPoint &start, const QPoint &destination)
{
//kDebug();
double x = start.x() + (destination.x() - start.x()) * progress;

View File

@ -65,7 +65,7 @@ public:
// Item movements
virtual void itemSlideIn(qreal progress, QGraphicsItem* item, const QPoint &start, const QPoint &destination);
virtual void slideOut(qreal progress, QGraphicsItem* item, const QPoint &start, const QPoint &destination);
virtual void itemSlideOut(qreal progress, QGraphicsItem* item, const QPoint &start, const QPoint &destination);
private:
class Private;

View File

@ -156,7 +156,7 @@ class Phase::Private
case Phase::SlideOut:
case Phase::FastSlideOut:
//kDebug() << "performMovement, SlideOut";
animator->slideOut(amount, state->item, state->start, state->destination);
animator->itemSlideOut(amount, state->item, state->start, state->destination);
break;
}
}