KDUpdater Namespace
The KDUpdater classes provide functions to automatically detect updates to applications, to retrieve them from external repositories, and to install them. More...
Header: | #include <KDUpdater> |
Classes
class | Environment |
class | FileDownloader |
class | FileDownloaderFactory |
class | FileDownloaderProxyFactory |
class | HttpDownloader |
class | LocalFileDownloader |
class | LockFile |
class | ProcessInfo |
class | ResourceFileDownloader |
class | Task |
class | UpdateOperationFactory |
class | VolumeInfo |
Types
enum | Error { ENoError, ECannotStartTask, ECannotPauseTask, ECannotResumeTask, ECannotStopTask, EUnknown } |
Functions
int | compareVersion(const QString &v1, const QString &v2) |
quint64 | installedMemory() |
QList<KDUpdater::VolumeInfo> | mountedVolumes() |
QList<KDUpdater::ProcessInfo> | runningProcesses() |
Detailed Description
The KDUpdater classes provide functions to automatically detect updates to applications, to retrieve them from external repositories, and to install them.
KDUpdater classes are a fork of KDAB's general KDUpdater module.
Classes
class Environment
class FileDownloader
The FileDownloader class is the base class for file downloaders used in KDUpdater. More...
class FileDownloaderFactory
The FileDownloaderFactory class acts as a factory for KDUpdater::FileDownloader. More...
class FileDownloaderProxyFactory
The FileDownloaderProxyFactory class provides fine-grained proxy selection. More...
class HttpDownloader
The HttpDownloader class is used to download files over FTP, HTTP, or HTTPS. More...
class LocalFileDownloader
The LocalFileDownloader class is used to copy files from the local file system. More...
class LockFile
class ProcessInfo
class ResourceFileDownloader
The ResourceFileDownloader class can be used to download resource files. More...
class Task
The Task class is the base class for all tasks in KDUpdater. More...
class UpdateOperationFactory
The UpdateOperationFactory class is used to create update operations based on their name. More...
class VolumeInfo
Type Documentation
enum KDUpdater::Error
Constant | Value |
---|---|
KDUpdater::ENoError | 0 |
KDUpdater::ECannotStartTask | 1 |
KDUpdater::ECannotPauseTask | 2 |
KDUpdater::ECannotResumeTask | 3 |
KDUpdater::ECannotStopTask | 4 |
KDUpdater::EUnknown | 5 |
Function Documentation
int KDUpdater::compareVersion(const QString &v1, const QString &v2)
quint64 KDUpdater::installedMemory()
Returns the amount of memory installed on a system.
QList<KDUpdater::VolumeInfo> KDUpdater::mountedVolumes()
Returns currently mounted volumes as list of the VolumeInfo
objects.
QList<KDUpdater::ProcessInfo> KDUpdater::runningProcesses()
Returns a list of currently running processes.