mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 00:24:47 -07:00
new autodownloader partially done
This commit is contained in:
parent
c20ca2d1e6
commit
3a5fce9613
5 changed files with 110 additions and 37 deletions
|
|
@ -25,13 +25,13 @@ class OracleImporter : public CardDatabase {
|
|||
Q_OBJECT
|
||||
private:
|
||||
QList<SetToDownload> allSets, setsToDownload;
|
||||
QString pictureUrl, setUrl;
|
||||
QString pictureUrl, pictureUrlHq, pictureUrlSt, setUrl;
|
||||
QString dataDir;
|
||||
int setIndex;
|
||||
int reqId;
|
||||
QBuffer *buffer;
|
||||
QHttp *http;
|
||||
QString getURLFromName(QString name) const;
|
||||
QString getPictureUrl(QString url, int cardId, QString name, const QString &setName) const;
|
||||
|
||||
void downloadNextFile();
|
||||
void readSetsFromXml(QXmlStreamReader &xml);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue