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#ifndef QQMLPROPERTYVALUESOURCE_H
5#define QQMLPROPERTYVALUESOURCE_H
6
7#include <QtQml/qtqmlglobal.h>
8#include <QtCore/qobject.h>
9
10QT_BEGIN_NAMESPACE
11
12
13class QQmlProperty;
14class Q_QML_EXPORT QQmlPropertyValueSource
15{
16public:
17 QQmlPropertyValueSource();
18 virtual ~QQmlPropertyValueSource();
19 virtual void setTarget(const QQmlProperty &) = 0;
20};
21
22#define QQmlPropertyValueSource_iid "org.qt-project.Qt.QQmlPropertyValueSource"
23
24Q_DECLARE_INTERFACE(QQmlPropertyValueSource, QQmlPropertyValueSource_iid)
25
26QT_END_NAMESPACE
27
28#endif // QQMLPROPERTYVALUESOURCE_H
29

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