summaryrefslogtreecommitdiffstats
path: root/kpoker/kpaint.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 /kpoker/kpaint.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 'kpoker/kpaint.h')
-rw-r--r--kpoker/kpaint.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/kpoker/kpaint.h b/kpoker/kpaint.h
index 2300e8b1..8c480fd5 100644
--- a/kpoker/kpaint.h
+++ b/kpoker/kpaint.h
@@ -33,12 +33,13 @@ class TQLabel;
* @short A help class for loading the pictures
**/
-class CardImages : public QWidget
+class CardImages : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- CardImages( TQWidget *parent = 0, const char *name = 0 );
+ CardImages( TQWidget *tqparent = 0, const char *name = 0 );
~CardImages();
// FIXME: Use CardValue instead of int when the cards are in their
@@ -63,12 +64,13 @@ class CardImages : public QWidget
*
* @short The cards
**/
-class CardWidget : public QPushButton
+class CardWidget : public TQPushButton
{
Q_OBJECT
+ TQ_OBJECT
public:
- CardWidget( TQWidget *parent=0, const char *name=0 );
+ CardWidget( TQWidget *tqparent=0, const char *name=0 );
/**
* Paints the deck if cardType = 0 or the card specified in cardType
@@ -93,7 +95,7 @@ class CardWidget : public QPushButton
bool toggleHeld(); /* returns the new value of held*/
- void repaintDeck();
+ void tqrepaintDeck();
signals:
/**