Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
ReleaseChannel Class Referenceabstract

#include <release_channel.h>

Inheritance diagram for ReleaseChannel:
[legend]
Collaboration diagram for ReleaseChannel:
[legend]

Signals

void finishedCheck (bool needToUpdate, bool isCompatible, Release *release)
void error (QString errorString)

Public Member Functions

 ReleaseChannel ()
 ~ReleaseChannel () override
ReleasegetLastRelease ()
virtual QString getManualDownloadUrl () const =0
virtual QString getName () const =0
void checkForUpdates ()

Protected Slots

virtual void releaseListFinished ()=0
virtual void fileListFinished ()=0

Protected Member Functions

virtual QString getReleaseChannelUrl () const =0

Static Protected Member Functions

static bool downloadMatchesCurrentOS (const QString &fileName)

Protected Attributes

QNetworkAccessManager * netMan
QNetworkReply * response
ReleaselastRelease

Constructor & Destructor Documentation

◆ ReleaseChannel()

ReleaseChannel::ReleaseChannel ( )
explicit

◆ ~ReleaseChannel()

ReleaseChannel::~ReleaseChannel ( )
override

Member Function Documentation

◆ checkForUpdates()

void ReleaseChannel::checkForUpdates ( )
Here is the call graph for this function:

◆ downloadMatchesCurrentOS()

bool ReleaseChannel::downloadMatchesCurrentOS ( const QString & fileName)
staticprotected
Here is the caller graph for this function:

◆ error

void ReleaseChannel::error ( QString errorString)
signal
Here is the caller graph for this function:

◆ fileListFinished

virtual void ReleaseChannel::fileListFinished ( )
protectedpure virtualslot

◆ finishedCheck

void ReleaseChannel::finishedCheck ( bool needToUpdate,
bool isCompatible,
Release * release )
signal
Here is the caller graph for this function:

◆ getLastRelease()

Release * ReleaseChannel::getLastRelease ( )
inline

◆ getManualDownloadUrl()

virtual QString ReleaseChannel::getManualDownloadUrl ( ) const
nodiscardpure virtual

◆ getName()

virtual QString ReleaseChannel::getName ( ) const
nodiscardpure virtual

◆ getReleaseChannelUrl()

virtual QString ReleaseChannel::getReleaseChannelUrl ( ) const
nodiscardprotectedpure virtual

Implemented in BetaReleaseChannel, and StableReleaseChannel.

Here is the caller graph for this function:

◆ releaseListFinished

virtual void ReleaseChannel::releaseListFinished ( )
protectedpure virtualslot
Here is the caller graph for this function:

Member Data Documentation

◆ lastRelease

Release* ReleaseChannel::lastRelease
protected

◆ netMan

QNetworkAccessManager* ReleaseChannel::netMan
protected

◆ response

QNetworkReply* ReleaseChannel::response
protected

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