Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQmlJSMetaParameter Class Reference

#include <qqmljsmetatypes_p.h>

+ Collaboration diagram for QQmlJSMetaParameter:

Public Types

enum  Constness { NonConst = 0 , Const }
 

Public Member Functions

 QQmlJSMetaParameter (const QString &name, const QString &typeName, Constness typeQualifier=NonConst, QWeakPointer< const QQmlJSScope > type={})
 
QString name () const
 
void setName (const QString &name)
 
QString typeName () const
 
void setTypeName (const QString &typeName)
 
QSharedPointer< const QQmlJSScopetype () const
 
void setType (QWeakPointer< const QQmlJSScope > type)
 
Constness typeQualifier () const
 
void setTypeQualifier (Constness typeQualifier)
 
bool isPointer () const
 
void setIsPointer (bool isPointer)
 
bool isList () const
 
void setIsList (bool isList)
 

Friends

bool operator== (const QQmlJSMetaParameter &a, const QQmlJSMetaParameter &b)
 
bool operator!= (const QQmlJSMetaParameter &a, const QQmlJSMetaParameter &b)
 
size_t qHash (const QQmlJSMetaParameter &e, size_t seed=0)
 

Detailed Description

Definition at line 119 of file qqmljsmetatypes_p.h.

Member Enumeration Documentation

◆ Constness

A non-const parameter is passed either by pointer or by value, depending on its access semantics. For types with reference access semantics, they can be const and will be passed then as const pointer. Const references are treated like values (i.e. non-const).

Enumerator
NonConst 
Const 

Definition at line 128 of file qqmljsmetatypes_p.h.

Constructor & Destructor Documentation

◆ QQmlJSMetaParameter()

QQmlJSMetaParameter::QQmlJSMetaParameter ( const QString name,
const QString typeName,
Constness  typeQualifier = NonConst,
QWeakPointer< const QQmlJSScope type = {} 
)
inline

Definition at line 133 of file qqmljsmetatypes_p.h.

Member Function Documentation

◆ isList()

bool QQmlJSMetaParameter::isList ( ) const
inline

Definition at line 150 of file qqmljsmetatypes_p.h.

Referenced by setIsList().

+ Here is the caller graph for this function:

◆ isPointer()

bool QQmlJSMetaParameter::isPointer ( ) const
inline

Definition at line 148 of file qqmljsmetatypes_p.h.

Referenced by setIsPointer().

+ Here is the caller graph for this function:

◆ name()

QString QQmlJSMetaParameter::name ( ) const
inline

Definition at line 140 of file qqmljsmetatypes_p.h.

Referenced by setName().

+ Here is the caller graph for this function:

◆ setIsList()

void QQmlJSMetaParameter::setIsList ( bool  isList)
inline

Definition at line 151 of file qqmljsmetatypes_p.h.

References isList().

+ Here is the call graph for this function:

◆ setIsPointer()

void QQmlJSMetaParameter::setIsPointer ( bool  isPointer)
inline

Definition at line 149 of file qqmljsmetatypes_p.h.

References isPointer().

+ Here is the call graph for this function:

◆ setName()

void QQmlJSMetaParameter::setName ( const QString name)
inline

Definition at line 141 of file qqmljsmetatypes_p.h.

References name().

+ Here is the call graph for this function:

◆ setType()

void QQmlJSMetaParameter::setType ( QWeakPointer< const QQmlJSScope type)
inline

Definition at line 145 of file qqmljsmetatypes_p.h.

References type().

+ Here is the call graph for this function:

◆ setTypeName()

void QQmlJSMetaParameter::setTypeName ( const QString typeName)
inline

Definition at line 143 of file qqmljsmetatypes_p.h.

References typeName().

+ Here is the call graph for this function:

◆ setTypeQualifier()

void QQmlJSMetaParameter::setTypeQualifier ( Constness  typeQualifier)
inline

Definition at line 147 of file qqmljsmetatypes_p.h.

References typeQualifier().

+ Here is the call graph for this function:

◆ type()

QSharedPointer< const QQmlJSScope > QQmlJSMetaParameter::type ( ) const
inline

Definition at line 144 of file qqmljsmetatypes_p.h.

References QWeakPointer< T >::toStrongRef().

Referenced by setType().

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

◆ typeName()

QString QQmlJSMetaParameter::typeName ( ) const
inline

Definition at line 142 of file qqmljsmetatypes_p.h.

Referenced by setTypeName().

+ Here is the caller graph for this function:

◆ typeQualifier()

Constness QQmlJSMetaParameter::typeQualifier ( ) const
inline

Definition at line 146 of file qqmljsmetatypes_p.h.

Referenced by setTypeQualifier().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ operator!=

bool operator!= ( const QQmlJSMetaParameter a,
const QQmlJSMetaParameter b 
)
friend

Definition at line 160 of file qqmljsmetatypes_p.h.

◆ operator==

bool operator== ( const QQmlJSMetaParameter a,
const QQmlJSMetaParameter b 
)
friend

Definition at line 153 of file qqmljsmetatypes_p.h.

◆ qHash

size_t qHash ( const QQmlJSMetaParameter e,
size_t  seed = 0 
)
friend

Definition at line 165 of file qqmljsmetatypes_p.h.


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