Qt 4.8
Public Functions | Public Variables | List of all members
QMetaMethodBuilderPrivate Class Reference

Public Functions

QMetaMethod::Access access () const
 
QMetaMethod::MethodType methodType () const
 
 QMetaMethodBuilderPrivate (QMetaMethod::MethodType _methodType, const QByteArray &_signature, const QByteArray &_returnType=QByteArray(), QMetaMethod::Access _access=QMetaMethod::Public)
 
void setAccess (QMetaMethod::Access value)
 

Public Variables

int attributes
 
QList< QByteArrayparameterNames
 
QByteArray returnType
 
QByteArray signature
 
QByteArray tag
 

Detailed Description

Definition at line 167 of file qmetaobjectbuilder.cpp.

Constructors and Destructors

◆ QMetaMethodBuilderPrivate()

QMetaMethodBuilderPrivate::QMetaMethodBuilderPrivate ( QMetaMethod::MethodType  _methodType,
const QByteArray _signature,
const QByteArray _returnType = QByteArray(),
QMetaMethod::Access  _access = QMetaMethod::Public 
)
inline

Definition at line 171 of file qmetaobjectbuilder.cpp.

177  attributes(((int)_access) | (((int)_methodType) << 2))
178  {
179  }
static QByteArray normalizedSignature(const char *method)
Normalizes the signature of the given method.
const char * constData() const
Returns a pointer to the data stored in the byte array.
Definition: qbytearray.h:433
static QByteArray normalizedType(const char *type)
Normalizes a type.

Functions

◆ access()

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

Definition at line 192 of file qmetaobjectbuilder.cpp.

Referenced by QMetaMethodBuilder::access().

193  {
195  }
Access
This enum describes the access level of a method, following the conventions used in C++...
Definition: qmetaobject.h:66

◆ methodType()

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

◆ setAccess()

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

Definition at line 197 of file qmetaobjectbuilder.cpp.

Referenced by QMetaMethodBuilder::setAccess().

198  {
199  attributes = ((attributes & ~AccessMask) | (int)value);
200  }

Properties

◆ attributes

int QMetaMethodBuilderPrivate::attributes

◆ parameterNames

QList<QByteArray> QMetaMethodBuilderPrivate::parameterNames

◆ returnType

QByteArray QMetaMethodBuilderPrivate::returnType

◆ signature

QByteArray QMetaMethodBuilderPrivate::signature

◆ tag

QByteArray QMetaMethodBuilderPrivate::tag

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