Extending Qt Creator Manual | ImportKey

Extending Qt Creator Manual 4.7.2

# ImportKey Class

(QmlJS::ImportKey)

- List of all members, including inherited members

## Public Types

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

## Public Functions

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

## Member Type Documentation

### enum ImportKey::DirCompareInfo

## Member Function Documentation

### ImportKey::ImportKey()

Default constructs an instance of ImportKey.

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

Default constructs an instance of ImportKey.

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

Default constructs an instance of ImportKey.

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

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

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

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

### bool ImportKey::isDirectoryLike() const

### QString ImportKey::libraryQualifiedPath() const

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

### QString ImportKey::path() const

### QString ImportKey::toString() const