UpdateFinder Class

class KDUpdater::UpdateFinder

The UpdaterFinder class finds updates applicable for installed packages. More...

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

Public Functions

UpdateFinder()
virtual ~UpdateFinder()
void setLocalPackageHub(std::weak_ptr<LocalPackageHub> hub)
QList<Update *> updates() const

Detailed Description

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 and populates a list of KDUpdater::Update objects.

Member Function Documentation

UpdateFinder::UpdateFinder()

Constructs an update finder.

[virtual] UpdateFinder::~UpdateFinder()

Destructor

void UpdateFinder::setLocalPackageHub(std::weak_ptr<LocalPackageHub> hub)

Sets the information about installed local packages hub.

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

Returns a list of KDUpdater::Update objects.