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
4//
5// W A R N I N G
6// -------------
7//
8// This file is not part of the Qt API. It exists purely as an
9// implementation detail. This header file may change from version to
10// version without notice, or even be removed.
11//
12// We mean it.
13//
14
15#ifndef QQMLPROPERTYUTILS_P_H
16#define QQMLPROPERTYUTILS_P_H
17
18#include <QtCore/qglobal.h>
19
20QT_BEGIN_NAMESPACE
21
22namespace QQml {
23namespace PropertyUtils {
28
29inline bool isExplicitlySet(State propertyState)
30{
31 return propertyState == State::ExplicitlySet;
32}
33} // namespace PropertyUtils
34} // namespace QQml
35
36QT_END_NAMESPACE
37
38#endif
bool isExplicitlySet(State propertyState)