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
qquickliteralbindingcheck_p.h
Go to the documentation of this file.
1// Copyright (C) 2024 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3// Qt-Security score:significant reason:default
4
5#ifndef QQUICKLITERALBINDINGCHECK_H
6#define QQUICKLITERALBINDINGCHECK_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtCore/qglobal.h>
20#include <QtCore/qstring.h>
21#include <private/qqmljsliteralbindingcheck_p.h>
22
23QT_BEGIN_NAMESPACE
24
25class QQmlJSImportVisitor;
26class QQmlJSTypeResolver;
27
29{
30public:
32
33 void onBinding(
34 const QQmlSA::Element &element, const QString &propertyName,
35 const QQmlSA::Binding &binding, const QQmlSA::Element &bindingScope,
36 const QQmlSA::Element &value) override;
37
38 QQmlJSStructuredTypeError check(const QString &typeName, const QString &value) const override;
39};
40
41QT_END_NAMESPACE
42
43#endif // QQUICKLITERALBINDINGCHECK_H
void onBinding(const QQmlSA::Element &element, const QString &propertyName, const QQmlSA::Binding &binding, const QQmlSA::Element &bindingScope, const QQmlSA::Element &value) override
Executes whenever a property gets bound to a value.
QQmlJSStructuredTypeError check(const QString &typeName, const QString &value) const override