Extending Qt Creator Manual | ImportInfo

Extending Qt Creator Manual 4.7.2

# ImportInfo Class

(QmlJS::QmlJS::ImportInfo)

- List of all members, including inherited members

## Public Functions

| ImportInfo()
QmlJS::QString | as() const
AST::UiImport * | ast() const
bool | isValid() const
QmlJS::QString | name() const
QmlJS::QString | path() const
ImportType::Enum | type() const
int | version() const

## Static Public Members

QmlJS::QmlJS::ImportInfo | implicitDirectoryImport(const QmlJS::QString &directory)
QmlJS::QmlJS::ImportInfo | invalidImport(AST::UiImport *ast = 0)
QmlJS::QmlJS::ImportInfo | moduleImport(QmlJS::QString uri, int version, const QmlJS::QString &as, AST::UiImport *ast = 0)
QmlJS::QmlJS::ImportInfo | pathImport(const QmlJS::QString &docPath, const QmlJS::QString &path, int version, const QmlJS::QString &as, AST::UiImport *ast = 0)
QmlJS::QmlJS::ImportInfo | qrcDirectoryImport(const QmlJS::QString &directory)

## Member Function Documentation

### ImportInfo::ImportInfo()

Default constructs an instance of ImportInfo.

### QmlJS::QString ImportInfo::as() const

### AST::UiImport *ImportInfo::ast() const

### `[static]` QmlJS::QmlJS::ImportInfo ImportInfo::implicitDirectoryImport(const QmlJS::QString &directory)

### `[static]` QmlJS::QmlJS::ImportInfo ImportInfo::invalidImport(AST::UiImport *ast = 0)

### bool ImportInfo::isValid() const

### `[static]` QmlJS::QmlJS::ImportInfo ImportInfo::moduleImport(QmlJS::QString uri, int version, const QmlJS::QString &as, AST::UiImport *ast = 0)

### QmlJS::QString ImportInfo::name() const

### QmlJS::QString ImportInfo::path() const

### `[static]` QmlJS::QmlJS::ImportInfo ImportInfo::pathImport(const QmlJS::QString &docPath, const QmlJS::QString &path, int version, const QmlJS::QString &as, AST::UiImport *ast = 0)

### `[static]` QmlJS::QmlJS::ImportInfo ImportInfo::qrcDirectoryImport(const QmlJS::QString &directory)

### ImportType::Enum ImportInfo::type() const

### int ImportInfo::version() const