summaryrefslogtreecommitdiffstats
path: root/kpat/napoleon.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/napoleon.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/napoleon.cpp')
-rw-r--r--kpat/napoleon.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpat/napoleon.cpp b/kpat/napoleon.cpp
index 7f7c7f95..1429fbdb 100644
--- a/kpat/napoleon.cpp
+++ b/kpat/napoleon.cpp
@@ -22,8 +22,8 @@
#include "deck.h"
#include "cardmaps.h"
-Napoleon::Napoleon( KMainWindow* parent, const char* _name )
- : Dealer( parent, _name )
+Napoleon::Napoleon( KMainWindow* tqparent, const char* _name )
+ : Dealer( tqparent, _name )
{
deck = Deck::new_deck( this );
connect(deck, TQT_SIGNAL(clicked(Card *)), TQT_SLOT(deal1(Card*)));
@@ -198,7 +198,7 @@ static class LocalDealerInfo4 : public DealerInfo
{
public:
LocalDealerInfo4() : DealerInfo(I18N_NOOP("&Napoleon's Tomb"), 4) {}
- virtual Dealer *createGame(KMainWindow *parent) { return new Napoleon(parent); }
+ virtual Dealer *createGame(KMainWindow *tqparent) { return new Napoleon(tqparent); }
} ldi3;
#include "napoleon.moc"