Update Class | Qt Installer Framework Manual

Qt Installer Framework Manual | Update

# Update Class

(KDUpdater::Update)

Represents a single update More...

Header: | #include <Update>

- List of all members, including inherited members

## Public Functions

QVariant | data(const QString &name, const QVariant &defaultValue = QVariant()) const
QInstaller::PackageSource | packageSource() const

## Detailed Description

Represents a single update

The KDUpdater::Update class contains information about an update. It is created by KDUpdater::UpdateFinder corresponding to the update.

The constructor of the KDUpdater::Update class is made protected, because it can be instantiated only by KDUpdater::UpdateFinder (which is a friend class). The destructor however is public.

## Member Function Documentation

### QVariant Update::data(const QString &name, const QVariant &defaultValue = QVariant()) const

Returns the data specified by name, or an invalid defaultValue if the data does not exist.

### QInstaller::PackageSource Update::packageSource() const