summaryrefslogtreecommitdiffstats
path: root/kpat/cardmaps.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpat/cardmaps.h')
-rw-r--r--kpat/cardmaps.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/kpat/cardmaps.h b/kpat/cardmaps.h
index 8bc8d92c..0a2a284a 100644
--- a/kpat/cardmaps.h
+++ b/kpat/cardmaps.h
@@ -28,7 +28,7 @@ class cardMap
public:
static cardMap *self();
- cardMap(const QColor &dimcolor);
+ cardMap(const TQColor &dimcolor);
static int CARDX();
static int CARDY();
@@ -36,21 +36,21 @@ public:
static const int NumColors = 4;
static const int CardsPerColor = 13;
- QPixmap image( Card::Rank _rank, Card::Suit _suit, bool inverted = false) const;
- QPixmap backSide() const;
- bool setCardDir( const QString &dir);
- bool setBackSide( const QPixmap & _pix, bool scale = true);
+ TQPixmap image( Card::Rank _rank, Card::Suit _suit, bool inverted = false) const;
+ TQPixmap backSide() const;
+ bool setCardDir( const TQString &dir);
+ bool setBackSide( const TQPixmap & _pix, bool scale = true);
private:
cardMap();
struct
{
- QPixmap normal;
- QPixmap inverted;
+ TQPixmap normal;
+ TQPixmap inverted;
} img[ CardsPerColor ][ NumColors ];
- QPixmap back;
- QColor dimcolor;
+ TQPixmap back;
+ TQColor dimcolor;
int card_width, card_height;
static cardMap *_self;