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
qdslintplugin.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 QDSLINTPLUGIN_H
6#define QDSLINTPLUGIN_H
7
8#include <QtCore/qplugin.h>
9
10#include <QtQmlCompiler/qqmlsa.h>
12
14
16{
17 Q_OBJECT
18 Q_PLUGIN_METADATA(IID QmlLintPluginInterface_iid FILE "plugin.json")
20
21public:
23};
24
25QT_END_NAMESPACE
26
27#endif // QDSLINTPLUGIN_H
void onCall(const Element &element, const QString &propertyName, const Element &readScope, SourceLocation location) override
Executes whenever a property or method is called.
FunctionCallValidator(PassManager *manager)
void onCall(const QQmlSA::Element &element, const QString &propertyName, const QQmlSA::Element &readScope, QQmlSA::SourceLocation location) override
Executes whenever a property or method is called.
QdsBindingValidator(PassManager *manager, const Element &)
void onRead(const QQmlSA::Element &element, const QString &propertyName, const QQmlSA::Element &readScope, QQmlSA::SourceLocation location) override
Executes whenever a property is read.
void onWrite(const QQmlSA::Element &element, const QString &propertyName, const QQmlSA::Element &value, const QQmlSA::Element &writeScope, QQmlSA::SourceLocation location) override
Executes whenever a property is written to.
void run(const Element &element) override
Executes if shouldRun() returns true.
QdsElementValidator(PassManager *passManager)
\inmodule QtQmlCompiler
constexpr LoggerWarningId ErrInvalidIdeInVisualDesigner
constexpr LoggerWarningId ErrUnsupportedTypeInQmlUi
constexpr LoggerWarningId ErrFunctionsNotSupportedInQmlUi
constexpr LoggerWarningId WarnImperativeCodeNotEditableInVisualDesigner
constexpr LoggerWarningId WarnReferenceToParentItemNotSupportedByVisualDesigner
constexpr LoggerWarningId ErrUnsupportedRootTypeInQmlUi