summaryrefslogtreecommitdiffstats
path: root/kpat/fortyeight.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/fortyeight.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/fortyeight.cpp')
-rw-r--r--kpat/fortyeight.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kpat/fortyeight.cpp b/kpat/fortyeight.cpp
index 1747b647..e3e72385 100644
--- a/kpat/fortyeight.cpp
+++ b/kpat/fortyeight.cpp
@@ -5,8 +5,8 @@
#include <assert.h>
#include "cardmaps.h"
-HorLeftPile::HorLeftPile( int _index, Dealer* parent)
- : Pile(_index, parent)
+HorLeftPile::HorLeftPile( int _index, Dealer* tqparent)
+ : Pile(_index, tqparent)
{
// TODO: create a pile that moves the cards together when filling space
setHSpread( cardMap::CARDX() / 11 + 1 );
@@ -27,8 +27,8 @@ void HorLeftPile::initSizes()
}
-Fortyeight::Fortyeight( KMainWindow* parent, const char* name)
- : Dealer(parent,name)
+Fortyeight::Fortyeight( KMainWindow* tqparent, const char* name)
+ : Dealer(tqparent,name)
{
deck = Deck::new_deck(this, 2);
@@ -194,7 +194,7 @@ static class LocalDealerInfo8 : public DealerInfo
{
public:
LocalDealerInfo8() : DealerInfo(I18N_NOOP("Forty && &Eight"), 8) {}
- virtual Dealer *createGame(KMainWindow *parent) { return new Fortyeight(parent); }
+ virtual Dealer *createGame(KMainWindow *tqparent) { return new Fortyeight(tqparent); }
} ldi9;
//-------------------------------------------------------------------------//