setTarget -> targetReached, setTargetItem -> targetItemReached

svn path=/trunk/KDE/kdelibs/; revision=1032017
This commit is contained in:
Aaron J. Seigo 2009-10-06 16:44:23 +00:00
parent 70b3847210
commit bd5359ca8f
2 changed files with 4 additions and 4 deletions

View File

@ -115,7 +115,7 @@ void ItemBackground::setTarget(const QRectF &newGeometry)
setGeometry(d->newGeometry);
targetReached(newGeometry);
if (d->target) {
emit targetReached(d->target);
emit targetItemReached(d->target);
}
return;
}
@ -135,7 +135,7 @@ void ItemBackground::setTarget(const QRectF &newGeometry)
show();
targetReached(newGeometry);
if (d->target) {
emit targetReached(d->target);
emit targetItemReached(d->target);
}
} else {
d->fading = false;
@ -284,7 +284,7 @@ void ItemBackgroundPrivate::animationUpdate(qreal progress)
if ((!fading) || (fadeIn)) {
emit q->targetReached(newGeometry);
if (target) {
emit q->targetReached(target);
emit q->targetItemReached(target);
}
}
}

View File

@ -96,7 +96,7 @@ Q_SIGNALS:
* Emitted when the target has been reached. Useful to consider this instead of
* the corresponding hoverEnterEvent;
*/
void targetReached(QGraphicsItem *);
void targetItemReached(QGraphicsItem *);
protected:
/**