Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
4
#ifndef QQMLCPPBINDING_P_H
5
#define QQMLCPPBINDING_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#include <QtCore/qobject.h>
19
#include <QtCore/qproperty.h>
20
#include <QtCore/qurl.h>
21
22
#include <QtQml/qqmlengine.h>
23
#include <QtQml/qqmlcontext.h>
24
#include <QtCore/qmetaobject.h>
25
26
#include <private/qqmltypedata_p.h>
27
#include <private/qqmlpropertybinding_p.h>
28
#include <private/qqmlbinding_p.h>
29
#include <private/qv4qmlcontext_p.h>
30
#include <private/qqmlproperty_p.h>
31
#include <private/qqmlbinding_p.h>
32
33
QT_BEGIN_NAMESPACE
34
35
struct
Q_QML_EXPORT
QQmlCppBinding
36
{
37
// TODO: this might instead be put into the QQmlEngine or QQmlAnyBinding?
38
static
QUntypedPropertyBinding
39
createBindingForBindable(
const
QV4::ExecutableCompilationUnit
*unit,
QObject
*thisObject,
40
qsizetype
functionIndex,
QObject
*bindingTarget,
int
metaPropertyIndex,
41
int
valueTypePropertyIndex,
const
QString
&propertyName);
42
43
static
void
createBindingForNonBindable(
const
QV4::ExecutableCompilationUnit
*unit,
44
QObject
*thisObject,
qsizetype
functionIndex,
45
QObject
*bindingTarget,
int
metaPropertyIndex,
46
int
valueTypePropertyIndex,
47
const
QString
&propertyName);
48
49
static
QUntypedPropertyBinding
50
createTranslationBindingForBindable(
const
QQmlRefPointer<QV4::ExecutableCompilationUnit> &unit,
51
QObject
*bindingTarget,
int
metaPropertyIndex,
52
const
QQmlTranslation
&translationData,
53
const
QString
&propertyName);
54
55
static
void
createTranslationBindingForNonBindable(
56
const
QQmlRefPointer<QV4::ExecutableCompilationUnit> &unit,
57
const
QQmlSourceLocation
&
location
,
const
QQmlTranslation
&translationData,
58
QObject
*thisObject,
QObject
*bindingTarget,
int
metaPropertyIndex,
59
const
QString
&propertyName,
int
valueTypePropertyIndex);
60
};
61
62
QT_END_NAMESPACE
63
64
#endif
// QQMLCPPBINDING_P_H
QObject
\inmodule QtCore
Definition
qobject.h:103
QQmlTranslation
Definition
qqmltranslation_p.h:25
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:129
QUntypedPropertyBinding
Definition
qproperty.h:158
QV4::ExecutableCompilationUnit
Definition
qv4executablecompilationunit_p.h:67
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
location
GLint location
Definition
qopengles2ext.h:207
qsizetype
ptrdiff_t qsizetype
Definition
qtypes.h:165
QQmlCppBinding
Definition
qqmlcppbinding_p.h:36
QQmlSourceLocation
Definition
qqmlglobal_p.h:319
qtdeclarative
src
qml
qmltc
supportlibrary
qqmlcppbinding_p.h
Generated by
1.10.0