summaryrefslogtreecommitdiffstats
path: root/kpat/card.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
commit838baf3f99ec5ab81b063eb5449a3381d860f377 (patch)
treedd31abcfde08ca92e4623b8f50b3d762a87c997a /kpat/card.h
parent2bf598bafa22fac4126fc8842df6b0119aadc0e9 (diff)
downloadtdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.tar.gz
tdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.zip
TQt4 port kdegames
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1236074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpat/card.h')
-rw-r--r--kpat/card.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kpat/card.h b/kpat/card.h
index 8ec96bb9..88b4fec3 100644
--- a/kpat/card.h
+++ b/kpat/card.h
@@ -47,13 +47,14 @@ typedef TQValueList<Card*> CardList;
//
class Card: public TQObject, public TQCanvasRectangle {
Q_OBJECT
+ TQ_OBJECT
public:
enum Suit { Clubs = 1, Diamonds, Hearts, Spades };
enum Rank { None = 0, Ace = 1, Two, Three, Four, Five, Six, Seven,
Eight, Nine, Ten, Jack, Queen, King };
- Card( Rank r, Suit s, TQCanvas *parent=0);
+ Card( Rank r, Suit s, TQCanvas *tqparent=0);
virtual ~Card();
// Properties of the card.