QtBase  v6.3.1
Public Types | Static Public Member Functions | Public Attributes | List of all members
QMetaObjectPrivate Struct Reference

#include <qmetaobject_p.h>

Inheritance diagram for QMetaObjectPrivate:
Inheritance graph
[legend]

Public Types

enum  { OutputRevision = 10 }
 
enum  { IntsPerMethod = QMetaMethod::Data::Size }
 
enum  { IntsPerEnum = QMetaEnum::Data::Size }
 
enum  { IntsPerProperty = QMetaProperty::Data::Size }
 
enum  DisconnectType { DisconnectAll , DisconnectOne }
 

Static Public Member Functions

static const QMetaObjectPrivateget (const QMetaObject *metaobject)
 
static int originalClone (const QMetaObject *obj, int local_method_index)
 
static QByteArray decodeMethodSignature (const char *signature, QArgumentTypeArray &types)
 
static int indexOfSignalRelative (const QMetaObject **baseObject, const QByteArray &name, int argc, const QArgumentType *types)
 
static int indexOfSlotRelative (const QMetaObject **m, const QByteArray &name, int argc, const QArgumentType *types)
 
static int indexOfSignal (const QMetaObject *m, const QByteArray &name, int argc, const QArgumentType *types)
 
static int indexOfSlot (const QMetaObject *m, const QByteArray &name, int argc, const QArgumentType *types)
 
static int indexOfMethod (const QMetaObject *m, const QByteArray &name, int argc, const QArgumentType *types)
 
static int indexOfConstructor (const QMetaObject *m, const QByteArray &name, int argc, const QArgumentType *types)
 
static Q_CORE_EXPORT QMetaMethod signal (const QMetaObject *m, int signal_index)
 
static int signalOffset (const QMetaObject *m)
 
static Q_CORE_EXPORT int absoluteSignalCount (const QMetaObject *m)
 
static Q_CORE_EXPORT int signalIndex (const QMetaMethod &m)
 
static bool checkConnectArgs (int signalArgc, const QArgumentType *signalTypes, int methodArgc, const QArgumentType *methodTypes)
 
static bool checkConnectArgs (const QMetaMethodPrivate *signal, const QMetaMethodPrivate *method)
 
static QList< QByteArrayparameterTypeNamesFromSignature (const char *signature)
 
static void memberIndexes (const QObject *obj, const QMetaMethod &member, int *signalIndex, int *methodIndex)
 
static QObjectPrivate::Connectionconnect (const QObject *sender, int signal_index, const QMetaObject *smeta, const QObject *receiver, int method_index_relative, const QMetaObject *rmeta=nullptr, int type=0, int *types=nullptr)
 
static bool disconnect (const QObject *sender, int signal_index, const QMetaObject *smeta, const QObject *receiver, int method_index, void **slot, DisconnectType=DisconnectAll)
 
static bool disconnectHelper (QObjectPrivate::ConnectionData *connections, int signalIndex, const QObject *receiver, int method_index, void **slot, QBasicMutex *senderMutex, DisconnectType=DisconnectAll)
 
template<int MethodType>
static int indexOfMethodRelative (const QMetaObject **baseObject, const QByteArray &name, int argc, const QArgumentType *types)
 
static bool methodMatch (const QMetaObject *m, const QMetaMethod &method, const QByteArray &name, int argc, const QArgumentType *types)
 
static Q_CORE_EXPORT QMetaMethod firstMethod (const QMetaObject *baseObject, QByteArrayView name)
 

Public Attributes

int revision
 
int className
 
int classInfoCount
 
int classInfoData
 
int methodCount
 
int methodData
 
int propertyCount
 
int propertyData
 
int enumeratorCount
 
int enumeratorData
 
int constructorCount
 
int constructorData
 
int flags
 
int signalCount
 

Detailed Description

Definition at line 172 of file qmetaobject_p.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
OutputRevision 

Definition at line 179 of file qmetaobject_p.h.

◆ anonymous enum

anonymous enum
Enumerator
IntsPerMethod 

Definition at line 180 of file qmetaobject_p.h.

