diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-04-29 10:32:26 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-05-19 08:36:04 +0200 |
commit | 19ea4e630c70cdab1f7eec4f1a8f278df8915720 (patch) | |
tree | cb5ad929688d5eb5becd74964862db6127b857af /src/imports/builtins | |
parent | d29f3d7a62780d74f62330b0e3a0703a72155852 (diff) |
Clean up registration of QEasingCurve
We don't need to register the Type enum for both QtQml and QtQuick.
QtQml is enough. Removing this makes the whole manual value type
registration obsolete. Furthermore, we want QEasingCurve as QML_FOREIGN
as we have several classes with properties of that type. To keep it nice
and tidy, we make the uppercase-named enum holder class a separate type.
Unfortunately, the Type enums differ in one entry:
QEasingCurve::BezierSpline is called Easing.Bezier in QML. Therefore, we
need to keep the custom enum around. We can change all users in
qtdeclarative to use the name from QEasingCurve, though.
Change-Id: Ibbc78d8bbf8938e2a8722f8c09833a0c73394c3d
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/imports/builtins')
-rw-r--r-- | src/imports/builtins/builtins.qmltypes | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/imports/builtins/builtins.qmltypes b/src/imports/builtins/builtins.qmltypes index 87d599677a..d3897c7b95 100644 --- a/src/imports/builtins/builtins.qmltypes +++ b/src/imports/builtins/builtins.qmltypes @@ -1698,5 +1698,4 @@ Module { } } } - Component { name: "QEasingCurve"; prototype: "QQmlEasingValueType" } } |