update pixmap cache

This commit is contained in:
Max-Wilhelm Bruker 2009-08-01 15:48:30 +02:00
parent dfaa6b1d95
commit d6ec869c23
2 changed files with 18 additions and 10 deletions

View file

@ -67,6 +67,7 @@ public:
QPixmap *loadPixmap();
QPixmap *getPixmap(QSize size);
void clearPixmapCache();
void updatePixmapCache();
};
class CardDatabase : public QObject {
@ -76,7 +77,7 @@ private:
QHash<QString, CardSet *> setHash;
CardInfo *noCard;
QString picsPath, cardDatabasePath;
void loadCardsFromXml(QXmlStreamReader &xml);
void loadSetsFromXml(QXmlStreamReader &xml);
public: