![]() |
Qt 6.x
The Qt SDK
|
#include "qqmlmetatype_p.h"
#include <private/qqmlextensionplugin_p.h>
#include <private/qqmlmetatypedata_p.h>
#include <private/qqmlpropertycachecreator_p.h>
#include <private/qqmltype_p_p.h>
#include <private/qqmltypeloader_p.h>
#include <private/qqmltypemodule_p.h>
#include <private/qqmlvaluetype_p.h>
#include <private/qv4executablecompilationunit_p.h>
#include <QtCore/qcoreapplication.h>
#include <QtCore/qmutex.h>
#include <QtCore/qloggingcategory.h>
Go to the source code of this file.
Classes | |
struct | LockedData |
struct | ModuleUri |
class | QQmlMetaTypeDataPtr |
class | QQmlMetaTypeRegistrationFailureRecorder |
|
static |
Definition at line 155 of file qqmlmetatype.cpp.
References className, QMetaType::id(), QMetaType::iface(), priv(), and ptr().
Referenced by createQQmlType(), createQQmlType(), createTypeForUrl(), and doRegisterInlineComponentType().
|
static |
Definition at line 446 of file qqmlmetatype.cpp.
References QQmlTypeModule::add(), getTypeModule(), QMetaType::IsQmlList, Q_ASSERT, and QQmlType::SequentialContainerType.
Referenced by createTypeForUrl(), QQmlMetaType::registerCompositeSingletonType(), QQmlMetaType::registerCompositeType(), QQmlMetaType::registerSequentialContainer(), QQmlMetaType::registerSingletonType(), and QQmlMetaType::registerType().
|
static |
Definition at line 385 of file qqmlmetatype.cpp.
References QString::arg(), arg, QString::fromUtf8(), QMetaType::IsGadget, QQmlTypeModule::lockLevel(), QTypeRevision::majorVersion(), QQmlTypeModule::Open, QMetaType::PointerToGadget, QMetaType::PointerToQObject, qCWarning, registrationTypeString(), QCoreApplication::translate(), and typeName.
Referenced by createTypeForUrl(), QQmlMetaType::registerCompositeSingletonType(), QQmlMetaType::registerCompositeType(), QQmlMetaType::registerSequentialContainer(), QQmlMetaType::registerSingletonType(), and QQmlMetaType::registerType().
|
static |
Definition at line 60 of file qqmlmetatype.cpp.
References d, QString::fromUtf8(), and QQmlType::InterfaceType.
Referenced by QQmlMetaType::registerCompositeSingletonType(), QQmlMetaType::registerCompositeType(), QQmlMetaType::registerInterface(), QQmlMetaType::registerSingletonType(), and QQmlMetaType::registerType().
|
static |
Definition at line 186 of file qqmlmetatype.cpp.
References addQQmlMetaTypeInterfaces(), QQmlType::CompositeSingletonType, QQmlPropertyCacheCreatorBase::createClassNameTypeByUrl(), d, QString::fromUtf8(), and QQmlTypeLoader::normalize().
|
static |
Definition at line 171 of file qqmlmetatype.cpp.
References addQQmlMetaTypeInterfaces(), QQmlType::CompositeType, QQmlPropertyCacheCreatorBase::createClassNameTypeByUrl(), d, QString::fromUtf8(), and QQmlTypeLoader::normalize().
|
static |
Definition at line 73 of file qqmlmetatype.cpp.
References d, QString::fromUtf8(), and QQmlType::SingletonType.
|
static |
Definition at line 100 of file qqmlmetatype.cpp.
References QQmlType::CppType, QQmlPrivate::RegisterType::CreationMethod, d, QQmlPrivate::RegisterType::FinalizerCast, QString::fromUtf8(), QQmlPrivate::None, qstrcmp(), and QQmlPrivate::Structured.
|
static |
Definition at line 586 of file qqmlmetatype.cpp.
References addQQmlMetaTypeInterfaces(), addTypeToData(), checkRegistration(), QQmlType::CompositeSingletonType, QQmlType::CompositeType, QHashedStringRef::constData(), QQmlPropertyCacheCreatorBase::createClassNameTypeByUrl(), dot(), error, QHashedStringRef::indexOf(), QHashedStringRef::length(), QList< T >::prepend(), priv(), qWarning, QQmlMetaType::Singleton, QHashedStringRef::toString(), typeName, and url.
Referenced by QQmlMetaType::findCompositeType(), and QQmlMetaType::typeForUrl().
|
static |
Definition at line 687 of file qqmlmetatype.cpp.
References addQQmlMetaTypeInterfaces(), className, QQmlPropertyCacheCreatorBase::createClassNameForInlineComponent(), QUrl::fragment(), QQmlType::InlineComponentType, priv(), and url.
Referenced by QQmlMetaType::findInlineComponentType(), and QQmlMetaType::inlineComponentTypeForUrl().
|
static |
Definition at line 437 of file qqmlmetatype.cpp.
References QTypeRevision::majorVersion().
Referenced by addTypeToData(), QQmlMetaType::registerModule(), and QQmlMetaType::typeId().
|
static |
Definition at line 1519 of file qqmlmetatype.cpp.
References QSet< T >::begin(), QQmlRefCount::count(), d, QQmlMetaType::equalBaseUrls(), and it.
Referenced by QQmlMetaType::freeUnusedTypesAndCaches().
|
static |
Definition at line 1644 of file qqmlmetatype.cpp.
References QQmlPrivate::CachedQmlUnit::aotCompiledFunctions, function, QV4::CompiledData::Unit::functionTableSize, and QQmlPrivate::CachedQmlUnit::qmlData.
Referenced by QQmlMetaType::findCachedCompilationUnit().
|
static |
Definition at line 1802 of file qqmlmetatype.cpp.
References QMetaType::QVariant, and QMetaType::UnknownType.
Referenced by QQmlMetaType::isValueType().
|
static |
Definition at line 896 of file qqmlmetatype.cpp.
References QTypeRevision::majorVersion().
Referenced by QQmlMetaType::registerPluginTypes().
|
static |
Definition at line 368 of file qqmlmetatype.cpp.
References QQmlType::CompositeSingletonType, QQmlType::CppType, QStringLiteral, QQmlType::SequentialContainerType, QQmlType::SingletonType, and typeStr().
Referenced by checkRegistration().