Extending Qt Creator Manual | ImportDependencies

Extending Qt Creator Manual 4.7.0

# ImportDependencies Class

(QmlJS::ImportDependencies)

- List of all members, including inherited members

## Public Types

typedef | ImportElements

## Public Functions

| ImportDependencies()
| ~ImportDependencies()
void | addCoreImport(const QmlJS::CoreImport &import)
void | addExport(const QString &importId, const QmlJS::ImportKey &importKey, const QString &requiredPath, const QString &typeName = Export::libraryTypeName())
QmlJS::ImportDependencies::ImportElements | candidateImports(const QmlJS::ImportKey &key, const QmlJS::ViewerContext &vContext) const
void | checkConsistency() const
QmlJS::CoreImport | coreImport(const QString &importId) const
QList<DependencyInfo::ConstPtr> | createDependencyInfos(const QmlJS::ImportKey &mainDoc, const QmlJS::ViewerContext &vContext) const
void | filter(const QmlJS::ViewerContext &vContext)
void | iterateOnCandidateImports(const QmlJS::ImportKey &key, const QmlJS::ViewerContext &vContext, int) const
void | iterateOnLibraryImports(const QmlJS::ViewerContext &vContext, int) const
void | iterateOnSubImports(const QmlJS::ImportKey &baseKey, const QmlJS::ViewerContext &vContext, int) const
QSet<QmlJS::ImportKey> | libraryImports(const QmlJS::ViewerContext &viewContext) const
void | removeCoreImport(const QString &importId)
void | removeExport(const QString &importId, const QmlJS::ImportKey &importKey, const QString &requiredPath, const QString &typeName = Export::libraryTypeName())
QSet<QmlJS::ImportKey> | subdirImports(const QmlJS::ImportKey &baseKey, const QmlJS::ViewerContext &viewContext) const

## Member Type Documentation

### typedef ImportDependencies::ImportElements

## Member Function Documentation

### ImportDependencies::ImportDependencies()

Default constructs an instance of ImportDependencies.

### ImportDependencies::~ImportDependencies()

Destroys the instance of ImportDependencies.

### void ImportDependencies::addCoreImport(const QmlJS::CoreImport &import)

### void ImportDependencies::addExport(const QString &importId, const QmlJS::ImportKey &importKey, const QString &requiredPath, const QString &typeName = Export::libraryTypeName())

### QmlJS::ImportDependencies::ImportElements ImportDependencies::candidateImports(const QmlJS::ImportKey &key, const QmlJS::ViewerContext &vContext) const

### void ImportDependencies::checkConsistency() const

### QmlJS::CoreImport ImportDependencies::coreImport(const QString &importId) const

### QList<DependencyInfo::ConstPtr> ImportDependencies::createDependencyInfos(const QmlJS::ImportKey &mainDoc, const QmlJS::ViewerContext &vContext) const

### void ImportDependencies::filter(const QmlJS::ViewerContext &vContext)

### void ImportDependencies::iterateOnCandidateImports(const QmlJS::ImportKey &key, const QmlJS::ViewerContext &vContext, int) const

### void ImportDependencies::iterateOnLibraryImports(const QmlJS::ViewerContext &vContext, int) const

### void ImportDependencies::iterateOnSubImports(const QmlJS::ImportKey &baseKey, const QmlJS::ViewerContext &vContext, int) const

### QSet<QmlJS::ImportKey> ImportDependencies::libraryImports(const QmlJS::ViewerContext &viewContext) const

### void ImportDependencies::removeCoreImport(const QString &importId)

### void ImportDependencies::removeExport(const QString &importId, const QmlJS::ImportKey &importKey, const QString &requiredPath, const QString &typeName = Export::libraryTypeName())

### QSet<QmlJS::ImportKey> ImportDependencies::subdirImports(const QmlJS::ImportKey &baseKey, const QmlJS::ViewerContext &viewContext) const