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>.
|
#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 152 of file qqmlmetatype.cpp.
References className, priv(), ptr(), and Q_ASSERT.
Referenced by createTypeForUrl(), and doRegisterInlineComponentType().
|
static |
Definition at line 445 of file qqmlmetatype.cpp.
References 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 384 of file qqmlmetatype.cpp.
References QString::arg(), arg, QString::fromUtf8(), QMetaType::IsGadget, 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 184 of file qqmlmetatype.cpp.
References QQmlType::CompositeSingletonType, d, and QString::fromUtf8().
|
static |
Definition at line 169 of file qqmlmetatype.cpp.
References QQmlType::CompositeType, 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 97 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 589 of file qqmlmetatype.cpp.
References addQQmlMetaTypeInterfaces(), addTypeToData(), QQmlRefPointer< const SingletonInstanceInfo >::Adopt, checkRegistration(), QQmlType::CompositeSingletonType, QQmlType::CompositeType, QHashedStringRef::constData(), QQmlType::SingletonInstanceInfo::create(), QQmlPropertyCacheCreatorBase::createClassNameTypeByUrl(), dot(), error, QHashedStringRef::indexOf(), QHashedStringRef::length(), priv(), qWarning, QQmlMetaType::Singleton, QHashedStringRef::toString(), typeName, and url.
Referenced by QQmlMetaType::findCompositeType(), and QQmlMetaType::typeForUrl().
|
static |
Definition at line 1550 of file qqmlmetatype.cpp.
References QSet< T >::constEnd(), QSet< T >::constFind(), and it.
Referenced by QQmlMetaType::countInternalCompositeTypeSelfReferences(), and QQmlMetaType::freeUnusedTypesAndCaches().
|
static |
Definition at line 698 of file qqmlmetatype.cpp.
References addQQmlMetaTypeInterfaces(), className, QQmlPropertyCacheCreatorBase::createClassNameForInlineComponent(), QUrl::fragment(), QQmlType::InlineComponentType, priv(), and url.
Referenced by QQmlMetaType::fetchOrCreateInlineComponentTypeForUrl(), and QQmlMetaType::findInlineComponentType().
|
static |
Definition at line 436 of file qqmlmetatype.cpp.
References QTypeRevision::majorVersion().
|
static |
Definition at line 1536 of file qqmlmetatype.cpp.
References QSet< T >::begin(), d, QQmlMetaType::equalBaseUrls(), and it.
Referenced by QQmlMetaType::freeUnusedTypesAndCaches().
|
static |
Definition at line 1696 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 1854 of file qqmlmetatype.cpp.
References QMetaType::QVariant, and QMetaType::UnknownType.
Referenced by QQmlMetaType::isValueType().
|
static |
Definition at line 907 of file qqmlmetatype.cpp.
References QTypeRevision::majorVersion().
Referenced by QQmlMetaType::registerPluginTypes().
|
static |
Definition at line 367 of file qqmlmetatype.cpp.
References QQmlType::CompositeSingletonType, QQmlType::CppType, QStringLiteral, QQmlType::SequentialContainerType, QQmlType::SingletonType, and typeStr().
Referenced by checkRegistration().