![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <spoiler_background_updater.h>
Signals | |
| void | spoilersUpdatedSuccessfully () |
| void | spoilerCheckerDone () |
Public Member Functions | |
| SpoilerBackgroundUpdater (QObject *apParent=nullptr) | |
| QString | getCardUpdaterBinaryName () |
| QByteArray | getHash (const QString fileName) |
| QByteArray | getHash (QByteArray data) |
Static Public Member Functions | |
| static bool | deleteSpoilerFile () |
Private Slots | |
| void | actDownloadFinishedSpoilersFile () |
| void | actCheckIfSpoilerSeasonEnabled () |
Private Member Functions | |
| void | startSpoilerDownloadProcess (QString url, bool saveResults) |
| void | downloadFromURL (QUrl url, bool saveResults) |
| bool | saveDownloadedFile (QByteArray data) |
Private Attributes | |
| bool | isSpoilerDownloadEnabled |
| QProcess * | cardUpdateProcess |
| QByteArray | spoilerData |
|
explicit |
|
privateslot |
|
privateslot |
|
static |
|
private |
|
inline |
| QByteArray SpoilerBackgroundUpdater::getHash | ( | const QString | fileName | ) |
| QByteArray SpoilerBackgroundUpdater::getHash | ( | QByteArray | data | ) |
|
private |
|
signal |
|
signal |
|
private |
|
private |
|
private |
|
private |