Extending Qt Creator Manual | CppQmlTypes

Extending Qt Creator Manual 4.7.1

# CppQmlTypes Class

(QmlJS::QmlJS::CppQmlTypes)

- List of all members, including inherited members

## Public Functions

| CppQmlTypes(QmlJS::QmlJS::ValueOwner *valueOwner)
const QmlJS::QmlJS::ObjectValue * | cppContextProperties() const
int | createObjectsForImport(const QmlJS::QString &, int)
bool | hasModule(const QmlJS::QString &module) const
void | load(const QmlJS::QString &originId, const T &fakeMetaObjects, const QmlJS::QString &overridePackage = ...)
const QmlJS::QmlJS::CppComponentValue * | objectByCppName(const QmlJS::QString &cppName) const
const QmlJS::QmlJS::CppComponentValue * | objectByQualifiedName(const QmlJS::QString &fullyQualifiedName) const
const QmlJS::QmlJS::CppComponentValue * | objectByQualifiedName(const QmlJS::QString &package, const QmlJS::QString &type, int version) const
void | setCppContextProperties(const QmlJS::QmlJS::ObjectValue *contextProperties)

## Static Public Members

QmlJS::QString | qualifiedName(const QmlJS::QString &module, const QmlJS::QString &type, int version)

## Member Function Documentation

### CppQmlTypes::CppQmlTypes(QmlJS::QmlJS::ValueOwner *valueOwner)

Default constructs an instance of CppQmlTypes.

### const QmlJS::QmlJS::ObjectValue *CppQmlTypes::cppContextProperties() const

See also setCppContextProperties().

### int CppQmlTypes::createObjectsForImport(const QmlJS::QString &, int)

### bool CppQmlTypes::hasModule(const QmlJS::QString &module) const

### void CppQmlTypes::load(const QmlJS::QString &originId, const T &fakeMetaObjects, const QmlJS::QString &overridePackage = ...)

### const QmlJS::QmlJS::CppComponentValue *CppQmlTypes::objectByCppName(const QmlJS::QString &cppName) const

### const QmlJS::QmlJS::CppComponentValue *CppQmlTypes::objectByQualifiedName(const QmlJS::QString &fullyQualifiedName) const

### const QmlJS::QmlJS::CppComponentValue *CppQmlTypes::objectByQualifiedName(const QmlJS::QString &package, const QmlJS::QString &type, int version) const

### `[static]` QmlJS::QString CppQmlTypes::qualifiedName(const QmlJS::QString &module, const QmlJS::QString &type, int version)

### void CppQmlTypes::setCppContextProperties(const QmlJS::QmlJS::ObjectValue *contextProperties)

See also cppContextProperties().