UpdatesInfo Class

(KDUpdater::UpdatesInfo)

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

© 2017 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.