summaryrefslogtreecommitdiffstats
path: root/kpat/golf.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/golf.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/golf.h')
-rw-r--r--kpat/golf.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/kpat/golf.h b/kpat/golf.h
index 7729e8f4..275cd8b5 100644
--- a/kpat/golf.h
+++ b/kpat/golf.h
@@ -6,18 +6,20 @@
class HorRightPile : public Pile
{
Q_OBJECT
+ TQ_OBJECT
public:
- HorRightPile( int _index, Dealer* parent = 0);
+ HorRightPile( int _index, Dealer* tqparent = 0);
virtual TQSize cardOffset( bool _spread, bool _facedown, const Card *before) const;
};
class Golf : public Dealer
{
Q_OBJECT
+ TQ_OBJECT
public:
- Golf( KMainWindow* parent=0, const char* name=0);
+ Golf( KMainWindow* tqparent=0, const char* name=0);
void deal();
virtual void restart();
virtual bool isGameLost() const;