◆ anonymous enum

anonymous enum
Enumerator
IntsPerEnum 

Definition at line 181 of file qmetaobject_p.h.

◆ anonymous enum

anonymous enum
Enumerator
IntsPerProperty 

Definition at line 182 of file qmetaobject_p.h.

◆ DisconnectType

Enumerator
DisconnectAll 
DisconnectOne 

Definition at line 235 of file qmetaobject_p.h.

Member Function Documentation

◆ absoluteSignalCount()

int QMetaObjectPrivate::absoluteSignalCount ( const QMetaObject m)
static

Definition at line 894 of file qmetaobject.cpp.

Here is the caller graph for this function:

◆ checkConnectArgs() [1/2]

bool QMetaObjectPrivate::checkConnectArgs ( const QMetaMethodPrivate signal,
const QMetaMethodPrivate method 
)
static

Definition at line 969 of file qmetaobject.cpp.

Here is the call graph for this function:

◆ checkConnectArgs() [2/2]

bool QMetaObjectPrivate::checkConnectArgs ( int  signalArgc,
const QArgumentType signalTypes,
int  methodArgc,
const QArgumentType methodTypes 
)
static

Definition at line 951 of file qmetaobject.cpp.

Here is the caller graph for this function:

◆ connect()

QObjectPrivate::Connection * QMetaObjectPrivate::connect ( const QObject sender,
int  signal_index,
const QMetaObject smeta,
const QObject receiver,
int  method_index_relative,
const QMetaObject rmeta = nullptr,
int  type = 0,
int *  types = nullptr 
)
static

Definition at line 3383 of file qobject.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ decodeMethodSignature()

QByteArray QMetaObjectPrivate::decodeMethodSignature ( const char *  signature,
QArgumentTypeArray types 
)
static

Definition at line 740 of file qmetaobject.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ disconnect()

bool QMetaObjectPrivate::disconnect ( const QObject sender,
int  signal_index,
const QMetaObject smeta,
const QObject receiver,
int  method_index,
void **  slot,
DisconnectType  disconnectType = DisconnectAll 
)
static

Definition at line 3518 of file qobject.cpp.

Here is the caller graph for this function:

◆ disconnectHelper()

bool QMetaObjectPrivate::disconnectHelper ( QObjectPrivate::ConnectionData connections,
int  signalIndex,
const QObject receiver,
int  method_index,
void **  slot,
QBasicMutex senderMutex,
DisconnectType  disconnectType = DisconnectAll 
)
inlinestatic

Definition at line 3478 of file qobject.cpp.

◆ firstMethod()

QMetaMethod QMetaObjectPrivate::firstMethod ( const QMetaObject baseObject,
QByteArrayView  name 
)
static

Definition at line 631 of file qmetaobject.cpp.

Here is the call graph for this function:

◆ get()

static const QMetaObjectPrivate* QMetaObjectPrivate::get ( const QMetaObject metaobject)
inlinestatic

Definition at line 194 of file qmetaobject_p.h.

Here is the caller graph for this function:

◆ indexOfConstructor()

int QMetaObjectPrivate::indexOfConstructor ( const QMetaObject m,
const QByteArray name,
int  argc,
const QArgumentType types 
)
static

Definition at line 861 of file qmetaobject.cpp.

◆ indexOfMethod()

int QMetaObjectPrivate::indexOfMethod ( const QMetaObject m,
const QByteArray name,
int  argc,
const QArgumentType types 
)
static

Definition at line 852 of file qmetaobject.cpp.

Here is the caller graph for this function:

◆ indexOfMethodRelative()

template<int MethodType>
int QMetaObjectPrivate::indexOfMethodRelative ( const QMetaObject **  baseObject,
const QByteArray name,
int  argc,
const QArgumentType types 
)
inlinestatic

Definition at line 652 of file qmetaobject.cpp.

◆ indexOfSignal()

int QMetaObjectPrivate::indexOfSignal ( const QMetaObject m,
const QByteArray name,
int  argc,
const QArgumentType types 
)
static

Definition at line 834 of file qmetaobject.cpp.

