UpdateFinder Class

(KDUpdater::UpdateFinder)

The UpdaterFinder class finds updates applicable for a KDUpdater::Application. More...

Header: #include <UpdateFinder>
Inherits: Task

Public Functions

UpdateFinder(Application *application)
~UpdateFinder()
QList<Update *> updates() const

Additional Inherited Members

Detailed Description

The UpdaterFinder class finds updates applicable for a KDUpdater::Application.

The KDUpdater::UpdateFinder class helps in searching for updates and installing them on the application. The class basically processes the application's KDUpdater::PackagesInfo and the UpdateXMLs it aggregates from all the update sources described in KDUpdater::UpdateSourcesInfo and populates a list of KDUpdater::Update objects.

Member Function Documentation

UpdateFinder::UpdateFinder(Application *application)

Constructs an update finder for the KDUpdater::Application specified by application.

UpdateFinder::~UpdateFinder()

Destructor

QList<Update *> UpdateFinder::updates() const

Returns a list of KDUpdater::Update objects. The update objects returned in this list are made children of the KDUpdater::Application object associated with this class.

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