![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qqmljscontextualtypes_p.h>
Public Types | |
| enum | CompileContext { INTERNAL , QML } |
Public Member Functions | |
| ContextualTypes (CompileContext context, const QHash< QString, ContextualType > &types, const QMultiHash< QQmlJSScope::ConstPtr, QString > &names, const QQmlJSScope::ConstPtr &arrayType) | |
| CompileContext | context () const |
| QQmlJSScope::ConstPtr | arrayType () const |
| bool | hasType (const QString &name) const |
| ContextualType | type (const QString &name) const |
| QString | name (const QQmlJSScope::ConstPtr &type) const |
| void | setType (const QString &name, const ContextualType &type) |
| void | clearType (const QString &name) |
| bool | isNullType (const QString &name) const |
| void | addTypes (const ContextualTypes &types) |
| const QHash< QString, ContextualType > & | types () const |
| const auto & | names () const |
| void | clearTypes () |
Maps type names to types and the compile context of the types. The context can be INTERNAL (for c++ and synthetic jsrootgen types) or QML (for qml types).
Definition at line 52 of file qqmljscontextualtypes_p.h.
| Enumerator | |
|---|---|
| INTERNAL | |
| QML | |
Definition at line 54 of file qqmljscontextualtypes_p.h.
|
inline |
Definition at line 56 of file qqmljscontextualtypes_p.h.
References ContextualTypes().
Referenced by ContextualTypes().
|
inline |
Definition at line 91 of file qqmljscontextualtypes_p.h.
|
inline |
Definition at line 68 of file qqmljscontextualtypes_p.h.
Definition at line 76 of file qqmljscontextualtypes_p.h.
|
inline |
Definition at line 102 of file qqmljscontextualtypes_p.h.
|
inline |
Definition at line 67 of file qqmljscontextualtypes_p.h.
|
inline |
Definition at line 70 of file qqmljscontextualtypes_p.h.
|
inline |
Definition at line 85 of file qqmljscontextualtypes_p.h.
|
inline |
Definition at line 73 of file qqmljscontextualtypes_p.h.
|
inline |
Definition at line 100 of file qqmljscontextualtypes_p.h.
| void QQmlJS::ContextualTypes::setType | ( | const QString & | name, |
| const ContextualType & | type ) |
Definition at line 11 of file qqmljscontextualtypes.cpp.
|
inline |
Definition at line 72 of file qqmljscontextualtypes_p.h.
|
inline |
Definition at line 99 of file qqmljscontextualtypes_p.h.