![]() |
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, ImportedScope< QQmlJSScope::ConstPtr > > &types, const QMultiHash< QQmlJSScope::ConstPtr, QString > &names, const QQmlJSScope::ConstPtr &arrayType) | |
CompileContext | context () const |
QQmlJSScope::ConstPtr | arrayType () const |
bool | hasType (const QString &name) const |
ImportedScope< QQmlJSScope::ConstPtr > | type (const QString &name) const |
QString | name (const QQmlJSScope::ConstPtr &type) const |
void | setType (const QString &name, const ImportedScope< QQmlJSScope::ConstPtr > &type) |
void | clearType (const QString &name) |
bool | isNullType (const QString &name) const |
void | addTypes (ContextualTypes &&types) |
void | addTypes (const ContextualTypes &types) |
const QHash< QString, ImportedScope< QQmlJSScope::ConstPtr > > & | 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 28 of file qqmljscontextualtypes_p.h.
Enumerator | |
---|---|
INTERNAL | |
QML |
Definition at line 30 of file qqmljscontextualtypes_p.h.
|
inline |
Definition at line 32 of file qqmljscontextualtypes_p.h.
References ContextualTypes().
Referenced by ContextualTypes().
|
inline |
Definition at line 79 of file qqmljscontextualtypes_p.h.
|
inline |
Definition at line 72 of file qqmljscontextualtypes_p.h.
|
inline |
Definition at line 44 of file qqmljscontextualtypes_p.h.
Definition at line 57 of file qqmljscontextualtypes_p.h.
|
inline |
Definition at line 89 of file qqmljscontextualtypes_p.h.
|
inline |
Definition at line 43 of file qqmljscontextualtypes_p.h.
|
inline |
Definition at line 46 of file qqmljscontextualtypes_p.h.
|
inline |
Definition at line 66 of file qqmljscontextualtypes_p.h.
|
inline |
Definition at line 49 of file qqmljscontextualtypes_p.h.
|
inline |
Definition at line 87 of file qqmljscontextualtypes_p.h.
|
inline |
Definition at line 51 of file qqmljscontextualtypes_p.h.
|
inline |
Definition at line 48 of file qqmljscontextualtypes_p.h.
|
inline |
Definition at line 86 of file qqmljscontextualtypes_p.h.