diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:42:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:42:31 +0000 |
commit | 576eb4299a00bc053db35414406f46372a0f70f2 (patch) | |
tree | 4c030922d533821db464af566188e7d40cc8848c /kpat/cardmaps.h | |
parent | 0718336b6017d1a4fc1d626544180a5a2a29ddec (diff) | |
download | tdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpat/cardmaps.h')
-rw-r--r-- | kpat/cardmaps.h | 18 |
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; |