1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#include "qqmlpropertyvaluesource.h"
5
6QT_BEGIN_NAMESPACE
7
8/*!
9 \class QQmlPropertyValueSource
10 \brief The QQmlPropertyValueSource class is an interface for property value sources such as animations and bindings.
11 \inmodule QtQml
12
13 See \l{Property Value Sources} for information on writing custom property
14 value sources.
15 */
16
17/*!
18 Constructs a QQmlPropertyValueSource.
19*/
20QQmlPropertyValueSource::QQmlPropertyValueSource()
21{
22}
23
24/*!
25 Destroys the value source.
26*/
27QQmlPropertyValueSource::~QQmlPropertyValueSource()
28{
29}
30
31/*!
32 \fn void QQmlPropertyValueSource::setTarget(const QQmlProperty &property)
33 Set the target \a property for the value source. This method will
34 be called by the QML engine when assigning a value source.
35*/
36
37QT_END_NAMESPACE
38

source code of qtdeclarative/src/qml/qml/qqmlpropertyvaluesource.cpp