From ae65cf26d581aeebacf55abe83933898affeb21f Mon Sep 17 00:00:00 2001 From: Davide Bettio Date: Thu, 24 Apr 2008 17:30:49 +0000 Subject: [PATCH] API REVIEW: disappear() -> itemDisappear() svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800698 --- 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 ee339c172..958a1ccf1 100644 --- a/animator.cpp +++ b/animator.cpp @@ -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) diff --git a/animator.h b/animator.h index 267a057c5..b9e42c652 100644 --- a/animator.h +++ b/animator.h @@ -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 diff --git a/phase.cpp b/phase.cpp index 0ca75c92b..bc571ac74 100644 --- a/phase.cpp +++ b/phase.cpp @@ -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(); }