aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qmltc/supportlibrary/qqmlcpponassignment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qmltc/supportlibrary/qqmlcpponassignment.cpp')
-rw-r--r--src/qml/qmltc/supportlibrary/qqmlcpponassignment.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/qml/qmltc/supportlibrary/qqmlcpponassignment.cpp b/src/qml/qmltc/supportlibrary/qqmlcpponassignment.cpp
new file mode 100644
index 0000000000..e6f170fe25
--- /dev/null
+++ b/src/qml/qmltc/supportlibrary/qqmlcpponassignment.cpp
@@ -0,0 +1,20 @@
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+#include "qqmlcpponassignment_p.h"
+
+QT_BEGIN_NAMESPACE
+
+void QQmlCppOnAssignmentHelper::set(QQmlPropertyValueInterceptor *interceptor,
+ const QQmlProperty &property)
+{
+ interceptor->setTarget(property);
+}
+
+void QQmlCppOnAssignmentHelper::set(QQmlPropertyValueSource *valueSource,
+ const QQmlProperty &property)
+{
+ valueSource->setTarget(property);
+}
+
+QT_END_NAMESPACE