blob: ec5ff7991a3a7b1b78511e13a2fc7f48d97b8869 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
// Copyright (C) 2022 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
#ifndef QQUICKATTACHEDOBJECT_H
#define QQUICKATTACHEDOBJECT_H
#include <QtCore/qobject.h>
#include <QtQuickControls2/qtquickcontrols2global.h>
QT_BEGIN_NAMESPACE
class QQuickAttachedPropertyPropagatorPrivate;
class Q_QUICKCONTROLS2_EXPORT QQuickAttachedPropertyPropagator : public QObject
{
Q_OBJECT
public:
explicit QQuickAttachedPropertyPropagator(QObject *parent = nullptr);
~QQuickAttachedPropertyPropagator();
QList<QQuickAttachedPropertyPropagator *> attachedChildren() const;
QQuickAttachedPropertyPropagator *attachedParent() const;
protected:
void initialize();
virtual void attachedParentChange(QQuickAttachedPropertyPropagator *newParent, QQuickAttachedPropertyPropagator *oldParent);
private:
Q_DECLARE_PRIVATE(QQuickAttachedPropertyPropagator)
};
QT_END_NAMESPACE
#endif // QQUICKATTACHEDOBJECT_H
|