oracle importer changes

This commit is contained in:
Max-Wilhelm Bruker 2010-05-08 23:24:35 +02:00
parent 03132e2edd
commit 40fc77c646
9 changed files with 183 additions and 58 deletions

View file

@ -99,6 +99,7 @@ protected:
QList<CardInfo *> cardsToDownload;
CardInfo *cardBeingDownloaded;
bool downloadRunning;
bool loadSuccess;
CardInfo *noCard;
private:
void loadCardsFromXml(QXmlStreamReader &xml);
@ -112,16 +113,17 @@ public:
CardSet *getSet(const QString &setName);
QList<CardInfo *> getCardList() const { return cardHash.values(); }
SetList getSetList() const;
int loadFromFile(const QString &fileName);
bool loadFromFile(const QString &fileName);
bool saveToFile(const QString &fileName);
void startPicDownload(CardInfo *card);
QStringList getAllColors() const;
QStringList getAllMainCardTypes() const;
bool getLoadSuccess() const { return loadSuccess; }
public slots:
void clearPixmapCache();
private slots:
void picDownloadFinished(QNetworkReply *reply);
void loadCardDatabase();
bool loadCardDatabase();
void picDownloadChanged();
};