|
Krita Source Code Documentation
|
#include <KisManualUpdater.h>
Inheritance diagram for KisManualUpdater:Public Slots | |
| void | rssDataChanged () |
Public Member Functions | |
| void | checkForUpdate () override |
| start the process checking whether there is an update available or not When the check is done, the updater emits sigUpdateCheckStateChange with the check result | |
| void | doUpdate () override |
| if the updater has update capability, start the update process When the update is done, the updater emits sigUpdateCheckStateChange with the check result | |
| bool | hasUpdateCapability () override |
| the manual updater can only check for available versions | |
| KisManualUpdater () | |
| KisManualUpdater (MultiFeedRssModel *rssModel, QString ¤tVersion) | |
| KisManualUpdater - constructor for testing. | |
Public Member Functions inherited from KisUpdaterBase | |
| KisUpdaterBase () | |
Private Member Functions | |
| bool | availableVersionIsHigher (QString currentVersion, QString availableVersion) |
Private Attributes | |
| QString | m_currentVersion |
| QScopedPointer< MultiFeedRssModel > | m_rssModel |
Friends | |
| class | KisManualUpdaterTest |
Additional Inherited Members | |
Signals inherited from KisUpdaterBase | |
| void | sigUpdateCheckStateChange (KisUpdaterStatus) |
Protected Attributes inherited from KisUpdaterBase | |
| KisUpdaterStatus | m_updaterStatus |
Definition at line 18 of file KisManualUpdater.h.
| KisManualUpdater::KisManualUpdater | ( | ) |
Definition at line 20 of file KisManualUpdater.cpp.
References m_rssModel.
|
explicit |
KisManualUpdater - constructor for testing.
| rssModel | |
| currentVersion |
Definition at line 26 of file KisManualUpdater.cpp.
References m_rssModel.
|
private |
Definition at line 84 of file KisManualUpdater.cpp.
|
overridevirtual |
start the process checking whether there is an update available or not When the check is done, the updater emits sigUpdateCheckStateChange with the check result
Implements KisUpdaterBase.
Definition at line 32 of file KisManualUpdater.cpp.
References connect(), m_rssModel, and rssDataChanged().
|
inlineoverridevirtual |
if the updater has update capability, start the update process When the update is done, the updater emits sigUpdateCheckStateChange with the check result
Implements KisUpdaterBase.
Definition at line 39 of file KisManualUpdater.h.
|
inlineoverridevirtual |
the manual updater can only check for available versions
Implements KisUpdaterBase.
Definition at line 38 of file KisManualUpdater.h.
|
slot |
Definition at line 38 of file KisManualUpdater.cpp.
References availableVersionIsHigher(), KisRssReader::CategoryRole, KisRssReader::LinkRole, m_currentVersion, m_rssModel, KisUpdaterBase::m_updaterStatus, KisUpdaterStatus::setAvailableVersion(), KisUpdaterStatus::setDownloadLink(), KisUpdaterStatus::setStatus(), KisUpdaterBase::sigUpdateCheckStateChange(), KisRssReader::TitleRole, UpdaterStatus::UPDATE_AVAILABLE, and UpdaterStatus::UPTODATE.
|
friend |
Definition at line 50 of file KisManualUpdater.h.
|
private |
Definition at line 48 of file KisManualUpdater.h.
|
private |
Definition at line 47 of file KisManualUpdater.h.