diff options
Diffstat (limited to 'kpat/freecell.cpp')
-rw-r--r-- | kpat/freecell.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kpat/freecell.cpp b/kpat/freecell.cpp index 4575d95b..7cbb9470 100644 --- a/kpat/freecell.cpp +++ b/kpat/freecell.cpp @@ -49,7 +49,7 @@ void FreecellPile::moveCards(CardList &c, Pile *to) //-------------------------------------------------------------------------// FreecellBase::FreecellBase( int decks, int stores, int freecells, int fill, bool unlimit, - KMainWindow* parent, const char* name) + TDEMainWindow* parent, const char* name) : Dealer(parent,name), solver_instance(0), es_filling(fill), solver_ret(FCS_STATE_NOT_BEGAN_YET), unlimited_move(unlimit) @@ -813,11 +813,11 @@ bool FreecellBase::checkRemove(int checkIndex, const Pile *p, const Card *c) con class Freecell : public FreecellBase { public: - Freecell( KMainWindow* parent=0, const char* name=0); + Freecell( TDEMainWindow* parent=0, const char* name=0); virtual void deal(); }; -Freecell::Freecell( KMainWindow* parent, const char* name) +Freecell::Freecell( TDEMainWindow* parent, const char* name) : FreecellBase(1, 8, 4, FCS_ES_FILLED_BY_ANY_CARD, false, parent, name) { for (int i = 0; i < 8; i++) @@ -846,7 +846,7 @@ static class LocalDealerInfo3 : public DealerInfo { public: LocalDealerInfo3() : DealerInfo(I18N_NOOP("&Freecell"), 3) {} - virtual Dealer *createGame(KMainWindow *parent) { return new Freecell(parent); } + virtual Dealer *createGame(TDEMainWindow *parent) { return new Freecell(parent); } } ldi8; //-------------------------------------------------------------------------// |