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 "qmetaobjectbuilder_p.h"
#include "qobject_p.h"
#include "qmetaobject_p.h"
#include <vector>
#include <stdlib.h>
Go to the source code of this file.
Classes | |
class | QMetaMethodBuilderPrivate |
class | QMetaPropertyBuilderPrivate |
class | QMetaEnumBuilderPrivate |
class | QMetaObjectBuilderPrivate |
Namespaces | |
namespace | QtPrivate |
\macro QT_NO_KEYWORDS > | |
Macros | |
#define | ALIGN(size, type) (size) = ((size) + sizeof(type) - 1) & ~(sizeof(type) - 1) |
Enumerations | |
enum | Mode { Prepare , Construct } |
Functions | |
Q_CORE_EXPORT bool | QtPrivate::isBuiltinType (const QByteArray &type) |
static const QMetaObjectPrivate * | qmobPriv (const uint *data) |
Q_DECLARE_TYPEINFO (QMetaMethodBuilderPrivate, Q_RELOCATABLE_TYPE) | |
Q_DECLARE_TYPEINFO (QMetaPropertyBuilderPrivate, Q_RELOCATABLE_TYPE) | |
Q_DECLARE_TYPEINFO (QMetaEnumBuilderPrivate, Q_RELOCATABLE_TYPE) | |
static void | writeString (char *out, int i, const QByteArray &str, const int offsetOfStringdataMember, int &stringdataOffset) |
static int | aggregateParameterCount (const std::vector< QMetaMethodBuilderPrivate > &methods) |
template<Mode mode> | |
static int | buildMetaObject (QMetaObjectBuilderPrivate *d, char *buf, int expectedSize) |
Definition at line 1034 of file qmetaobjectbuilder.cpp.
Referenced by buildMetaObject().
enum Mode |
Enumerator | |
---|---|
Prepare | |
Construct |
Definition at line 1132 of file qmetaobjectbuilder.cpp.
|
static |
Definition at line 1124 of file qmetaobjectbuilder.cpp.
References method, methods, and sum.
Referenced by buildMetaObject(), and Generator::generateCode().
|
static |
Definition at line 1140 of file qmetaobjectbuilder.cpp.
References aggregateParameterCount(), ALIGN, attrs, Construct, d, QMetaObject::d, EnumIsFlag, EnumIsScoped, EnumOrFlag, QMetaType::fromName(), i, QMetaObjectPrivate::IntsPerEnum, QMetaObjectPrivate::IntsPerMethod, QMetaObjectPrivate::IntsPerProperty, QtPrivate::isBuiltinType(), IsUnresolvedType, MetaObjectPrivateFieldCount, method, methods, QMetaObjectPrivate::OutputRevision, Q_ASSERT, Q_UNUSED, QMetaMethod::Signal, str, tag, and typeName.
Q_DECLARE_TYPEINFO | ( | QMetaEnumBuilderPrivate | , |
Q_RELOCATABLE_TYPE | ) |
Q_DECLARE_TYPEINFO | ( | QMetaMethodBuilderPrivate | , |
Q_RELOCATABLE_TYPE | ) |
Q_DECLARE_TYPEINFO | ( | QMetaPropertyBuilderPrivate | , |
Q_RELOCATABLE_TYPE | ) |
|
inlinestatic |
Definition at line 56 of file qmetaobjectbuilder.cpp.
Referenced by QMetaObjectBuilder::addMetaObject().
|
static |
Definition at line 1081 of file qmetaobjectbuilder.cpp.
References QString::constData(), i, out, QString::size(), and str.