From 838baf3f99ec5ab81b063eb5449a3381d860f377 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 11 Jun 2011 04:58:26 +0000 Subject: 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 --- kpat/golf.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kpat/golf.cpp') diff --git a/kpat/golf.cpp b/kpat/golf.cpp index 053525da..b06caf68 100644 --- a/kpat/golf.cpp +++ b/kpat/golf.cpp @@ -4,8 +4,8 @@ #include #include "cardmaps.h" -HorRightPile::HorRightPile( int _index, Dealer* parent) - : Pile(_index, parent) +HorRightPile::HorRightPile( int _index, Dealer* tqparent) + : Pile(_index, tqparent) { } @@ -19,8 +19,8 @@ TQSize HorRightPile::cardOffset( bool _spread, bool, const Card *) const //-------------------------------------------------------------------------// -Golf::Golf( KMainWindow* parent, const char* _name) - : Dealer( parent, _name ) +Golf::Golf( KMainWindow* tqparent, const char* _name) + : Dealer( tqparent, _name ) { const int dist_x = cardMap::CARDX() * 11 / 10 + 1; const int pile_dist = 10 + 3 * cardMap::CARDY(); @@ -158,7 +158,7 @@ static class LocalDealerInfo13 : public DealerInfo { public: LocalDealerInfo13() : DealerInfo(I18N_NOOP("Go&lf"), 12) {} - virtual Dealer *createGame(KMainWindow *parent) { return new Golf(parent); } + virtual Dealer *createGame(KMainWindow *tqparent) { return new Golf(tqparent); } } ldi13; //-------------------------------------------------------------------------// -- cgit v1.2.1