![]() |
Qt 6.x
The Qt SDK
|
#include <qqmljsmetatypes_p.h>
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 QQmlJSScope > | type () 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) |
Definition at line 119 of file qqmljsmetatypes_p.h.
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.
|
inline |
Definition at line 133 of file qqmljsmetatypes_p.h.
|
inline |
Definition at line 150 of file qqmljsmetatypes_p.h.
Referenced by setIsList().
|
inline |
Definition at line 148 of file qqmljsmetatypes_p.h.
Referenced by setIsPointer().
|
inline |
Definition at line 140 of file qqmljsmetatypes_p.h.
Referenced by setName().
|
inline |
Definition at line 151 of file qqmljsmetatypes_p.h.
References isList().
|
inline |
Definition at line 149 of file qqmljsmetatypes_p.h.
References isPointer().
Definition at line 141 of file qqmljsmetatypes_p.h.
References name().
|
inline |
Definition at line 145 of file qqmljsmetatypes_p.h.
References type().
Definition at line 143 of file qqmljsmetatypes_p.h.
References typeName().
Definition at line 147 of file qqmljsmetatypes_p.h.
References typeQualifier().
|
inline |
Definition at line 144 of file qqmljsmetatypes_p.h.
References QWeakPointer< T >::toStrongRef().
Referenced by setType().
|
inline |
Definition at line 142 of file qqmljsmetatypes_p.h.
Referenced by setTypeName().
|
inline |
Definition at line 146 of file qqmljsmetatypes_p.h.
Referenced by setTypeQualifier().
|
friend |
Definition at line 160 of file qqmljsmetatypes_p.h.
|
friend |
Definition at line 153 of file qqmljsmetatypes_p.h.
|
friend |
Definition at line 165 of file qqmljsmetatypes_p.h.