Extending Qt Creator Manual | Imports

Extending Qt Creator Manual 4.7.1

# Imports Class

(QmlJS::QmlJS::Imports)

- List of all members, including inherited members

## Public Functions

| Imports(QmlJS::QmlJS::ValueOwner *valueOwner)
const int & | all() const
void | append(const QmlJS::QmlJS::Import &import)
void | dump() const
bool | importFailed() const
QmlJS::QmlJS::ImportInfo | info(const QmlJS::QString &name, const QmlJS::QmlJS::Context *context) const
const QmlJS::QmlJS::JSImportScope * | jsImportScope() const
QmlJS::QString | nameForImportedObject(const QmlJS::QmlJS::ObjectValue *value, const QmlJS::QmlJS::Context *context) const
void | setImportFailed()
const QmlJS::QmlJS::TypeScope * | typeScope() const

## Member Function Documentation

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

Default constructs an instance of Imports.

### const int &Imports::all() const

### void Imports::append(const QmlJS::QmlJS::Import &import)

### void Imports::dump() const

### bool Imports::importFailed() const

See also setImportFailed().

### QmlJS::QmlJS::ImportInfo Imports::info(const QmlJS::QString &name, const QmlJS::QmlJS::Context *context) const

### const QmlJS::QmlJS::JSImportScope *Imports::jsImportScope() const

### QmlJS::QString Imports::nameForImportedObject(const QmlJS::QmlJS::ObjectValue *value, const QmlJS::QmlJS::Context *context) const

### void Imports::setImportFailed()

See also importFailed().

### const QmlJS::QmlJS::TypeScope *Imports::typeScope() const