UpdatesInfo Class | Qt Installer Framework Manual

Qt Installer Framework Manual | UpdatesInfo

# UpdatesInfo Class

(KDUpdater::UpdatesInfo)

- List of all members, including inherited members

## Public Types

enum | Error { NoError, NotYetReadError, CouldNotReadUpdateInfoFileError, InvalidXmlError, InvalidContentError }

## Public Functions

| UpdatesInfo()
| ~UpdatesInfo()
QString | applicationName() const
QString | applicationVersion() const
Error | error() const
QString | errorString() const
QString | fileName() const
bool | isValid() const
void | setFileName(const QString &updateXmlFile)
UpdateInfo | updateInfo(int index) const
int | updateInfoCount() const
QList<UpdateInfo> | updatesInfo() const

## Member Type Documentation

### enum UpdatesInfo::Error

## Member Function Documentation

### UpdatesInfo::UpdatesInfo()

Default constructs an instance of UpdatesInfo.

### UpdatesInfo::~UpdatesInfo()

Destroys the instance of UpdatesInfo.

### QString UpdatesInfo::applicationName() const

### QString UpdatesInfo::applicationVersion() const

### Error UpdatesInfo::error() const

### QString UpdatesInfo::errorString() const

### QString UpdatesInfo::fileName() const

See also setFileName().

### bool UpdatesInfo::isValid() const

### void UpdatesInfo::setFileName(const QString &updateXmlFile)

See also fileName().

### UpdateInfo UpdatesInfo::updateInfo(int index) const

### int UpdatesInfo::updateInfoCount() const

### QList<UpdateInfo> UpdatesInfo::updatesInfo() const