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
26QT_BEGIN_NAMESPACE
27
28namespace QQmlPreview {
29
31{
32public:
34
35 void reset();
36
37private:
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
51QT_END_NAMESPACE
52
53#endif
Combined button and popup list for selecting options.