Here is the call graph for this function:

◆ indexOfSignalRelative()

int QMetaObjectPrivate::indexOfSignalRelative ( const QMetaObject **  baseObject,
const QByteArray name,
int  argc,
const QArgumentType types 
)
static

Definition at line 785 of file qmetaobject.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ indexOfSlot()

int QMetaObjectPrivate::indexOfSlot ( const QMetaObject m,
const QByteArray name,
int  argc,
const QArgumentType types 
)
static

Definition at line 843 of file qmetaobject.cpp.

Here is the call graph for this function:

◆ indexOfSlotRelative()

int QMetaObjectPrivate::indexOfSlotRelative ( const QMetaObject **  m,
const QByteArray name,
int  argc,
const QArgumentType types 
)
static

Definition at line 827 of file qmetaobject.cpp.

Here is the caller graph for this function:

◆ memberIndexes()

void QMetaObjectPrivate::memberIndexes ( const QObject obj,
const QMetaMethod member,
int *  signalIndex,
int *  methodIndex 
)
static

Definition at line 2655 of file qobject.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ methodMatch()

bool QMetaObjectPrivate::methodMatch ( const QMetaObject m,
const QMetaMethod method,
const QByteArray name,
int  argc,
const QArgumentType types 
)
static

Definition at line 601 of file qmetaobject.cpp.

◆ originalClone()

int QMetaObjectPrivate::originalClone ( const QMetaObject obj,
int  local_method_index 
)
static

Definition at line 3791 of file qmetaobject.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parameterTypeNamesFromSignature()

QList< QByteArray > QMetaObjectPrivate::parameterTypeNamesFromSignature ( const char *  signature)
static

Definition at line 3806 of file qmetaobject.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ signal()

QMetaMethod QMetaObjectPrivate::signal ( const QMetaObject m,
int  signal_index 
)
static

Definition at line 928 of file qmetaobject.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ signalIndex()

int QMetaObjectPrivate::signalIndex ( const QMetaMethod m)
static

Definition at line 912 of file qmetaobject.cpp.

Here is the call graph for this function:

◆ signalOffset()

int QMetaObjectPrivate::signalOffset ( const QMetaObject m)
inlinestatic

Definition at line 216 of file qmetaobject_p.h.

Here is the caller graph for this function:

Member Data Documentation

◆ classInfoCount

int QMetaObjectPrivate::classInfoCount

Definition at line 186 of file qmetaobject_p.h.

◆ classInfoData

int QMetaObjectPrivate::classInfoData

Definition at line 186 of file qmetaobject_p.h.

◆ className

int QMetaObjectPrivate::className

Definition at line 185 of file qmetaobject_p.h.

◆ constructorCount

int QMetaObjectPrivate::constructorCount

Definition at line 190 of file qmetaobject_p.h.

◆ constructorData

int QMetaObjectPrivate::constructorData

Definition at line 190 of file qmetaobject_p.h.

◆ enumeratorCount

int QMetaObjectPrivate::enumeratorCount

Definition at line 189 of file qmetaobject_p.h.

◆ enumeratorData

int QMetaObjectPrivate::enumeratorData

Definition at line 189 of file qmetaobject_p.h.

◆ flags

int QMetaObjectPrivate::flags

Definition at line 191 of file qmetaobject_p.h.

◆ methodCount

int QMetaObjectPrivate::methodCount

Definition at line 187 of file qmetaobject_p.h.

◆ methodData

int QMetaObjectPrivate::methodData

Definition at line 187 of file qmetaobject_p.h.

◆ propertyCount

int QMetaObjectPrivate::propertyCount

Definition at line 188 of file qmetaobject_p.h.

◆ propertyData

int QMetaObjectPrivate::propertyData

Definition at line 188 of file qmetaobject_p.h.

◆ revision

int QMetaObjectPrivate::revision

Definition at line 184 of file qmetaobject_p.h.

◆ signalCount

int QMetaObjectPrivate::signalCount

Definition at line 192 of file qmetaobject_p.h.


The documentation for this struct was generated from the following files: