CppQmlTypes Class

(QmlJS::CppQmlTypes)

Public Functions

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

Static Public Members

QString qualifiedName(const QString &module, const QString &type, LanguageUtils::ComponentVersion version)

Member Function Documentation

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

Default constructs an instance of CppQmlTypes.

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

See also setCppContextProperties().

int CppQmlTypes::createObjectsForImport(const QString &, LanguageUtils::ComponentVersion)

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

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

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

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

const QmlJS::CppComponentValue *CppQmlTypes::objectByQualifiedName(const QString &package, const QString &type, LanguageUtils::ComponentVersion version) const

[static] QString CppQmlTypes::qualifiedName(const QString &module, const QString &type, LanguageUtils::ComponentVersion version)

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

See also cppContextProperties().