diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2024-02-12 12:41:41 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-03-04 08:06:48 +0000 |
commit | b6d36d89f671ab86df2a104b54d674490f62d4be (patch) | |
tree | 9ae5327483efae66629b7716fb3b852c418e35a5 /src/particles/qquickgravity_p.h | |
parent | 59e9c863f040f5da5361a9e866b0287aa7636214 (diff) |
Mostly revert "Make properties in the particles module FINAL"
Making properties FINAL is an API break not covered by any QUIP rule.
However, this does not apply to the attached type whose properties were
marked FINAL in the referenced commit, as it is not possible to derive
from it anyway.
This reverts the majority of commit
cb82b9f2addf25db34970ebb48f69291901ad7ba.
Change-Id: Ib001417f0b4236f1c8e068ec5f238a4b9731f8cc
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit 31a60b518bd7d811172b887501e831e6e4e4a9c1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 9b28ff7304bbd0a2e30f2ccec1cd20ddc2f1c451)
Diffstat (limited to 'src/particles/qquickgravity_p.h')
-rw-r--r-- | src/particles/qquickgravity_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/particles/qquickgravity_p.h b/src/particles/qquickgravity_p.h index 54f95564bb..4793a9eb5b 100644 --- a/src/particles/qquickgravity_p.h +++ b/src/particles/qquickgravity_p.h @@ -22,9 +22,9 @@ QT_BEGIN_NAMESPACE class Q_QUICKPARTICLES_PRIVATE_EXPORT QQuickGravityAffector : public QQuickParticleAffector { Q_OBJECT - Q_PROPERTY(qreal magnitude READ magnitude WRITE setMagnitude NOTIFY magnitudeChanged FINAL) - Q_PROPERTY(qreal acceleration READ magnitude WRITE setAcceleration NOTIFY magnitudeChanged FINAL) - Q_PROPERTY(qreal angle READ angle WRITE setAngle NOTIFY angleChanged FINAL) + Q_PROPERTY(qreal magnitude READ magnitude WRITE setMagnitude NOTIFY magnitudeChanged) + Q_PROPERTY(qreal acceleration READ magnitude WRITE setAcceleration NOTIFY magnitudeChanged) + Q_PROPERTY(qreal angle READ angle WRITE setAngle NOTIFY angleChanged) QML_NAMED_ELEMENT(Gravity) QML_ADDED_IN_VERSION(2, 0) public: |