summaryrefslogtreecommitdiffstats
path: root/kpat/freecell.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commita13e26c2f1eb3c5be81acf4f571dd4bafac10199 (patch)
tree1f1d3e407ae668b1448847970b2f1b626083faf6 /kpat/freecell.cpp
parent24c5cdc2737fe0044b11a12359606973eb93fc0b (diff)
downloadtdegames-a13e26c2f1eb3c5be81acf4f571dd4bafac10199.tar.gz
tdegames-a13e26c2f1eb3c5be81acf4f571dd4bafac10199.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpat/freecell.cpp')
-rw-r--r--kpat/freecell.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kpat/freecell.cpp b/kpat/freecell.cpp
index 9e67633a..74d00b68 100644
--- a/kpat/freecell.cpp
+++ b/kpat/freecell.cpp
@@ -49,8 +49,8 @@ void FreecellPile::moveCards(CardList &c, Pile *to)
//-------------------------------------------------------------------------//
FreecellBase::FreecellBase( int decks, int stores, int freecells, int fill, bool unlimit,
- KMainWindow* tqparent, const char* name)
- : Dealer(tqparent,name),
+ KMainWindow* parent, const char* name)
+ : Dealer(parent,name),
solver_instance(0), es_filling(fill), solver_ret(FCS_STATE_NOT_BEGAN_YET),
unlimited_move(unlimit)
{
@@ -813,12 +813,12 @@ bool FreecellBase::checkRemove(int checkIndex, const Pile *p, const Card *c) con
class Freecell : public FreecellBase
{
public:
- Freecell( KMainWindow* tqparent=0, const char* name=0);
+ Freecell( KMainWindow* parent=0, const char* name=0);
virtual void deal();
};
-Freecell::Freecell( KMainWindow* tqparent, const char* name)
- : FreecellBase(1, 8, 4, FCS_ES_FILLED_BY_ANY_CARD, false, tqparent, name)
+Freecell::Freecell( KMainWindow* parent, const char* name)
+ : FreecellBase(1, 8, 4, FCS_ES_FILLED_BY_ANY_CARD, false, parent, name)
{
for (int i = 0; i < 8; i++)
store[i]->move(8 + ( cardMap::CARDX() * 11 / 10 + 1 ) * i, 8 + cardMap::CARDY() * 11 / 10);
@@ -846,7 +846,7 @@ static class LocalDealerInfo3 : public DealerInfo
{
public:
LocalDealerInfo3() : DealerInfo(I18N_NOOP("&Freecell"), 3) {}
- virtual Dealer *createGame(KMainWindow *tqparent) { return new Freecell(tqparent); }
+ virtual Dealer *createGame(KMainWindow *parent) { return new Freecell(parent); }
} ldi8;
//-------------------------------------------------------------------------//