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>.
Loading...
Searching...
No Matches
QMetaMethodBuilderPrivate Class Reference
+ Collaboration diagram for QMetaMethodBuilderPrivate:

Public Member Functions

 QMetaMethodBuilderPrivate (QMetaMethod::MethodType _methodType, const QByteArray &_signature, const QByteArray &_returnType=QByteArray("void"), QMetaMethod::Access _access=QMetaMethod::Public, int _revision=0)
 
QMetaMethod::MethodType methodType () const
 
QMetaMethod::Access access () const
 
void setAccess (QMetaMethod::Access value)
 
QList< QByteArrayparameterTypes () const
 
int parameterCount () const
 
QByteArray name () const
 

Public Attributes

QByteArray signature
 
QByteArray returnType
 
QList< QByteArrayparameterNames
 
QByteArray tag
 
int attributes
 
int revision
 

Detailed Description

Definition at line 59 of file qmetaobjectbuilder.cpp.

Constructor & Destructor Documentation

◆ QMetaMethodBuilderPrivate()

QMetaMethodBuilderPrivate::QMetaMethodBuilderPrivate ( QMetaMethod::MethodType _methodType,
const QByteArray & _signature,
const QByteArray & _returnType = QByteArray("void"),
QMetaMethod::Access _access = QMetaMethod::Public,
int _revision = 0 )
inline

Definition at line 62 of file qmetaobjectbuilder.cpp.

References QMetaMethod::Constructor, QByteArray::isNull(), Q_ASSERT, and returnType.

+ Here is the call graph for this function:

Member Function Documentation

◆ access()

QMetaMethod::Access QMetaMethodBuilderPrivate::access ( ) const
inline

Definition at line 88 of file qmetaobjectbuilder.cpp.

References AccessMask, and attributes.

◆ methodType()

QMetaMethod::MethodType QMetaMethodBuilderPrivate::methodType ( ) const
inline

Definition at line 83 of file qmetaobjectbuilder.cpp.

References attributes, and MethodTypeMask.

◆ name()

QByteArray QMetaMethodBuilderPrivate::name ( ) const
inline

Definition at line 108 of file qmetaobjectbuilder.cpp.

References QByteArray::indexOf(), QByteArray::left(), qMax(), and signature.

+ Here is the call graph for this function:

◆ parameterCount()

int QMetaMethodBuilderPrivate::parameterCount ( ) const
inline

Definition at line 103 of file qmetaobjectbuilder.cpp.

References parameterTypes(), and QList< T >::size().

+ Here is the call graph for this function:

◆ parameterTypes()

QList< QByteArray > QMetaMethodBuilderPrivate::parameterTypes ( ) const
inline

Definition at line 98 of file qmetaobjectbuilder.cpp.

References QMetaObjectPrivate::parameterTypeNamesFromSignature(), and signature.

Referenced by parameterCount().

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

◆ setAccess()

void QMetaMethodBuilderPrivate::setAccess ( QMetaMethod::Access value)
inline

Definition at line 93 of file qmetaobjectbuilder.cpp.

References attributes.

Member Data Documentation

◆ attributes

int QMetaMethodBuilderPrivate::attributes

Definition at line 80 of file qmetaobjectbuilder.cpp.

Referenced by access(), methodType(), and setAccess().

◆ parameterNames

QList<QByteArray> QMetaMethodBuilderPrivate::parameterNames

Definition at line 78 of file qmetaobjectbuilder.cpp.

◆ returnType

QByteArray QMetaMethodBuilderPrivate::returnType

Definition at line 77 of file qmetaobjectbuilder.cpp.

Referenced by QMetaMethodBuilderPrivate().

◆ revision

int QMetaMethodBuilderPrivate::revision

Definition at line 81 of file qmetaobjectbuilder.cpp.

◆ signature

QByteArray QMetaMethodBuilderPrivate::signature

Definition at line 76 of file qmetaobjectbuilder.cpp.

Referenced by name(), and parameterTypes().

◆ tag

QByteArray QMetaMethodBuilderPrivate::tag

Definition at line 79 of file qmetaobjectbuilder.cpp.


The documentation for this class was generated from the following file: