summaryrefslogtreecommitdiffstats
path: root/kpat/golf.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/golf.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/golf.cpp')
-rw-r--r--kpat/golf.cpp10
1 files changed, 5 insertions, 5 deletions
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 <kdebug.h>
#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;
//-------------------------------------------------------------------------//