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

#include <update_downloader.h>

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

Signals

void downloadSuccessful (QUrl filepath)
void progressMade (qint64 bytesRead, qint64 totalBytes)
void error (QString errorString)
void stopDownload ()

Public Member Functions

 UpdateDownloader (QObject *parent)
void beginDownload (QUrl url)

Private Slots

void fileFinished ()
void downloadProgress (qint64 bytesRead, qint64 totalBytes)
void downloadError (QNetworkReply::NetworkError)

Private Attributes

QUrl originalUrl
QNetworkAccessManager * netMan
QNetworkReply * response

Constructor & Destructor Documentation

◆ UpdateDownloader()

UpdateDownloader::UpdateDownloader ( QObject * parent)
explicit

Member Function Documentation

◆ beginDownload()

void UpdateDownloader::beginDownload ( QUrl url)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ downloadError

void UpdateDownloader::downloadError ( QNetworkReply::NetworkError )
privateslot
Here is the call graph for this function:

◆ downloadProgress

void UpdateDownloader::downloadProgress ( qint64 bytesRead,
qint64 totalBytes )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ downloadSuccessful

void UpdateDownloader::downloadSuccessful ( QUrl filepath)
signal
Here is the caller graph for this function:

◆ error

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

◆ fileFinished

void UpdateDownloader::fileFinished ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ progressMade

void UpdateDownloader::progressMade ( qint64 bytesRead,
qint64 totalBytes )
signal
Here is the caller graph for this function:

◆ stopDownload

void UpdateDownloader::stopDownload ( )
signal
Here is the caller graph for this function:

Member Data Documentation

◆ netMan

QNetworkAccessManager* UpdateDownloader::netMan
private

◆ originalUrl

QUrl UpdateDownloader::originalUrl
private

◆ response

QNetworkReply* UpdateDownloader::response
private

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