#include <download_settings.h>
◆ DownloadSettings()
| DownloadSettings::DownloadSettings |
( |
const QString & | settingPath, |
|
|
QObject * | parent = nullptr ) |
|
explicit |
◆ downloadSpoilerStatusChanged
| void DownloadSettings::downloadSpoilerStatusChanged |
( |
| ) |
|
|
signal |
◆ getAllURLs()
| QStringList DownloadSettings::getAllURLs |
( |
| ) |
const |
◆ getDownloadSpoilersStatus()
| bool DownloadSettings::getDownloadSpoilersStatus |
( |
| ) |
const |
|
nodiscard |
◆ getPicDownload()
| bool DownloadSettings::getPicDownload |
( |
| ) |
const |
|
nodiscard |
◆ picDownloadChanged
| void DownloadSettings::picDownloadChanged |
( |
| ) |
|
|
signal |
◆ resetToDefaultURLs()
| void DownloadSettings::resetToDefaultURLs |
( |
| ) |
|
◆ setDownloadSpoilerStatus()
| void DownloadSettings::setDownloadSpoilerStatus |
( |
bool | _spoilerStatus | ) |
|
◆ setDownloadUrls()
| void DownloadSettings::setDownloadUrls |
( |
const QStringList & | downloadURLs | ) |
|
◆ setPicDownload()
| void DownloadSettings::setPicDownload |
( |
bool | _picDownload | ) |
|
◆ SettingsCache
◆ DEFAULT_DOWNLOAD_URLS
| const QStringList DownloadSettings::DEFAULT_DOWNLOAD_URLS |
|
staticprivate |
Initial value: = {
"https://cards.scryfall.io/large/!prop:side!/!set:uuid_substr_0_1!/!set:uuid_substr_1_1!/!set:uuid!.jpg",
"https://api.scryfall.com/cards/!set:uuid!?format=image&face=!prop:side!",
"https://api.scryfall.com/cards/multiverse/!set:muid!?format=image",
"https://gatherer.wizards.com/Handlers/Image.ashx?multiverseid=!set:muid!&type=card",
"https://gatherer.wizards.com/Handlers/Image.ashx?name=!name!&type=card"}
The documentation for this class was generated from the following files: