summaryrefslogtreecommitdiffstats
path: root/kpat/spider.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:12:46 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:12:46 -0600
commit58a97ed3af5e4df6c4a58d043b0c267bd97056a9 (patch)
tree5a2fde6842fd422cae2d8670d382be965098cc32 /kpat/spider.cpp
parent2ce15ee76fd2d9d18a63c035a0f5b00b94c60cdc (diff)
downloadtdegames-58a97ed3af5e4df6c4a58d043b0c267bd97056a9.tar.gz
tdegames-58a97ed3af5e4df6c4a58d043b0c267bd97056a9.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kpat/spider.cpp')
-rw-r--r--kpat/spider.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kpat/spider.cpp b/kpat/spider.cpp
index c8e6abc5..b4ac19c0 100644
--- a/kpat/spider.cpp
+++ b/kpat/spider.cpp
@@ -48,7 +48,7 @@ void SpiderPile::moveCards(CardList &c, Pile *to)
//-------------------------------------------------------------------------//
-Spider::Spider(int suits, KMainWindow* parent, const char* _name)
+Spider::Spider(int suits, TDEMainWindow* parent, const char* _name)
: Dealer(parent, _name)
{
const int dist_x = cardMap::CARDX() * 11 / 10 + 1;
@@ -459,21 +459,21 @@ static class LocalDealerInfo15 : public DealerInfo
{
public:
LocalDealerInfo15() : DealerInfo(I18N_NOOP("S&pider (Easy)"), 14) {}
- virtual Dealer *createGame(KMainWindow *parent) { return new Spider(1, parent); }
+ virtual Dealer *createGame(TDEMainWindow *parent) { return new Spider(1, parent); }
} ldi15;
static class LocalDealerInfo16 : public DealerInfo
{
public:
LocalDealerInfo16() : DealerInfo(I18N_NOOP("Spider (&Medium)"), 15) {}
- virtual Dealer *createGame(KMainWindow *parent) { return new Spider(2, parent); }
+ virtual Dealer *createGame(TDEMainWindow *parent) { return new Spider(2, parent); }
} ldi16;
static class LocalDealerInfo17 : public DealerInfo
{
public:
LocalDealerInfo17() : DealerInfo(I18N_NOOP("Spider (&Hard)"), 16) {}
- virtual Dealer *createGame(KMainWindow *parent) { return new Spider(4, parent); }
+ virtual Dealer *createGame(TDEMainWindow *parent) { return new Spider(4, parent); }
} ldi17;
//-------------------------------------------------------------------------//