qt5base-lts/tests/auto/corelib/animation
Andreas Buhr bb5d2af767 Port QPropertyAnimation::targetObject to bindable properties
This is one of the more complicated ports. The target object
was represented by two variables in the past: A raw pointer and a
QPointer. The QPointer is checked in some cases to check whether
the target object still exists.
This patch introduces a targetObjectDestroyed() slot and connects
it to the destroyed(QObject*) signal of the target object.
In this slot, the animation is stopped. The checks become
obsolete thereby and it is sufficient to represent the target
Object in one raw pointer.
This raw pointer becomes a bindable property.

Fixes: QTBUG-92992
Change-Id: I7e2ddb5d8aed007400fe74bea1becf7bdfbf2563
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
2021-04-28 12:38:57 +02:00
..
qabstractanimation Port QAbstractAnimation to the new property system 2021-04-27 21:33:48 +02:00
qanimationgroup Remove the qmake project files 2021-01-07 15:32:28 +01:00
qparallelanimationgroup Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpauseanimation Port QPauseAnimation to the new property system 2021-01-26 21:47:47 +01:00
qpropertyanimation Port QPropertyAnimation::targetObject to bindable properties 2021-04-28 12:38:57 +02:00
qsequentialanimationgroup Port QSequentialAnimationGroup to new property system 2021-04-19 15:18:46 +02:00
qvariantanimation Remove the qmake project files 2021-01-07 15:32:28 +01:00
CMakeLists.txt CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00