added tablerow to cardinfo

This commit is contained in:
Max-Wilhelm Bruker 2009-07-11 18:53:26 +02:00
parent b8bf18801f
commit b12155f59c
2 changed files with 22 additions and 16 deletions

View file

@ -41,6 +41,7 @@ private:
QString cardtype;
QString powtough;
QString text;
int tableRow;
QPixmap *pixmap;
QMap<int, QPixmap *> scaledPixmapCache;
public:
@ -50,6 +51,7 @@ public:
const QString &_cardtype = QString(),
const QString &_powtough = QString(),
const QString &_text = QString(),
int _tableRow = 0,
const SetList &_sets = SetList());
~CardInfo();
QString getName() const { return name; }
@ -59,7 +61,8 @@ public:
QString getPowTough() const { return powtough; }
QString getText() const { return text; }
QString getMainCardType() const;
int getTableRow() const;
int getTableRow() const { return tableRow; }
void setTableRow(int _tableRow) { tableRow = _tableRow; }
void addToSet(CardSet *set);
QPixmap *loadPixmap();
QPixmap *getPixmap(QSize size);