summaryrefslogtreecommitdiffstats
path: root/kpat/deck.cpp
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/deck.cpp
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/deck.cpp')
-rw-r--r--kpat/deck.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kpat/deck.cpp b/kpat/deck.cpp
index c2b6e0e5..860a88b7 100644
--- a/kpat/deck.cpp
+++ b/kpat/deck.cpp
@@ -10,8 +10,8 @@ const int NumberOfCards = 52;
Deck *Deck::my_deck = 0;
-Deck::Deck( Dealer* parent, int m, int s )
- : Pile( 0, parent ), mult( m )
+Deck::Deck( Dealer* tqparent, int m, int s )
+ : Pile( 0, tqparent ), mult( m )
{
_deck = new Card * [mult*NumberOfCards];
Q_CHECK_PTR (_deck);
@@ -44,9 +44,9 @@ Deck::~Deck()
// ----------------------------------------------------------------
-Deck *Deck::new_deck( Dealer *parent, int m, int s )
+Deck *Deck::new_deck( Dealer *tqparent, int m, int s )
{
- my_deck = new Deck(parent, m, s);
+ my_deck = new Deck(tqparent, m, s);
return my_deck;
}