From 16e79457e810de282a3eb195eea9222b87f57886 Mon Sep 17 00:00:00 2001 From: Davide Bettio Date: Thu, 24 Apr 2008 17:36:44 +0000 Subject: [PATCH] API REVIEW: activate() -> itemActivated() svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800700 --- animator.cpp | 2 +- animator.h | 2 +- phase.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/animator.cpp b/animator.cpp index 958a1ccf1..0b97086c4 100644 --- a/animator.cpp +++ b/animator.cpp @@ -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) diff --git a/animator.h b/animator.h index b9e42c652..ed90e56e5 100644 --- a/animator.h +++ b/animator.h @@ -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); diff --git a/phase.cpp b/phase.cpp index bc571ac74..91ef01a01 100644 --- a/phase.cpp +++ b/phase.cpp @@ -140,7 +140,7 @@ class Phase::Private } break; case Phase::Activate: - animator->activate(amount, state->item); + animator->itemActivated(amount, state->item); break; } }