diff options
Diffstat (limited to 'kpat/deck.cpp')
-rw-r--r-- | kpat/deck.cpp | 8 |
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; } |