UpdateFinder Class
(KDUpdater::UpdateFinder)The UpdaterFinder class finds updates applicable for installed packages. More...
Header: | #include <UpdateFinder> |
Inherits: | KDUpdater::Task |
Public Functions
UpdateFinder() | |
~UpdateFinder() | |
void | addCompressedPackage(bool add) |
bool | isCompressedPackage() |
void | setLocalPackageHub(std::weak_ptr<LocalPackageHub> hub) |
void | setPackageSources(const QSet<QInstaller::PackageSource> &sources) |
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 installed packages.
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.
UpdateFinder::~UpdateFinder()
Destructor
void UpdateFinder::addCompressedPackage(bool add)
bool UpdateFinder::isCompressedPackage()
void UpdateFinder::setLocalPackageHub(std::weak_ptr<LocalPackageHub> hub)
void UpdateFinder::setPackageSources(const QSet<QInstaller::PackageSource> &sources)
QList<Update *> UpdateFinder::updates() const
Returns a list of KDUpdater::Update objects.