qt5base-lts/tests/auto/corelib
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
..
animation Port QPropertyAnimation::targetObject to bindable properties 2021-04-28 12:38:57 +02:00
global Fix warnings from ignored [[nodiscard]] returns 2021-04-28 06:48:58 +02:00
io Fix warnings from deprecated posix functions 2021-04-28 06:48:33 +02:00
itemmodels Port of QItemSelectionModel::model to new property system 2021-04-27 20:12:50 +02:00
kernel Fix QJniObject templates implementations 2021-04-23 15:43:28 +03:00
mimetypes Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
plugin Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
serialization Correct prefix reported for end element in QXmlStreamReader 2021-04-20 03:03:51 +02:00
text Add more tests for QList/QString/QBA 2021-04-27 14:12:34 +02:00
thread QThreadPool: obey the docs that say we always use at least 1 thread 2021-04-24 00:37:14 +00:00
time Check POSIX rules during QTzTimeZone creation 2021-04-27 14:12:35 +02:00
tools Add more tests for QList/QString/QBA 2021-04-27 14:12:34 +02:00
CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00