Extending Qt Creator Manual | ImportInfo

Extending Qt Creator Manual 4.7.0

# ImportInfo Class

(QmlJS::ImportInfo)

- List of all members, including inherited members

## Public Functions

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

## Static Public Members

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

## Member Function Documentation

### ImportInfo::ImportInfo()

Default constructs an instance of ImportInfo.

### QString ImportInfo::as() const

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

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

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

### bool ImportInfo::isValid() const

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

### QString ImportInfo::name() const

### QString ImportInfo::path() const

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

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

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

### LanguageUtils::ComponentVersion ImportInfo::version() const