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
qqmlpreviewbindingpatchcontext_p.h
Go to the documentation of this file.
1
// Copyright (C) 2026 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
// Qt-Security score:significant reason:default
4
#
ifndef
QQMLPREVIEWBINDINGPATCHCONTEXT_P_H
5
#
define
QQMLPREVIEWBINDINGPATCHCONTEXT_P_H
6
7
#
include
<
private
/
qduplicatetracker_p
.
h
>
8
#
include
<
private
/
qqmlanybinding_p
.
h
>
9
#
include
<
private
/
qqmlcontextdata_p
.
h
>
10
#
include
<
private
/
qqmldata_p
.
h
>
11
#
include
<
private
/
qqmlpreviewdiff_p
.
h
>
12
#
include
<
private
/
qqmlvmemetaobject_p
.
h
>
13
#
include
<
private
/
qv4executablecompilationunit_p
.
h
>
14
15
//
16
// W A R N I N G
17
// -------------
18
//
19
// This file is not part of the Qt API. It exists purely as an
20
// implementation detail. This header file may change from version to
21
// version without notice, or even be removed.
22
//
23
// We mean it.
24
//
25
26
QT_BEGIN_NAMESPACE
27
28
namespace
QQmlPreview
{
29
30
class
BindingPatchContext
31
{
32
public
:
33
BindingPatchContext
(QObject *object) :
m_object
(
object
),
m_ddata
(
QQmlData
::
get
(
object
)) { }
34
35
void
reset
();
36
37
private
:
38
void
resetBinding(
const
QMetaObject *metaObject,
const
QV4::CompiledData::Binding *binding,
39
const
QString &defaultPropName,
40
const
QQmlRefPointer<QV4::ExecutableCompilationUnit> &oldUnit);
41
void
resetBindings(
const
QMetaObject *metaObject,
42
const
QQmlRefPointer<QV4::ExecutableCompilationUnit> &oldUnit,
int
cuIndex);
43
44
QObject *m_object =
nullptr
;
45
QQmlData *m_ddata =
nullptr
;
46
QDuplicateTracker<
int
> m_handledProperties;
47
};
48
49
}
// namespace QQmlPreview
50
51
QT_END_NAMESPACE
52
53
#
endif
QQmlPreview::BindingPatchContext
Definition
qqmlpreviewbindingpatchcontext_p.h:31
QQmlPreview::BindingPatchContext::reset
void reset()
Definition
qqmlpreviewbindingpatchcontext.cpp:21
QQmlPreview::BindingPatchContext::BindingPatchContext
BindingPatchContext(QObject *object)
Definition
qqmlpreviewbindingpatchcontext_p.h:33
QQmlPreview
Definition
qqmlboundsignal_p.h:66
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtdeclarative
src
qmlpreview
qqmlpreviewbindingpatchcontext_p.h
Generated on
for Qt by
1.16.1