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>.
|
#include <qqmljsmetatypes_p.h>
Public Types | |
enum | Constness { NonConst = 0 , Const } |
Public Member Functions | |
QQmlJSMetaParameter (QString name=QString(), QString typeName=QString(), 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 125 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 134 of file qqmljsmetatypes_p.h.
|
inline |
Definition at line 139 of file qqmljsmetatypes_p.h.
|
inline |
Definition at line 159 of file qqmljsmetatypes_p.h.
Referenced by setIsList().
|
inline |
Definition at line 157 of file qqmljsmetatypes_p.h.
Referenced by setIsPointer().
|
inline |
Definition at line 149 of file qqmljsmetatypes_p.h.
Referenced by setName().
|
inline |
Definition at line 160 of file qqmljsmetatypes_p.h.
References isList().
|
inline |
Definition at line 158 of file qqmljsmetatypes_p.h.
References isPointer().
Definition at line 150 of file qqmljsmetatypes_p.h.
References name().
|
inline |
Definition at line 154 of file qqmljsmetatypes_p.h.
References type().
Referenced by QQmlJSMetaMethod::setReturnType().
Definition at line 152 of file qqmljsmetatypes_p.h.
References typeName().
Referenced by QQmlJSMetaMethod::setReturnTypeName().
Definition at line 156 of file qqmljsmetatypes_p.h.
References typeQualifier().
|
inline |
Definition at line 153 of file qqmljsmetatypes_p.h.
References QWeakPointer< T >::toStrongRef().
Referenced by QQmlJSMetaMethod::returnType(), and setType().
|
inline |
Definition at line 151 of file qqmljsmetatypes_p.h.
Referenced by QQmlJSMetaMethod::returnTypeName(), and setTypeName().
|
inline |
Definition at line 155 of file qqmljsmetatypes_p.h.
Referenced by setTypeQualifier().
|
friend |
Definition at line 169 of file qqmljsmetatypes_p.h.
|
friend |
Definition at line 162 of file qqmljsmetatypes_p.h.
|
friend |
Definition at line 174 of file qqmljsmetatypes_p.h.