Hemera::SoftwareManagement::ApplicationUpdate Class Reference

Represents an available, and uninstalled, application update. More...

#include <HemeraSoftwareManagement/ApplicationUpdate>

Public Member Functions

bool isValid () const
 
QString applicationId () const
 
QString applicationName () const
 
QString description () const
 
QString installedVersion () const
 
QString version () const
 
quint64 downloadSize () const
 
qint32 installedSize () const
 
QString changelog () const
 

Detailed Description

Represents an available, and uninstalled, application update.

ApplicationUpdate represents an update known to the SoftwareManager. This class is meant to review the update and to submit the update to the SoftwareManager in case it should be installed.

Note
ApplicationUpdate is an implicitly shared object.
See also
Hemera::SoftwareManagement::SoftwareManager

Member Function Documentation

bool Hemera::SoftwareManagement::ApplicationUpdate::isValid ( ) const
Returns
Whether this application update is valid or not
QString Hemera::SoftwareManagement::ApplicationUpdate::applicationId ( ) const
Returns
The application ID of the updateable application
QString Hemera::SoftwareManagement::ApplicationUpdate::applicationName ( ) const
Returns
The application name of the updateable application
QString Hemera::SoftwareManagement::ApplicationUpdate::description ( ) const
Returns
The application description of the updateable application
QString Hemera::SoftwareManagement::ApplicationUpdate::installedVersion ( ) const
Returns
The installed version of the updateable application
QString Hemera::SoftwareManagement::ApplicationUpdate::version ( ) const
Returns
The version the application can be updated to
quint64 Hemera::SoftwareManagement::ApplicationUpdate::downloadSize ( ) const
Returns
The download size of the update
qint32 Hemera::SoftwareManagement::ApplicationUpdate::installedSize ( ) const
Returns
The delta, in bytes, of the installed application size after the update
QString Hemera::SoftwareManagement::ApplicationUpdate::changelog ( ) const
Returns
The changelog between updates of the updateable application