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.