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
qqmlcppbinding_p.h
Go to the documentation of this file.
1
// Copyright (C) 2021 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
4
5
#
ifndef
QQMLCPPBINDING_P_H
6
#
define
QQMLCPPBINDING_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
19
#
include
<
QtCore
/
qobject
.
h
>
20
#
include
<
QtCore
/
qproperty
.
h
>
21
#
include
<
QtCore
/
qurl
.
h
>
22
23
#
include
<
QtQml
/
qqmlengine
.
h
>
24
#
include
<
QtQml
/
qqmlcontext
.
h
>
25
#
include
<
QtCore
/
qmetaobject
.
h
>
26
27
#
include
<
private
/
qqmltypedata_p
.
h
>
28
#
include
<
private
/
qqmlpropertybinding_p
.
h
>
29
#
include
<
private
/
qqmlbinding_p
.
h
>
30
#
include
<
private
/
qv4qmlcontext_p
.
h
>
31
#
include
<
private
/
qqmlproperty_p
.
h
>
32
#
include
<
private
/
qqmlbinding_p
.
h
>
33
34
QT_BEGIN_NAMESPACE
35
36
struct
Q_QML_EXPORT
QQmlCppBinding
37
{
38
// TODO: this might instead be put into the QQmlEngine or QQmlAnyBinding?
39
static
QUntypedPropertyBinding
40
createBindingForBindable(
const
QV4::ExecutableCompilationUnit *unit, QObject *thisObject,
41
qsizetype functionIndex, QObject *bindingTarget,
int
metaPropertyIndex,
42
int
valueTypePropertyIndex,
const
QString &propertyName);
43
44
static
void
createBindingForNonBindable(
const
QV4::ExecutableCompilationUnit *unit,
45
QObject *thisObject, qsizetype functionIndex,
46
QObject *bindingTarget,
int
metaPropertyIndex,
47
int
valueTypePropertyIndex,
48
const
QString &propertyName);
49
50
static
QUntypedPropertyBinding
51
createTranslationBindingForBindable(
const
QQmlRefPointer<QV4::ExecutableCompilationUnit> &unit,
52
QObject *bindingTarget,
int
metaPropertyIndex,
53
const
QQmlTranslation &translationData,
54
const
QString &propertyName);
55
56
static
void
createTranslationBindingForNonBindable(
57
const
QQmlRefPointer<QV4::ExecutableCompilationUnit> &unit,
58
const
QQmlSourceLocation &location,
const
QQmlTranslation &translationData,
59
QObject *thisObject, QObject *bindingTarget,
int
metaPropertyIndex,
60
const
QString &propertyName,
int
valueTypePropertyIndex);
61
};
62
63
QT_END_NAMESPACE
64
65
#
endif
// QQMLCPPBINDING_P_H
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
QQmlCppBinding
Definition
qqmlcppbinding_p.h:37
qtdeclarative
src
qml
qmltc
supportlibrary
qqmlcppbinding_p.h
Generated on
for Qt by
1.18.0