Qt
6.x
The Qt SDK
Loading...
Searching...
No Matches
qqmlsaconstants.h
Go to the documentation of this file.
1
// Copyright (C) 2023 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
4
#ifndef QQMLSACONSTANTS_H
5
#define QQMLSACONSTANTS_H
6
7
#include <QtCore/qfileinfo.h>
8
9
QT_BEGIN_NAMESPACE
10
11
class
QQmlJSScope
;
12
13
namespace
QQmlSA
{
14
15
enum
BindingType
:
unsigned
int
{
16
Invalid
,
17
BoolLiteral
,
18
NumberLiteral
,
19
StringLiteral
,
20
RegExpLiteral
,
21
Null
,
22
Translation
,
23
TranslationById
,
24
Script
,
25
Object
,
26
Interceptor
,
27
ValueSource
,
28
AttachedProperty
,
29
GroupProperty
,
30
};
31
32
enum
ScriptBindingKind
:
unsigned
int
{
33
Script_Invalid
,
34
Script_PropertyBinding
,
// property int p: 1 + 1
35
Script_SignalHandler
,
// onSignal: { ... }
36
Script_ChangeHandler
,
// onXChanged: { ... }
37
};
38
39
enum
ExtensionKind
{
40
NotExtension
,
41
ExtensionType
,
42
ExtensionNamespace
,
43
};
44
45
enum class
BindingTargetSpecifier
{
46
SimplePropertyTarget
,
// e.g. `property int p: 42`
47
ListPropertyTarget
,
// e.g. `property list<Item> pList: [ Text {} ]`
48
UnnamedPropertyTarget
// default property bindings, where property name is unspecified
49
};
50
51
enum class
ScopeType
{
52
JSFunctionScope
,
53
JSLexicalScope
,
54
QMLScope
,
55
GroupedPropertyScope
,
56
AttachedPropertyScope
,
57
EnumScope
58
};
59
60
enum class
QQmlJSMetaMethodAccess
{
Private
,
Protected
,
Public
};
61
}
// namespace QQmlSA
62
63
QT_END_NAMESPACE
64
65
#endif
// QQMLSACONSTANTS_H
QQmlJSScope
Tracks the types for the QmlCompiler.
Definition
qqmljsscope_p.h:98
QQmlSA
\inmodule QtQmlCompiler
Definition
qqmljslinter_p.h:37
QQmlSA::BindingType
BindingType
Definition
qqmlsaconstants.h:15
QQmlSA::TranslationById
@ TranslationById
Definition
qqmlsaconstants.h:23
QQmlSA::Invalid
@ Invalid
Definition
qqmlsaconstants.h:16
QQmlSA::BoolLiteral
@ BoolLiteral
Definition
qqmlsaconstants.h:17
QQmlSA::StringLiteral
@ StringLiteral
Definition
qqmlsaconstants.h:19
QQmlSA::Null
@ Null
Definition
qqmlsaconstants.h:21
QQmlSA::Script
@ Script
Definition
qqmlsaconstants.h:24
QQmlSA::NumberLiteral
@ NumberLiteral
Definition
qqmlsaconstants.h:18
QQmlSA::Translation
@ Translation
Definition
qqmlsaconstants.h:22
QQmlSA::ValueSource
@ ValueSource
Definition
qqmlsaconstants.h:27
QQmlSA::Interceptor
@ Interceptor
Definition
qqmlsaconstants.h:26
QQmlSA::RegExpLiteral
@ RegExpLiteral
Definition
qqmlsaconstants.h:20
QQmlSA::Object
@ Object
Definition
qqmlsaconstants.h:25
QQmlSA::GroupProperty
@ GroupProperty
Definition
qqmlsaconstants.h:29
QQmlSA::AttachedProperty
@ AttachedProperty
Definition
qqmlsaconstants.h:28
QQmlSA::ScopeType
ScopeType
Definition
qqmlsaconstants.h:51
QQmlSA::ScopeType::GroupedPropertyScope
@ GroupedPropertyScope
QQmlSA::ScopeType::JSFunctionScope
@ JSFunctionScope
QQmlSA::ScopeType::JSLexicalScope
@ JSLexicalScope
QQmlSA::ScopeType::AttachedPropertyScope
@ AttachedPropertyScope
QQmlSA::ScopeType::EnumScope
@ EnumScope
QQmlSA::ScopeType::QMLScope
@ QMLScope
QQmlSA::ExtensionKind
ExtensionKind
Definition
qqmlsaconstants.h:39
QQmlSA::ExtensionNamespace
@ ExtensionNamespace
Definition
qqmlsaconstants.h:42
QQmlSA::ExtensionType
@ ExtensionType
Definition
qqmlsaconstants.h:41
QQmlSA::NotExtension
@ NotExtension
Definition
qqmlsaconstants.h:40
QQmlSA::QQmlJSMetaMethodAccess
QQmlJSMetaMethodAccess
Definition
qqmlsaconstants.h:60
QQmlSA::QQmlJSMetaMethodAccess::Public
@ Public
QQmlSA::QQmlJSMetaMethodAccess::Private
@ Private
QQmlSA::QQmlJSMetaMethodAccess::Protected
@ Protected
QQmlSA::BindingTargetSpecifier
BindingTargetSpecifier
Definition
qqmlsaconstants.h:45
QQmlSA::BindingTargetSpecifier::UnnamedPropertyTarget
@ UnnamedPropertyTarget
QQmlSA::BindingTargetSpecifier::ListPropertyTarget
@ ListPropertyTarget
QQmlSA::BindingTargetSpecifier::SimplePropertyTarget
@ SimplePropertyTarget
QQmlSA::ScriptBindingKind
ScriptBindingKind
Definition
qqmlsaconstants.h:32
QQmlSA::Script_PropertyBinding
@ Script_PropertyBinding
Definition
qqmlsaconstants.h:34
QQmlSA::Script_Invalid
@ Script_Invalid
Definition
qqmlsaconstants.h:33
QQmlSA::Script_ChangeHandler
@ Script_ChangeHandler
Definition
qqmlsaconstants.h:36
QQmlSA::Script_SignalHandler
@ Script_SignalHandler
Definition
qqmlsaconstants.h:35
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
qtdeclarative
src
qmlcompiler
qqmlsaconstants.h
Generated by
1.9.7