PackageSource Class

(QInstaller::PackageSource)

The PackageSource class specifies a single package source. More...

Header: #include <PackageSource>

Public Functions

PackageSource()
PackageSource(const QUrl &u, int p, bool pl = false)

Public Variables

Detailed Description

The PackageSource class specifies a single package source.

An package source represents a link to an repository that contains packages applicable by the installer or package maintenance application. This structure describes a single package source in terms of url and priority. While different repositories can host the same packages, packages coming from a higher priority source take precedence over lower priority packages during applicable package computation.

Member Function Documentation

PackageSource::PackageSource()

Default constructs an instance of PackageSource.

PackageSource::PackageSource(const QUrl &u, int p, bool pl = false)

Default constructs an instance of PackageSource.

Member Variable Documentation

int PackageSource::priority

This variable holds the priority of the package source.

QUrl PackageSource::url

This variable holds the URL of the package source.