From 50e984c07229b753d6558610e7fa7c7df733fe50 Mon Sep 17 00:00:00 2001 From: Fabian Kosmale Date: Fri, 26 Feb 2021 10:22:33 +0100 Subject: Introduce QQmlAnyBinding as an abstraction over bindings QQmlAnyBinding is meant to abstract over the differences between classical, QQmlAbstractBinding derived bindings and the newer QPropertyBindingPrivate based ones. It can be used to store, receive, remove, create and set bindings of both types. In addition, this patches adds the functionality to create a QQmlPropertyBinding from a code string, which was so far only possible with QQmlBinding; and adds a few methods to QBiPointer to ease the implementation of QQmlAnyBinding. Task-number: QTBUG-91000 Change-Id: I7076d6fb426f315f32c1b054c5c3ba56312bed29 Reviewed-by: Andrei Golubev Reviewed-by: Ulf Hermann --- src/qml/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/qml/CMakeLists.txt') diff --git a/src/qml/CMakeLists.txt b/src/qml/CMakeLists.txt index a96ddc2ab7..0d87869d00 100644 --- a/src/qml/CMakeLists.txt +++ b/src/qml/CMakeLists.txt @@ -269,6 +269,7 @@ qt_internal_add_module(Qml qml/qqmlprivate.h qml/qqmlproperty.cpp qml/qqmlproperty.h qml/qqmlproperty_p.h qml/qqmlpropertybinding.cpp qml/qqmlpropertybinding_p.h + qml/qqmlanybinding_p.h qml/qqmlpropertycache.cpp qml/qqmlpropertycache_p.h qml/qqmlpropertycachecreator.cpp qml/qqmlpropertycachecreator_p.h qml/qqmlpropertycachemethodarguments_p.h -- cgit v1.2.3