API REVIEW: slideIn() -> itemSlideIn()

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

View File

@ -126,7 +126,7 @@ void Animator::itemActivated(qreal frame, QGraphicsItem* item)
Q_UNUSED(item)
}
void Animator::slideIn(qreal progress, QGraphicsItem *item, const QPoint &start, const QPoint &destination)
void Animator::itemSlideIn(qreal progress, QGraphicsItem *item, const QPoint &start, const QPoint &destination)
{
double x = start.x() + (destination.x() - start.x()) * progress;
double y = start.y() + (destination.y() - start.y()) * progress;

View File

@ -64,7 +64,7 @@ public:
virtual void itemActivated(qreal progress, QGraphicsItem* item);
// Item movements
virtual void slideIn(qreal progress, QGraphicsItem* item, const QPoint &start, const QPoint &destination);
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);
private:

View File

@ -151,7 +151,7 @@ class Phase::Private
case Phase::SlideIn:
case Phase::FastSlideIn:
//kDebug() << "performMovement, SlideIn";
animator->slideIn(amount, state->item, state->start, state->destination);
animator->itemSlideIn(amount, state->item, state->start, state->destination);
break;
case Phase::SlideOut:
case Phase::FastSlideOut: