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 <deque>
#include <unordered_list>
#include <memory>
Go to the source code of this file.
Classes | |
struct | MyStruct |
[0] More... | |
Namespaces | |
namespace | MyNamespace |
[0] | |
Typedefs | |
typedef QString | CustomString |
[8] | |
Functions | |
var | setValue (s) |
if (type.isValid()) | |
qRegisterMetaType< MyClass > ("MyClass") | |
[3] | |
QDataStream & | operator<< (QDataStream &out, const MyClass &myObj) |
[4] | |
QDataStream & | operator>> (QDataStream &in, MyClass &myObj) |
qRegisterMetaType< CustomString > ("CustomString") | |
void | someFunc () |
[9] | |
Variables | |
MyStruct | s |
[1] | |
QVariant | var |
MyStruct | s2 = var.value<MyStruct>() |
QMetaType | type = QMetaType::fromName("MyClass") |
[2] | |
int | id = qRegisterMetaType<MyStruct>() |
[6] | |
typedef QString CustomString |
if | ( | type. | isValid() | ) |
Definition at line 39 of file src_corelib_kernel_qmetatype.cpp.
References QMetaType::create().
QDataStream & operator<< | ( | QDataStream & | out, |
const MyClass & | myObj ) |
[4]
[6]
Referenced by QT6_ONLY(), and qt_sendSpontaneousEvent().
QDataStream & operator>> | ( | QDataStream & | in, |
MyClass & | myObj ) |
qRegisterMetaType< CustomString > | ( | "CustomString" | ) |
qRegisterMetaType< MyClass > | ( | "MyClass" | ) |
[3]
[4]
void someFunc | ( | ) |
[9]
[10]
[11]
[13]
Definition at line 80 of file src_corelib_kernel_qmetatype.cpp.
References QVariant::fromValue(), and var.
id = qRegisterMetaType<MyStruct>() |
Definition at line 33 of file src_corelib_kernel_qmetatype.cpp.
QMetaType type = QMetaType::fromName("MyClass") |
QVariant var |
Definition at line 27 of file src_corelib_kernel_qmetatype.cpp.
Referenced by QCtfLibImpl::QCtfLibImpl(), QDateTimeEdit::QDateTimeEdit(), QQmlImportDatabase::QQmlImportDatabase(), QScopedValueRollback< T >::QScopedValueRollback(), QWindowsAudioDeviceInfo::QWindowsAudioDeviceInfo(), DarwinBluetooth::add_attribute(), DarwinBluetooth::add_attribute(), DarwinBluetooth::add_attribute(), DarwinBluetooth::add_attribute(), DarwinBluetooth::add_attribute< QBluetoothUuid >(), DarwinBluetooth::add_attribute< QBluetoothUuid >(), DarwinBluetooth::add_attribute< QString >(), DarwinBluetooth::add_attribute< QString >(), DarwinBluetooth::add_attribute< QUrl >(), DarwinBluetooth::add_attribute< QUrl >(), DarwinBluetooth::add_attribute< unsigned short >(), DarwinBluetooth::add_sequence_attribute(), DarwinBluetooth::add_sequence_attribute(), addEndCond(), QFreeTypeFontDatabase::addNamedInstancesForFace(), addOpaqueDepthPrePassBindings(), QSSGRhiShaderPipeline::addStage(), addStartCond(), QQuickColorProvider::alpha(), QSSGQmlUtilities::asString(), MFPlayerSession::availablePlaybackRanges(), MFPlayerSession::bufferProgress(), QSSGStageGeneratorBase::buildShaderSourcePass2(), QSSGQmlUtilities::builtinQmlType(), QV4::Compiler::ScanFunctions::calcEscapingVariables(), calculateActualItalic(), calculateActualWeight(), QV4::Object::checkedInstanceOf(), QV4::coerce(), QQmlJSCodeGenerator::consumedRegisterVariable(), QQmlJSCodeGenerator::contentPointer(), QQmlJSCodeGenerator::contentType(), convertValue(), QQuickColorProvider::darker(), GLSL::VariableDeclarationAST::declarationType(), QQuickPropertyChangesPrivate::decodeBinding(), QQmlBindPrivate::decodeBinding(), deserializeBlockMemberVar(), deserializeBuiltinVar(), QIBusAttributeList::deserializeFrom(), deserializeInOutVar(), dumpAttributeVariant(), QSqlResult::exec(), QSGRhiShaderLinker::feedConstants(), QSGRhiShaderLinker::feedSamplers(), QuickTestResult::fuzzyCompare(), QQmlJSCodeGenerator::generate_MoveConst(), QQmlJSCodeGenerator::generate_StoreReg(), QFreetypeFace::getFace(), QQmlJSCodeGenerator::getLookupPreparation(), QDateTimeEditPrivate::init(), QHeaderView::initStyleOptionForIndex(), QV4::Object::instanceOf(), QQuickFolderListModel::isFolder(), QTextFormat::lengthVectorProperty(), QQuickColorProvider::lighter(), metaDataValue(), QV4::ExecutionEngine::metaTypeFromJS(), GLSL::Engine::newVariable(), operator<<(), operator<<(), parseTestArgs(), QSGMaterialShaderPrivate::prepare(), qMakeFieldInfo(), qmlGetConfigOption(), QOCICols::readLOBs(), QQmlSettingsPrivate::readProperty(), QSSGShaderResourceMergeContext::registerInput(), QSSGShaderResourceMergeContext::registerOutput(), QSSGShaderResourceMergeContext::registerSampler(), QRhiGles2::registerUniformIfActive(), QSSGShaderResourceMergeContext::registerUniformMember(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), QHeaderView::sectionSizeFromContents(), QBluetoothServiceInfo::serviceClassUuids(), QSSGSceneDesc::PropertySetter< Ret, Class, Arg >::set(), QSSGSceneDesc::PropertyListSetter< Ret, Class, Arg >::set(), QSSGSceneDesc::PropertyList< Class, T, List >::set(), QSSGSceneDesc::PropertyProxySetter< Ret, Arg >::set(), QQuickMaterialStyle::setAccent(), QQuickUniversalStyle::setAccent(), QQuickMaterialStyle::setBackground(), QQuickUniversalStyle::setBackground(), QQuickImageParticle::setColorVariation(), QQuickMaterialStyle::setForeground(), QQuickUniversalStyle::setForeground(), QQuickMaterialStyle::setPrimary(), QSSGQmlUtilities::setProperty(), someFunc(), QQmlPrivate::AOTCompiledContext::storeNameSloppy(), QPrinter::supportedResolutions(), QRhiGles2::tryLoadFromDiskOrPipelineCache(), QWinRegistryKey::value(), QSSGQmlUtilities::valueToQml(), QDateTimeEditPrivate::valueToText(), DarwinBluetooth::variant_to_nsnumber< char >(), DarwinBluetooth::variant_to_nsnumber< int >(), DarwinBluetooth::variant_to_nsnumber< short >(), DarwinBluetooth::variant_to_nsnumber< unsigned >(), DarwinBluetooth::variant_to_nsnumber< unsigned char >(), DarwinBluetooth::variant_to_nsnumber< unsigned short >(), QV4::Object::virtualInstanceOf(), QV4::QQmlTypeWrapper::virtualInstanceOf(), and GLSL::Semantic::visit().