Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qqmlpropertyutils_p.h
Go to the documentation of this file.
1
// Copyright (C) 2024 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
//
6
// W A R N I N G
7
// -------------
8
//
9
// This file is not part of the Qt API. It exists purely as an
10
// implementation detail. This header file may change from version to
11
// version without notice, or even be removed.
12
//
13
// We mean it.
14
//
15
16
#
ifndef
QQMLPROPERTYUTILS_P_H
17
#
define
QQMLPROPERTYUTILS_P_H
18
19
#
include
<
QtCore
/
qglobal
.
h
>
20
21
QT_BEGIN_NAMESPACE
22
23
namespace
QQml
{
24
namespace
PropertyUtils
{
25
enum
class
State
{
26
ImplicitlySet
,
27
ExplicitlySet
28
};
29
30
inline
bool
isExplicitlySet
(
State
propertyState)
31
{
32
return
propertyState ==
State
::
ExplicitlySet
;
33
}
34
}
// namespace PropertyUtils
35
}
// namespace QQml
36
37
QT_END_NAMESPACE
38
39
#
endif
QQml::PropertyUtils
Definition
qqmlpropertyutils_p.h:24
QQml::PropertyUtils::isExplicitlySet
bool isExplicitlySet(State propertyState)
Definition
qqmlpropertyutils_p.h:30
QQml::PropertyUtils::State
State
Definition
qqmlpropertyutils_p.h:25
QQml::PropertyUtils::State::ExplicitlySet
@ ExplicitlySet
Definition
qqmlpropertyutils_p.h:27
QQml::PropertyUtils::State::ImplicitlySet
@ ImplicitlySet
Definition
qqmlpropertyutils_p.h:26
QQml
Definition
qqmlrefcount_p.h:112
qtdeclarative
src
qml
util
qqmlpropertyutils_p.h
Generated on
for Qt by
1.16.1