Extending Qt Creator Manual | ImportKey

Extending Qt Creator Manual 4.7.2

# ImportKey Class

(Debugger::QmlJS::ImportKey)

- List of all members, including inherited members

## Public Types

enum | DirCompareInfo { SameDir, FirstInSecond, SecondInFirst, Different, Incompatible }

## Public Functions

| ImportKey()
| ImportKey(const Debugger::QmlJS::ImportInfo &info)
| ImportKey(ImportType::Enum type, const Debugger::QString &path, int majorVersion = ..., int minorVersion = ...)
void | addToHash(Debugger::QCryptographicHash &hash) const
int | compare(const Debugger::QmlJS::ImportKey &other) const
Debugger::QmlJS::ImportKey::DirCompareInfo | compareDir(const Debugger::QmlJS::ImportKey &other) const
Debugger::QmlJS::ImportKey | flatKey() const
bool | isDirectoryLike() const
Debugger::QString | libraryQualifiedPath() const
Debugger::QmlJS::ImportMatchStrength | matchImport(const Debugger::QmlJS::ImportKey &o, const Debugger::QmlJS::ViewerContext &vContext) const
Debugger::QString | path() const
Debugger::QString | toString() const

## Member Type Documentation

### enum ImportKey::DirCompareInfo

## Member Function Documentation

### ImportKey::ImportKey()

Default constructs an instance of ImportKey.

### ImportKey::ImportKey(const Debugger::QmlJS::ImportInfo &info)

Default constructs an instance of ImportKey.

### ImportKey::ImportKey(ImportType::Enum type, const Debugger::QString &path, int majorVersion = ..., int minorVersion = ...)

Default constructs an instance of ImportKey.

### void ImportKey::addToHash(Debugger::QCryptographicHash &hash) const

### int ImportKey::compare(const Debugger::QmlJS::ImportKey &other) const

### Debugger::QmlJS::ImportKey::DirCompareInfo ImportKey::compareDir(const Debugger::QmlJS::ImportKey &other) const

### Debugger::QmlJS::ImportKey ImportKey::flatKey() const

### bool ImportKey::isDirectoryLike() const

### Debugger::QString ImportKey::libraryQualifiedPath() const

### Debugger::QmlJS::ImportMatchStrength ImportKey::matchImport(const Debugger::QmlJS::ImportKey &o, const Debugger::QmlJS::ViewerContext &vContext) const

### Debugger::QString ImportKey::path() const

### Debugger::QString ImportKey::toString() const