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/yukon.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kpat/yukon.cpp') diff --git a/kpat/yukon.cpp b/kpat/yukon.cpp index 859b3746..1d3a6157 100644 --- a/kpat/yukon.cpp +++ b/kpat/yukon.cpp @@ -5,8 +5,8 @@ #include #include "cardmaps.h" -Yukon::Yukon( KMainWindow* parent, const char *name ) - : Dealer( parent, name ) +Yukon::Yukon( KMainWindow* tqparent, const char *name ) + : Dealer( tqparent, name ) { const int dist_x = cardMap::CARDX() * 11 / 10 + 1; const int dist_y = cardMap::CARDY() * 11 / 10 + 1; @@ -124,7 +124,7 @@ static class LocalDealerInfo10 : public DealerInfo { public: LocalDealerInfo10() : DealerInfo(I18N_NOOP("&Yukon"), 10) {} - virtual Dealer *createGame(KMainWindow *parent) { return new Yukon(parent); } + virtual Dealer *createGame(KMainWindow *tqparent) { return new Yukon(tqparent); } } gfi10; #include "yukon.moc" -- cgit v1.2.1