Krita Source Code Documentation
Loading...
Searching...
No Matches
KisUpdaterBase Class Referenceabstract

#include <KisUpdaterBase.h>

+ Inheritance diagram for KisUpdaterBase:

Signals

void sigUpdateCheckStateChange (KisUpdaterStatus)
 

Public Member Functions

virtual void checkForUpdate ()=0
 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
 
virtual void doUpdate ()=0
 if the updater has update capability, start the update process When the update is done, the updater emits sigUpdateCheckStateChange with the check result
 
virtual bool hasUpdateCapability ()=0
 Returns true if this updater can actually perform an update. If it can only check for new versions, return false.
 
 KisUpdaterBase ()
 

Protected Attributes

KisUpdaterStatus m_updaterStatus
 

Detailed Description

Definition at line 16 of file KisUpdaterBase.h.

Constructor & Destructor Documentation

◆ KisUpdaterBase()

KisUpdaterBase::KisUpdaterBase ( )

Definition at line 7 of file KisUpdaterBase.cpp.

8{
9
10}

Member Function Documentation

◆ checkForUpdate()

virtual void KisUpdaterBase::checkForUpdate ( )
pure virtual

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

Implemented in KisAppimageUpdater, and KisManualUpdater.

◆ doUpdate()

virtual void KisUpdaterBase::doUpdate ( )
pure virtual

if the updater has update capability, start the update process When the update is done, the updater emits sigUpdateCheckStateChange with the check result

Implemented in KisAppimageUpdater, and KisManualUpdater.

◆ hasUpdateCapability()

virtual bool KisUpdaterBase::hasUpdateCapability ( )
pure virtual

Returns true if this updater can actually perform an update. If it can only check for new versions, return false.

Returns
bool

Implemented in KisAppimageUpdater, and KisManualUpdater.

◆ sigUpdateCheckStateChange

void KisUpdaterBase::sigUpdateCheckStateChange ( KisUpdaterStatus )
signal

Member Data Documentation

◆ m_updaterStatus

KisUpdaterStatus KisUpdaterBase::m_updaterStatus
protected

Definition at line 46 of file KisUpdaterBase.h.


The documentation for this class was generated from the following files: