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
qquickattachedpropertypropagator_p_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
QQUICKATTACHEDPROPERTYPROPAGATOR_P_P_H
5
#
define
QQUICKATTACHEDPROPERTYPROPAGATOR_P_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
"qquickattachedpropertypropagator_p.h"
19
20
#
include
<
QtCore
/
qpointer
.
h
>
21
#
include
<
QtCore
/
private
/
qobject_p
.
h
>
22
#
include
<
QtQuick
/
private
/
qquickitemchangelistener_p
.
h
>
23
24
QT_BEGIN_NAMESPACE
25
26
class
QWindow;
27
class
QQuickWindow;
28
29
namespace
QtPrivate
{
30
31
class
Q_QUICK_EXPORT
QQuickAttachedPropertyPropagatorPrivate
32
:
public
QObjectPrivate
33
,
public
QSafeQuickItemChangeListener
<
QQuickAttachedPropertyPropagatorPrivate
>
34
{
35
public
:
36
Q_DECLARE_PUBLIC
(
QQuickAttachedPropertyPropagator
)
37
38
static
QQuickAttachedPropertyPropagatorPrivate
*
get
(
QQuickAttachedPropertyPropagator
*
attachedObject
)
39
{
40
return
attachedObject
->
d_func
();
41
}
42
43
void
init
();
44
45
void
attachTo
(
QObject
*
object
);
46
void
detachFrom
(
QObject
*
object
);
47
void
setAttachedParent
(
QQuickAttachedPropertyPropagator
*
parent
);
48
49
void
itemWindowChanged
(
QQuickWindow
*
window
);
50
void
transientParentWindowChanged
(
QWindow
*
newTransientParent
);
51
void
itemParentChanged
(
QQuickItem
*
item
,
QQuickItem
*
parent
)
override
;
52
53
static
const
QMetaObject
*
firstCppMetaObject
(
QQuickAttachedPropertyPropagator
*
propagator
);
54
static
QQuickAttachedPropertyPropagator
*
findAttachedParent
(
const
QMetaObject
*
attachedType
,
55
QObject
*
attachee
);
56
static
QList
<
QQuickAttachedPropertyPropagator
*>
findAttachedChildren
(
57
const
QMetaObject
*
attachedType
,
QObject
*
object
);
58
static
QQuickItem
*
findAttachedItem
(
QObject
*
object
);
59
60
QList
<
QQuickAttachedPropertyPropagator
*>
attachedChildren
;
61
QPointer
<
QQuickAttachedPropertyPropagator
>
attachedParent
;
62
const
QMetaObject
*
attacherMetaObject
=
nullptr
;
63
};
64
65
}
// namespace QtPrivate
66
67
QT_END_NAMESPACE
68
69
#
endif
// QQUICKATTACHEDPROPERTYPROPAGATOR_P_P_H
QtPrivate::QQuickAttachedPropertyPropagatorPrivate
Definition
qquickattachedpropertypropagator_p_p.h:34
QtPrivate::QQuickAttachedPropertyPropagator
Definition
qquickattachedpropertypropagator_p.h:36
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qrandomaccessasyncfile_darwin.mm:17
QtPrivate
Definition
qalloc.h:28
QtPrivate::operator<<
QDebug operator<<(QDebug debug, const QQuickAttachedPropertyPropagator *propagator)
Definition
qquickattachedpropertypropagator.cpp:423
QT_DECLARE_EXPORTED_QT_LOGGING_CATEGORY
QT_BEGIN_NAMESPACE QT_DECLARE_EXPORTED_QT_LOGGING_CATEGORY(lcAotCompiler, Q_QMLCOMPILER_EXPORT)
qtdeclarative
src
quick
util
qquickattachedpropertypropagator_p_p.h
Generated on
for Qt by
1.16.1