AliasSource Class | Qt Installer Framework Manual

- Qt Installer Framework Manual
- AliasSource

# AliasSource Class

(QInstaller::AliasSource)

Describes a source for alias declarations. More...

Header: | #include <AliasSource>

- List of all members, including inherited members

## Public Types

enum | SourceFileFormat { Unknown, Xml, Json }

## Public Functions

| AliasSource()
| AliasSource(QInstaller::AliasSource::SourceFileFormat aFormat, const QString &aFilename, int aPriority)
| AliasSource(const QInstaller::AliasSource &other)

## Public Variables

QString | filename
QInstaller::AliasSource::SourceFileFormat | format
int | priority

## Detailed Description

Describes a source for alias declarations.

## Member Type Documentation

### enum AliasSource::SourceFileFormat

This enum type holds the possible file formats for alias source:

Constant | Value | Description
--- | --- | ---
`QInstaller::AliasSource::Unknown` | `-1` | Invalid or unknown file format.
`QInstaller::AliasSource::Xml` | `0` | XML file format.
`QInstaller::AliasSource::Json` | `1` | JSON file format.

## Member Function Documentation

### AliasSource::AliasSource()

Default constructs an instance of AliasSource.

### AliasSource::AliasSource(QInstaller::AliasSource::SourceFileFormat aFormat, const QString &aFilename, int aPriority)

Default constructs an instance of AliasSource.

### AliasSource::AliasSource(const QInstaller::AliasSource &other)

Default constructs an instance of AliasSource.