Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qquickattachedpropertypropagatortarget_p.h
Go to the documentation of this file.
1// Copyright (C) 2025 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 QQUICKATTACHEDPROPERTYPROPAGATORTARGET_P_H
5#define QQUICKATTACHEDPROPERTYPROPAGATORTARGET_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtQuick/qtquickexports.h>
19
21
22class QQuickItem;
23
24namespace QtPrivate {
25class QQuickAttachedPropertyPropagator;
26}
27
28// Allows non-QQuickItem types like QQuickPopup to be used with
29// QtPrivate::QQuickAttachedPropertyPropagator.
30// ### Qt 7: make public: QTBUG-138546. We might also want to replace
31// QQuickItemPrivate::attachedPropertyPropagator_parent with this,
32// but then QQuickItem needs to derive from this.
34{
35public:
36 virtual ~QQuickAttachedPropertyPropagatorTarget() = default;
37
38 virtual QQuickItem *attacheeItem() const = 0;
39 virtual QtPrivate::QQuickAttachedPropertyPropagator *attachedParent(
40 const QMetaObject *attachedType) const = 0;
41};
42
43// This is needed to be able to qobject_cast.
44#define QQuickAttachedPropertyPropagatorTarget_iid "org.qt-project.Qt.QQuickAttachedPropertyPropagatorTarget"
46
47QT_END_NAMESPACE
48
49#endif // QQUICKATTACHEDPROPERTYPROPAGATORTARGET_P_H
Combined button and popup list for selecting options.
QDebug operator<<(QDebug debug, const QQuickAttachedPropertyPropagator *propagator)
Q_DECLARE_INTERFACE(QNetworkAccessBackendFactory, QNetworkAccessBackendFactory_iid)
QT_BEGIN_NAMESPACE QT_DECLARE_EXPORTED_QT_LOGGING_CATEGORY(lcAotCompiler, Q_QMLCOMPILER_EXPORT)
#define QQuickAttachedPropertyPropagatorTarget_iid