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/grandf.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kpat/grandf.cpp') diff --git a/kpat/grandf.cpp b/kpat/grandf.cpp index c15c6103..5ada2ea6 100644 --- a/kpat/grandf.cpp +++ b/kpat/grandf.cpp @@ -25,8 +25,8 @@ #include #include "cardmaps.h" -Grandf::Grandf( KMainWindow* parent, const char *name ) - : Dealer( parent, name ) +Grandf::Grandf( KMainWindow* tqparent, const char *name ) + : Dealer( tqparent, name ) { deck = Deck::new_deck(this); deck->hide(); @@ -221,7 +221,7 @@ static class LocalDealerInfo1 : public DealerInfo { public: LocalDealerInfo1() : DealerInfo(I18N_NOOP("&Grandfather"), 1) {} - virtual Dealer *createGame(KMainWindow *parent) { return new Grandf(parent); } + virtual Dealer *createGame(KMainWindow *tqparent) { return new Grandf(tqparent); } } gfdi; #include "grandf.moc" -- cgit v1.2.1