UpdateFinder Class | Qt Installer Framework Manual

Qt Installer Framework Manual | UpdateFinder

# UpdateFinder Class

(KDUpdater::UpdateFinder)

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

Header: | #include <UpdateFinder>
Inherits: | Task

- List of all members, including inherited members

## Public Functions

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

- 12 public functions inherited from KDUpdater::Task

### Additional Inherited Members

- 4 public slots inherited from KDUpdater::Task
- 8 signals inherited from KDUpdater::Task
- 4 protected functions inherited from KDUpdater::Task

## 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.