AliasSource Struct

struct QInstaller::AliasSource

Describes a source for alias declarations. More...

Header: #include <AliasSource>

Public Types

enum class SourceFileFormat { Unknown, Xml, Json }

Public Functions

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

Detailed Description

Member Type Documentation

enum class AliasSource::SourceFileFormat

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

ConstantValueDescription
QInstaller::AliasSource::SourceFileFormat::Unknown-1Invalid or unknown file format.
QInstaller::AliasSource::SourceFileFormat::Xml0XML file format.
QInstaller::AliasSource::SourceFileFormat::Json1JSON file format.

Member Function Documentation

AliasSource::AliasSource()

Constructs an alias source with empty information.

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

Constructs an alias source with source file format aFormat, filename aFilename, and priority aPriority.

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

Copy-constructs an alias source from other.

© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. The Qt Company, Qt and their respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.