![]() |
Qt 6.x
The Qt SDK
|
#include <QtCore/qglobal.h>
#include <QtCore/qobjectdefs.h>
#include <QtCore/qmutex.h>
#include <QtCore/qmetaobject.h>
#include <private/qobject_p.h>
#include <private/qtools_p.h>
#include <QtCore/qvarlengtharray.h>
Go to the source code of this file.
Classes | |
class | QArgumentType |
class | QMetaMethodInvoker |
struct | QMetaObjectPrivate |
Typedefs | |
typedef QVarLengthArray< QArgumentType, 10 > | QArgumentTypeArray |
Enumerations | |
enum | PropertyFlags { Invalid = 0x00000000 , Readable = 0x00000001 , Writable = 0x00000002 , Resettable = 0x00000004 , EnumOrFlag = 0x00000008 , Alias = 0x00000010 , StdCppSet = 0x00000100 , Constant = 0x00000400 , Final = 0x00000800 , Designable = 0x00001000 , Scriptable = 0x00004000 , Stored = 0x00010000 , User = 0x00100000 , Required = 0x01000000 , Bindable = 0x02000000 } |
enum | MethodFlags { AccessPrivate = 0x00 , AccessProtected = 0x01 , AccessPublic = 0x02 , AccessMask = 0x03 , MethodMethod = 0x00 , MethodSignal = 0x04 , MethodSlot = 0x08 , MethodConstructor = 0x0c , MethodTypeMask = 0x0c , MethodCompatibility = 0x10 , MethodCloned = 0x20 , MethodScriptable = 0x40 , MethodRevisioned = 0x80 , MethodIsConst = 0x100 } |
enum | MetaObjectFlag { DynamicMetaObject = 0x01 , RequiresVariantMetaObject = 0x02 , PropertyAccessInStaticMetaCall = 0x04 } |
enum | MetaDataFlags { IsUnresolvedType = 0x80000000 , TypeNameIndexMask = 0x7FFFFFFF , IsUnresolvedSignal = 0x70000000 } |
enum | EnumFlags { EnumIsFlag = 0x1 , EnumIsScoped = 0x2 } |
enum | { MetaObjectPrivateFieldCount = sizeof(QMetaObjectPrivate) / sizeof(int) } |
Functions | |
Q_CORE_EXPORT int | qMetaTypeTypeInternal (const char *) |
Q_DECLARE_TYPEINFO (QArgumentType, Q_RELOCATABLE_TYPE) | |
static bool | is_ident_char (char s) |
static bool | is_space (char s) |
typedef QVarLengthArray<QArgumentType, 10> QArgumentTypeArray |
Definition at line 135 of file qmetaobject_p.h.
anonymous enum |
Enumerator | |
---|---|
MetaObjectPrivateFieldCount |
Definition at line 266 of file qmetaobject_p.h.
enum EnumFlags |
Enumerator | |
---|---|
EnumIsFlag | |
EnumIsScoped |
Definition at line 87 of file qmetaobject_p.h.
enum MetaDataFlags |
Enumerator | |
---|---|
IsUnresolvedType | |
TypeNameIndexMask | |
IsUnresolvedSignal |
Definition at line 81 of file qmetaobject_p.h.
enum MetaObjectFlag |
Enumerator | |
---|---|
DynamicMetaObject | |
RequiresVariantMetaObject | |
PropertyAccessInStaticMetaCall |
Definition at line 73 of file qmetaobject_p.h.
enum MethodFlags |
Definition at line 53 of file qmetaobject_p.h.
enum PropertyFlags |
Enumerator | |
---|---|
Invalid | |
Readable | |
Writable | |
Resettable | |
EnumOrFlag | |
Alias | |
StdCppSet | |
Constant | |
Final | |
Designable | |
Scriptable | |
Stored | |
User | |
Required | |
Bindable |
Definition at line 34 of file qmetaobject_p.h.
|
inlinestatic |
Definition at line 270 of file qmetaobject_p.h.
References QtMiscUtils::isAsciiLetterOrNumber().
Referenced by Moc::lexemUntil(), QtPrivate::QTypeNormalizer::normalizeType(), qRemoveWhitespace(), and Preprocessor::tokenize().
|
inlinestatic |
Definition at line 275 of file qmetaobject_p.h.
Referenced by cleaned(), QtPrivate::QTypeNormalizer::normalizeType(), and qRemoveWhitespace().
Q_DECLARE_TYPEINFO | ( | QArgumentType | , |
Q_RELOCATABLE_TYPE | |||
) |
Q_CORE_EXPORT int qMetaTypeTypeInternal | ( | const char * | typeName | ) |
Similar to QMetaType::type(); the only difference is that this function doesn't attempt to normalize the type name (i.e., the lookup will fail for type names in non-normalized form).
Definition at line 2797 of file qmetatype.cpp.
References qMetaTypeTypeImpl(), qstrlen(), and typeName.
Referenced by isBuiltinType(), and nameToBuiltinType().