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
qqmlpropertyresolver_p.h
Go to the documentation of this file.
1
// Copyright (C) 2019 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 QQMLPROPERTYRESOLVER_P_H
5
#define QQMLPROPERTYRESOLVER_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 <private/qtqmlglobal_p.h>
19
#include <private/qqmlpropertycache_p.h>
20
#include <private/qqmlrefcount_p.h>
21
22
QT_BEGIN_NAMESPACE
23
24
struct
Q_QML_EXPORT
QQmlPropertyResolver
25
{
26
QQmlPropertyResolver
(
const
QQmlPropertyCache::ConstPtr
&
cache
)
27
:
cache
(
cache
)
28
{}
29
30
const
QQmlPropertyData
*
property
(
int
index
)
const
31
{
32
return
cache
->property(
index
);
33
}
34
35
enum
RevisionCheck
{
36
CheckRevision
,
37
IgnoreRevision
38
};
39
40
const
QQmlPropertyData
*
property
(
const
QString
&
name
,
bool
*notInRevision =
nullptr
,
41
RevisionCheck check = CheckRevision)
const
;
42
43
// This code must match the semantics of QQmlPropertyPrivate::findSignalByName
44
const
QQmlPropertyData
*
signal
(
const
QString
&
name
,
bool
*notInRevision)
const
;
45
46
QQmlPropertyCache::ConstPtr
cache
;
47
};
48
49
QT_END_NAMESPACE
50
51
#endif
// QQMLPROPERTYRESOLVER_P_H
QQmlPropertyData
Definition
qqmlpropertydata_p.h:26
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:129
cache
QCache< int, Employee > cache
[0]
Definition
doc_src_qcache.cpp:5
signal
auto signal
Definition
doc_src_qsignalspy.cpp:55
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
index
GLuint index
[2]
Definition
qopengles2ext.h:331
name
GLuint name
Definition
qopengles2ext.h:156
property
const char property[13]
Definition
qwizard.cpp:101
QQmlPropertyCache::ConstPtr
Definition
qqmlpropertycache_p.h:126
QQmlPropertyResolver
Definition
qqmlpropertyresolver_p.h:25
QQmlPropertyResolver::cache
QQmlPropertyCache::ConstPtr cache
Definition
qqmlpropertyresolver_p.h:46
QQmlPropertyResolver::QQmlPropertyResolver
QQmlPropertyResolver(const QQmlPropertyCache::ConstPtr &cache)
Definition
qqmlpropertyresolver_p.h:26
QQmlPropertyResolver::property
const QQmlPropertyData * property(int index) const
Definition
qqmlpropertyresolver_p.h:30
QQmlPropertyResolver::RevisionCheck
RevisionCheck
Definition
qqmlpropertyresolver_p.h:35
QQmlPropertyResolver::CheckRevision
@ CheckRevision
Definition
qqmlpropertyresolver_p.h:36
qtdeclarative
src
qml
qml
qqmlpropertyresolver_p.h
Generated by
1.10.0