![]() |
Qt 6.x
The Qt SDK
|
#include <QtCore/qglobal.h>#include <QtCore/qatomic.h>#include <QtCore/qbytearray.h>#include <QtCore/qcompare.h>#include <QtCore/qdatastream.h>#include <QtCore/qfloat16.h>#include <QtCore/qhashfunctions.h>#include <QtCore/qiterable.h>#include <QtCore/qobjectdefs.h>#include <QtCore/qscopeguard.h>#include <array>#include <new>#include <vector>#include <list>#include <map>#include <functional>#include <optional>#include <QtCore/q20type_traits.h>
Include dependency graph for qmetatype.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | QtPrivate |
| \macro QT_NAMESPACE | |
| namespace | QtMetaTypePrivate |
| namespace | QtPrivate::detail |
Typedefs | |
| using | QtPrivate::NonConstMetaTypeInterface = QMetaTypeInterface |
| template<typename T > | |
| using | QtPrivate::IsRealGadget = std::bool_constant< IsGadgetHelper< T >::IsRealGadget > |
| template<typename T > | |
| using | QtPrivate::qRemovePointerLike_t = typename qRemovePointerLike< T >::type |
Functions | |
| template<typename T > | |
| constexpr int | qMetaTypeId () |
| template<typename From , typename To > | |
| To | QtPrivate::convertImplicit (const From &from) |
| This template is used for implicit conversion from type From to type To. | |
| template<typename T > | |
| char | QtPrivate::qt_getEnumMetaObject (const T &) |
| template<typename X > | |
| static constexpr bool | QtPrivate::checkTypeIsSuitableForMetaType () |
| Q_CORE_EXPORT bool | QtPrivate::isBuiltinType (const QByteArray &type) |
| template<typename T > | |
| int | qRegisterNormalizedMetaTypeImplementation (const QT_PREPEND_NAMESPACE(QByteArray) &normalizedTypeName) |
| template<typename T > | |
| int | qRegisterNormalizedMetaType (const QT_PREPEND_NAMESPACE(QByteArray) &normalizedTypeName) |
| template<typename T > | |
| int | qRegisterMetaType (const char *typeName) |
| template<typename T > | |
| constexpr int | qRegisterMetaType () |
| int | qRegisterMetaType (QMetaType meta) |
| constexpr int | QtPrivate::qNormalizeType (const char *begin, const char *end, char *output) |
| template<typename T > | |
| constexpr auto | QtPrivate::typenameHelper () |
| template<typename T > | |
| constexpr const QMetaTypeInterface * | QtPrivate::qMetaTypeInterfaceForType () |
| template<typename Unique , typename TypeCompletePair > | |
| constexpr const QMetaTypeInterface * | QtPrivate::qTryMetaTypeInterfaceForType () |
| size_t | qHash (QMetaType type, size_t seed=0) |
Variables | |
| template<typename T > | |
| constexpr bool | QtPrivate::IsQmlListType = false |
| template<typename T , bool = std::is_enum<T>::value> | |
| constexpr bool | QtPrivate::IsUnsignedEnum = false |
| template<typename T > | |
| constexpr bool | QtPrivate::IsUnsignedEnum< T, true > = !std::is_signed_v<std::underlying_type_t<T>> |
| template<typename... T> | |
| constexpr const QtPrivate::QMetaTypeInterface *const | qt_metaTypeArray [] |
| template<typename Unique , typename... T> | |
| constexpr const QtPrivate::QMetaTypeInterface *const | qt_incomplete_metaTypeArray [] |
| #define Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE | ( | TEMPLATENAME | ) |
Definition at line 1698 of file qmetatype.h.
| #define Q_DECLARE_BUILTIN_METATYPE | ( | TYPE, | |
| METATYPEID, | |||
| NAME | |||
| ) |
Definition at line 1532 of file qmetatype.h.
| #define Q_DECLARE_METATYPE | ( | TYPE | ) | Q_DECLARE_METATYPE_IMPL(TYPE) |
Definition at line 1504 of file qmetatype.h.
| #define Q_DECLARE_METATYPE_IMPL | ( | TYPE | ) |
Definition at line 1505 of file qmetatype.h.
| #define Q_DECLARE_METATYPE_TEMPLATE_1ARG | ( | SINGLE_ARG_TEMPLATE | ) |
Definition at line 1552 of file qmetatype.h.
| #define Q_DECLARE_METATYPE_TEMPLATE_2ARG | ( | DOUBLE_ARG_TEMPLATE | ) |
Definition at line 1580 of file qmetatype.h.
| #define Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER | ( | TEMPLATENAME | ) | Q_DECLARE_SMART_POINTER_METATYPE(TEMPLATENAME) |
Definition at line 1716 of file qmetatype.h.
| #define Q_DECLARE_OPAQUE_POINTER | ( | POINTER | ) |
Definition at line 1496 of file qmetatype.h.
| #define Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE | ( | SINGLE_ARG_TEMPLATE | ) |
Definition at line 1674 of file qmetatype.h.
| #define Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE_ITER | ( | TEMPLATENAME | ) | Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE(TEMPLATENAME) |
Definition at line 1686 of file qmetatype.h.
| #define Q_DECLARE_SMART_POINTER_METATYPE | ( | SMART_POINTER | ) |
Definition at line 1627 of file qmetatype.h.
| #define Q_REMOVE_POINTER_LIKE_IMPL | ( | Pointer | ) |
Definition at line 2558 of file qmetatype.h.
| #define QMTI_MUTABLE |
Definition at line 239 of file qmetatype.h.
| #define QT_DECL_METATYPE_EXTERN | ( | TYPE, | |
| EXPORT | |||
| ) | QT_DECL_METATYPE_EXTERN_TAGGED(TYPE, TYPE, EXPORT) |
Definition at line 1367 of file qmetatype.h.
Definition at line 1355 of file qmetatype.h.
| #define QT_DEFINE_METATYPE_ID | ( | TypeName, | |
| Id, | |||
| Name | |||
| ) | TypeName = Id, |
Definition at line 207 of file qmetatype.h.
| #define QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG | ( | F | ) |
Definition at line 210 of file qmetatype.h.
| #define QT_FOR_EACH_AUTOMATIC_TEMPLATE_2ARG | ( | F | ) |
Definition at line 217 of file qmetatype.h.
| #define QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER | ( | F | ) |
Definition at line 221 of file qmetatype.h.
| #define QT_FOR_EACH_STATIC_ALIAS_TYPE | ( | F | ) |
Definition at line 176 of file qmetatype.h.
| #define QT_FOR_EACH_STATIC_CORE_CLASS | ( | F | ) |
Definition at line 96 of file qmetatype.h.
| #define QT_FOR_EACH_STATIC_CORE_POINTER | ( | F | ) | F(QObjectStar, 39, QObject*) |
Definition at line 128 of file qmetatype.h.
| #define QT_FOR_EACH_STATIC_CORE_TEMPLATE | ( | F | ) |
Definition at line 131 of file qmetatype.h.
| #define QT_FOR_EACH_STATIC_EASINGCURVE | ( | F | ) |
Definition at line 78 of file qmetatype.h.
| #define QT_FOR_EACH_STATIC_GUI_CLASS | ( | F | ) |
Definition at line 146 of file qmetatype.h.
| #define QT_FOR_EACH_STATIC_ITEMMODEL_CLASS | ( | F | ) |
Definition at line 86 of file qmetatype.h.
| #define QT_FOR_EACH_STATIC_KEYSEQUENCE_CLASS | ( | F | ) |
Definition at line 143 of file qmetatype.h.
| #define QT_FOR_EACH_STATIC_PRIMITIVE_NON_VOID_TYPE | ( | F | ) |
Definition at line 47 of file qmetatype.h.
| #define QT_FOR_EACH_STATIC_PRIMITIVE_POINTER | ( | F | ) | F(VoidStar, 31, void*) \ |
Definition at line 71 of file qmetatype.h.
| #define QT_FOR_EACH_STATIC_PRIMITIVE_TYPE | ( | F | ) |
Definition at line 67 of file qmetatype.h.
| #define QT_FOR_EACH_STATIC_REGULAR_EXPRESSION | ( | F | ) |
Definition at line 93 of file qmetatype.h.
| #define QT_FOR_EACH_STATIC_TYPE | ( | F | ) |
Definition at line 198 of file qmetatype.h.
| #define QT_FOR_EACH_STATIC_WIDGETS_CLASS | ( | F | ) | F(QSizePolicy, 0x2000, QSizePolicy) \ |
Definition at line 172 of file qmetatype.h.
Definition at line 848 of file qmetatype.h.
Definition at line 1543 of file qmetatype.h.
| #define QT_IMPL_METATYPE_EXTERN | ( | TYPE | ) | QT_IMPL_METATYPE_EXTERN_TAGGED(TYPE, TYPE) |
Definition at line 1369 of file qmetatype.h.
Definition at line 1363 of file qmetatype.h.
| #define QT_METATYPE_DECLARE_EXTERN_TEMPLATE_ITER | ( | TypeName, | |
| Id, | |||
| Name | |||
| ) |
Definition at line 2539 of file qmetatype.h.
| #define QT_METATYPE_PRIVATE_DECLARE_TYPEINFO | ( | C, | |
| F | |||
| ) |
Definition at line 783 of file qmetatype.h.
|
related |
Definition at line 2660 of file qmetatype.h.
|
related |
Definition at line 1384 of file qmetatype.h.
Referenced by QQmlVMEResolvedList::QQmlVMEResolvedList(), QSSGRuntimeUtils::applyPropertyValue(), and searchContextProperties().
Here is the caller graph for this function:
|
related |
Definition at line 1397 of file qmetatype.h.
|
related |
Definition at line 1373 of file qmetatype.h.
|
related |
Definition at line 1403 of file qmetatype.h.
| int qRegisterNormalizedMetaType | ( | const QT_PREPEND_NAMESPACE(QByteArray) & | normalizedTypeName | ) |
Definition at line 1350 of file qmetatype.h.
References QT_PREPEND_NAMESPACE().
Here is the call graph for this function:| int qRegisterNormalizedMetaTypeImplementation | ( | const QT_PREPEND_NAMESPACE(QByteArray) & | normalizedTypeName | ) |
Definition at line 1311 of file qmetatype.h.
References QByteArray::constData(), QMetaType::id(), QMetaType::name(), QMetaObject::normalizedType(), Q_ASSERT_X, QT_PREPEND_NAMESPACE(), QtPrivate::SequentialContainerTransformationHelper< T, bool >::registerConverter(), QtPrivate::AssociativeContainerTransformationHelper< T, bool >::registerConverter(), QtPrivate::IsPair< T >::registerConverter(), QtPrivate::MetaTypeSmartPointerHelper< T, typename >::registerConverter(), QtPrivate::SequentialContainerTransformationHelper< T, bool >::registerMutableView(), QtPrivate::AssociativeContainerTransformationHelper< T, bool >::registerMutableView(), and QMetaType::registerNormalizedTypedef().
Here is the call graph for this function:
|
constexpr |
Definition at line 2656 of file qmetatype.h.
|
constexpr |
Definition at line 2639 of file qmetatype.h.