diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-03-23 03:45:53 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-03-23 03:49:12 (GMT) |
commit | 714fac87324b9007e5f82487d2c4a10b1997616e (patch) | |
tree | 8b0832ee6ad805badd5a9dc2b04a5bd68d2979cc /src/declarative/util/qdeclarativeanimation.cpp | |
parent | 7711d400e4ad4d65363bc910d76acdf0d1065195 (diff) | |
download | Qt-714fac87324b9007e5f82487d2c4a10b1997616e.zip Qt-714fac87324b9007e5f82487d2c4a10b1997616e.tar.gz Qt-714fac87324b9007e5f82487d2c4a10b1997616e.tar.bz2 |
Add missing NOTIFYs.
Task-number: QTBUG-8816
Diffstat (limited to 'src/declarative/util/qdeclarativeanimation.cpp')
-rw-r--r-- | src/declarative/util/qdeclarativeanimation.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/declarative/util/qdeclarativeanimation.cpp b/src/declarative/util/qdeclarativeanimation.cpp index 858f9f2..f644917 100644 --- a/src/declarative/util/qdeclarativeanimation.cpp +++ b/src/declarative/util/qdeclarativeanimation.cpp @@ -2277,7 +2277,11 @@ QDeclarativeItem *QDeclarativeParentAnimation::target() const void QDeclarativeParentAnimation::setTarget(QDeclarativeItem *target) { Q_D(QDeclarativeParentAnimation); + if (target == d->target) + return; + d->target = target; + emit targetChanged(); } /*! @@ -2295,7 +2299,11 @@ QDeclarativeItem *QDeclarativeParentAnimation::newParent() const void QDeclarativeParentAnimation::setNewParent(QDeclarativeItem *newParent) { Q_D(QDeclarativeParentAnimation); + if (newParent == d->newParent) + return; + d->newParent = newParent; + emit newParentChanged(); } /*! @@ -2320,7 +2328,11 @@ QDeclarativeItem *QDeclarativeParentAnimation::via() const void QDeclarativeParentAnimation::setVia(QDeclarativeItem *via) { Q_D(QDeclarativeParentAnimation); + if (via == d->via) + return; + d->via = via; + emit viaChanged(); } //### mirrors same-named function in QDeclarativeItem |