Public Member Functions | |
UpdateChannel () | |
Creates a null object. | |
UpdateChannel (const UpdateChannel &other) | |
bool | isNull () const |
QString | name () const |
bool | operator!= (const UpdateChannel &other) const |
UpdateChannel & | operator= (const UpdateChannel &other) |
bool | operator== (const UpdateChannel &other) const |
QString | translatedDescription () const |
QString | translatedName () const |
QString | versionDataFileName () const |
Full name of "update-info*.js" file for given channel and platform. | |
Static Public Member Functions | |
static QList< UpdateChannel > | allChannels () |
List of all available channels. | |
static UpdateChannel | fromName (const QString &name) |
Creates object from its internal name. | |
static UpdateChannel | mkBeta () |
Creates "beta" channel object. | |
static UpdateChannel | mkStable () |
Creates "stable" channel object. | |
Definition at line 45 of file updatechannel.h.
|
inline |
Creates a null object.
Definition at line 77 of file updatechannel.h.
|
static |
List of all available channels.
Definition at line 52 of file updatechannel.cpp.
|
static |
Creates object from its internal name.
name | Name which must be equal to value returned by the name() method. This name must be the same as one of the names that are hard-coded in objects returned by allChannels(). |
Definition at line 60 of file updatechannel.cpp.
|
static |
Creates "beta" channel object.
Definition at line 73 of file updatechannel.cpp.
|
static |
Creates "stable" channel object.
Definition at line 78 of file updatechannel.cpp.
QString UpdateChannel::versionDataFileName | ( | ) | const |
Full name of "update-info*.js" file for given channel and platform.
Definition at line 150 of file updatechannel.cpp.