summaryrefslogtreecommitdiffstats
path: root/kpat/freecell.h
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/freecell.h
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/freecell.h')
-rw-r--r--kpat/freecell.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/kpat/freecell.h b/kpat/freecell.h
index b2b94dad..5d354eda 100644
--- a/kpat/freecell.h
+++ b/kpat/freecell.h
@@ -27,17 +27,18 @@
class FreecellPile : public Pile
{
public:
- FreecellPile(int _index, Dealer* parent = 0) : Pile(_index, parent) {}
+ FreecellPile(int _index, Dealer* tqparent = 0) : Pile(_index, tqparent) {}
virtual void moveCards(CardList &c, Pile *to);
};
class FreecellBase : public Dealer
{
Q_OBJECT
+ TQ_OBJECT
public:
FreecellBase( int decks, int stores, int freecells, int es_filling, bool unlimited_move,
- KMainWindow* parent=0, const char* name=0);
+ KMainWindow* tqparent=0, const char* name=0);
void moveCards(CardList &c, FreecellPile *from, Pile *to);
TQString solverFormat() const;
virtual ~FreecellBase();