![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qqmltype_p.h>
Classes | |
| struct | SingletonInstanceInfo |
Public Types | |
| enum | RegistrationType { CppType = 0 , SingletonType = 1 , InterfaceType = 2 , CompositeType = 3 , CompositeSingletonType = 4 , InlineComponentType = 5 , SequentialContainerType = 6 , JavaScriptType = 7 , AnyRegistrationType = 255 } |
| typedef QVariant(* | CreateValueTypeFunc) (const QJSValue &) |
| typedef void(* | CreateFunc) (void *, void *) |
| typedef QObject *(* | ExtensionFunc) (QObject *) |
Static Public Member Functions | |
| static void | refHandle (const QQmlTypePrivate *priv) |
| static void | derefHandle (const QQmlTypePrivate *priv) |
| static int | refCount (const QQmlTypePrivate *priv) |
Friends | |
| class | QQmlTypePrivate |
| size_t | qHash (const QQmlType &t, size_t seed=0) |
| bool | operator== (const QQmlType &a, const QQmlType &b) noexcept |
| bool | operator!= (const QQmlType &a, const QQmlType &b) noexcept |
Definition at line 45 of file qqmltype_p.h.
Definition at line 78 of file qqmltype_p.h.
Definition at line 68 of file qqmltype_p.h.
Definition at line 84 of file qqmltype_p.h.
| Enumerator | |
|---|---|
| CppType | |
| SingletonType | |
| InterfaceType | |
| CompositeType | |
| CompositeSingletonType | |
| InlineComponentType | |
| SequentialContainerType | |
| JavaScriptType | |
| AnyRegistrationType | |
Definition at line 174 of file qqmltype_p.h.
|
default |
|
default |
|
default |
|
explicit |
Definition at line 104 of file qqmltype.cpp.
|
default |
| QQmlAttachedPropertiesFunc QQmlType::attachedPropertiesFunction | ( | QQmlTypeLoader * | typeLoader | ) | const |
Definition at line 714 of file qqmltype.cpp.
| const QMetaObject * QQmlType::attachedPropertiesType | ( | QQmlTypeLoader * | typeLoader | ) | const |
Definition at line 721 of file qqmltype.cpp.
| bool QQmlType::availableInVersion | ( | const QHashedStringRef & | module, |
| QTypeRevision | version ) const |
Definition at line 135 of file qqmltype.cpp.
| bool QQmlType::availableInVersion | ( | QTypeRevision | version | ) | const |
Definition at line 121 of file qqmltype.cpp.
| const QMetaObject * QQmlType::baseMetaObject | ( | ) | const |
Definition at line 699 of file qqmltype.cpp.
| bool QQmlType::canConstructValueType | ( | ) | const |
Definition at line 561 of file qqmltype.cpp.
| bool QQmlType::canPopulateValueType | ( | ) | const |
Definition at line 568 of file qqmltype.cpp.
| bool QQmlType::containsRevisionedAttributes | ( | ) | const |
Definition at line 704 of file qqmltype.cpp.
| QObject * QQmlType::create | ( | ) | const |
Allocates and initializes an object if the type is creatable. Returns a pointer to the object, or nullptr if the type was not creatable.
Definition at line 487 of file qqmltype.cpp.
Like create without arguments, but allocates some extra space after the object.
| memory | An out-only argument. *memory will point to the start of the additionally allocated memory. |
| additionalMemory | The amount of extra memory in bytes that shoudld be allocated. |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 505 of file qqmltype.cpp.
| QQmlType::CreateFunc QQmlType::createFunction | ( | ) | const |
Definition at line 575 of file qqmltype.cpp.
Definition at line 897 of file qqmltype.cpp.
| QQmlType::CreateValueTypeFunc QQmlType::createValueTypeFunction | ( | ) | const |
Definition at line 554 of file qqmltype.cpp.
| QObject * QQmlType::createWithQQmlData | ( | ) | const |
Like create, but also allocates memory behind the object, constructs a QQmlData there and lets the objects declarativeData point to the newly created QQmlData.
Definition at line 523 of file qqmltype.cpp.
| QQmlCustomParser * QQmlType::customParser | ( | ) | const |
Definition at line 545 of file qqmltype.cpp.
|
static |
Definition at line 884 of file qqmltype.cpp.
| QString QQmlType::elementName | ( | ) | const |
Definition at line 467 of file qqmltype.cpp.
| int QQmlType::enumValue | ( | QQmlTypeLoader * | typeLoader, |
| const QHashedCStringRef & | name, | ||
| bool * | ok ) const |
Definition at line 782 of file qqmltype.cpp.
| int QQmlType::enumValue | ( | QQmlTypeLoader * | typeLoader, |
| const QHashedStringRef & | name, | ||
| bool * | ok ) const |
Definition at line 777 of file qqmltype.cpp.
| int QQmlType::enumValue | ( | QQmlTypeLoader * | typeLoader, |
| const QV4::String * | name, | ||
| bool * | ok ) const |
Definition at line 787 of file qqmltype.cpp.
| QQmlType::ExtensionFunc QQmlType::extensionFunction | ( | ) | const |
Definition at line 594 of file qqmltype.cpp.
| const QMetaObject * QQmlType::extensionMetaObject | ( | ) | const |
Definition at line 609 of file qqmltype.cpp.
| int QQmlType::finalizerCast | ( | ) | const |
Definition at line 749 of file qqmltype.cpp.
| int QQmlType::index | ( | ) | const |
Definition at line 763 of file qqmltype.cpp.
| const char * QQmlType::interfaceIId | ( | ) | const |
Definition at line 756 of file qqmltype.cpp.
| bool QQmlType::isComposite | ( | ) | const |
Definition at line 639 of file qqmltype.cpp.
| bool QQmlType::isCompositeSingleton | ( | ) | const |
Definition at line 644 of file qqmltype.cpp.
| bool QQmlType::isCreatable | ( | ) | const |
Definition at line 589 of file qqmltype.cpp.
| bool QQmlType::isExtendedType | ( | ) | const |
Definition at line 624 of file qqmltype.cpp.
| bool QQmlType::isInlineComponentType | ( | ) | const |
Definition at line 768 of file qqmltype.cpp.
| bool QQmlType::isInterface | ( | ) | const |
Definition at line 634 of file qqmltype.cpp.
| bool QQmlType::isQJSValueSingleton | ( | ) | const |
Definition at line 658 of file qqmltype.cpp.
| bool QQmlType::isQObjectSingleton | ( | ) | const |
Definition at line 653 of file qqmltype.cpp.
| bool QQmlType::isSequentialContainer | ( | ) | const |
Definition at line 663 of file qqmltype.cpp.
| bool QQmlType::isSingleton | ( | ) | const |
Definition at line 629 of file qqmltype.cpp.
|
inline |
Definition at line 56 of file qqmltype_p.h.
| bool QQmlType::isValueType | ( | ) | const |
Definition at line 668 of file qqmltype.cpp.
| QMetaSequence QQmlType::listMetaSequence | ( | ) | const |
Definition at line 683 of file qqmltype.cpp.
| const QMetaObject * QQmlType::metaObject | ( | ) | const |
Definition at line 688 of file qqmltype.cpp.
| const QMetaObject * QQmlType::metaObjectForValueType | ( | ) | const |
Definition at line 693 of file qqmltype.cpp.
| QTypeRevision QQmlType::metaObjectRevision | ( | ) | const |
Definition at line 709 of file qqmltype.cpp.
| QHashedString QQmlType::module | ( | ) | const |
Definition at line 107 of file qqmltype.cpp.
| QString QQmlType::noCreationReason | ( | ) | const |
Definition at line 582 of file qqmltype.cpp.
| int QQmlType::parserStatusCast | ( | ) | const |
Definition at line 728 of file qqmltype.cpp.
|
inline |
Definition at line 169 of file qqmltype_p.h.
| int QQmlType::propertyValueInterceptorCast | ( | ) | const |
Definition at line 742 of file qqmltype.cpp.
| int QQmlType::propertyValueSourceCast | ( | ) | const |
Definition at line 735 of file qqmltype.cpp.
| QMetaType QQmlType::qListTypeId | ( | ) | const |
Definition at line 678 of file qqmltype.cpp.
| QString QQmlType::qmlTypeName | ( | ) | const |
Definition at line 474 of file qqmltype.cpp.
|
static |
Definition at line 890 of file qqmltype.cpp.
|
static |
Definition at line 878 of file qqmltype.cpp.
| int QQmlType::scopedEnumIndex | ( | QQmlTypeLoader * | typeLoader, |
| const QString & | name, | ||
| bool * | ok ) const |
Definition at line 798 of file qqmltype.cpp.
| int QQmlType::scopedEnumIndex | ( | QQmlTypeLoader * | typeLoader, |
| const QV4::String * | name, | ||
| bool * | ok ) const |
Definition at line 792 of file qqmltype.cpp.
| QString QQmlType::scopedEnumKey | ( | QQmlTypeLoader * | typeLoader, |
| int | index, | ||
| int | value, | ||
| bool * | ok ) const |
Definition at line 852 of file qqmltype.cpp.
| QStringList QQmlType::scopedEnumKeys | ( | QQmlTypeLoader * | typeLoader, |
| int | index, | ||
| int | value, | ||
| bool * | ok ) const |
Definition at line 858 of file qqmltype.cpp.
| int QQmlType::scopedEnumValue | ( | QQmlTypeLoader * | typeLoader, |
| const QHashedStringRef & | scopedEnumName, | ||
| const QHashedStringRef & | name, | ||
| bool * | ok ) const |
Definition at line 828 of file qqmltype.cpp.
| int QQmlType::scopedEnumValue | ( | QQmlTypeLoader * | typeLoader, |
| int | index, | ||
| const QString & | name, | ||
| bool * | ok ) const |
Definition at line 822 of file qqmltype.cpp.
| int QQmlType::scopedEnumValue | ( | QQmlTypeLoader * | typeLoader, |
| int | index, | ||
| const QV4::String * | name, | ||
| bool * | ok ) const |
Definition at line 816 of file qqmltype.cpp.
| QQmlType::SingletonInstanceInfo::ConstPtr QQmlType::singletonInstanceInfo | ( | ) | const |
Definition at line 536 of file qqmltype.cpp.
| QUrl QQmlType::sourceUrl | ( | ) | const |
Definition at line 772 of file qqmltype.cpp.
| QMetaType QQmlType::typeId | ( | ) | const |
Definition at line 673 of file qqmltype.cpp.
| QByteArray QQmlType::typeName | ( | ) | const |
Definition at line 456 of file qqmltype.cpp.
| int QQmlType::unscopedEnumIndex | ( | QQmlTypeLoader * | typeLoader, |
| const QString & | name, | ||
| bool * | ok ) const |
Definition at line 810 of file qqmltype.cpp.
| int QQmlType::unscopedEnumIndex | ( | QQmlTypeLoader * | typeLoader, |
| const QV4::String * | name, | ||
| bool * | ok ) const |
Definition at line 804 of file qqmltype.cpp.
| QString QQmlType::unscopedEnumKey | ( | QQmlTypeLoader * | typeLoader, |
| int | index, | ||
| int | value, | ||
| bool * | ok ) const |
Definition at line 864 of file qqmltype.cpp.
| QStringList QQmlType::unscopedEnumKeys | ( | QQmlTypeLoader * | typeLoader, |
| int | index, | ||
| int | value, | ||
| bool * | ok ) const |
Definition at line 870 of file qqmltype.cpp.
| int QQmlType::unscopedEnumValue | ( | QQmlTypeLoader * | typeLoader, |
| const QHashedStringRef & | scopedEnumName, | ||
| const QHashedStringRef & | name, | ||
| bool * | ok ) const |
Definition at line 846 of file qqmltype.cpp.
| int QQmlType::unscopedEnumValue | ( | QQmlTypeLoader * | typeLoader, |
| int | index, | ||
| const QString & | name, | ||
| bool * | ok ) const |
Definition at line 840 of file qqmltype.cpp.
| int QQmlType::unscopedEnumValue | ( | QQmlTypeLoader * | typeLoader, |
| int | index, | ||
| const QV4::String * | name, | ||
| bool * | ok ) const |
Definition at line 834 of file qqmltype.cpp.
| QTypeRevision QQmlType::version | ( | ) | const |
Definition at line 114 of file qqmltype.cpp.
Definition at line 195 of file qqmltype_p.h.
Definition at line 191 of file qqmltype_p.h.
|
friend |
Definition at line 203 of file qqmltype_p.h.
|
friend |
Definition at line 189 of file qqmltype_p.h.