Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qqmljslinterrenamedcomponents_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 GPL-3.0-only WITH Qt-GPL-exception-1.0
3
// Qt-Security score:significant
4
5
#
ifndef
QQMLJSLINTERRENAMEDCOMPONENTS_P_H
6
#
define
QQMLJSLINTERRENAMEDCOMPONENTS_P_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
#
include
<
private
/
qqmljslogger_p
.
h
>
19
#
include
<
private
/
qqmljssourcelocation_p
.
h
>
20
#
include
<
private
/
qqmljsscope_p
.
h
>
21
22
#
include
<
QtCore
/
qhash
.
h
>
23
#
include
<
QtCore
/
qstring
.
h
>
24
#
include
<
QtCore
/
qvarlengtharray
.
h
>
25
26
QT_BEGIN_NAMESPACE
27
28
namespace
QQmlJS
{
29
30
class
LinterRenamedComponents
31
{
32
public
:
33
void
handleRenamedType
(
const
QQmlJSScope::ConstPtr &scope,
const
QStringView name,
34
const
QQmlJS::SourceLocation &location, QQmlJSLogger *logger)
const
;
35
36
void
setScopeToName
(
const
QMultiHash<QQmlJSScope::ConstPtr, QString> *scopeToName)
37
{
38
m_scopeToName = scopeToName;
39
}
40
41
private
:
42
const
QMultiHash<QQmlJSScope::ConstPtr, QString> *m_scopeToName =
nullptr
;
43
};
44
45
}
// namespace QQmlJS
46
47
QT_END_NAMESPACE
48
49
#
endif
// QQMLJSLINTERRENAMEDCOMPONENTS_P_H
QQmlJS::LinterRenamedComponents
Definition
qqmljslinterrenamedcomponents_p.h:31
QQmlJS::LinterRenamedComponents::setScopeToName
void setScopeToName(const QMultiHash< QQmlJSScope::ConstPtr, QString > *scopeToName)
Definition
qqmljslinterrenamedcomponents_p.h:36
QQmlJS::LinterRenamedComponents::handleRenamedType
void handleRenamedType(const QQmlJSScope::ConstPtr &scope, const QStringView name, const QQmlJS::SourceLocation &location, QQmlJSLogger *logger) const
Definition
qqmljslinterrenamedcomponents.cpp:35
QQmlJS
Definition
qv4bytecodegenerator_p.h:27
QQmlJS::removeModuleImportQualifiers
static void removeModuleImportQualifiers(QStringList *names)
Definition
qqmljslinterrenamedcomponents.cpp:27
QQmlJS::qmlNameFromFilePath
static QString qmlNameFromFilePath(QStringView path)
Definition
qqmljslinterrenamedcomponents.cpp:13
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtdeclarative
src
qmllint
qqmljslinterrenamedcomponents_p.h
Generated on
for Qt by
1.18.0