diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 04:58:26 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 04:58:26 +0000 |
commit | 838baf3f99ec5ab81b063eb5449a3381d860f377 (patch) | |
tree | dd31abcfde08ca92e4623b8f50b3d762a87c997a /kpoker/kpoker.h | |
parent | 2bf598bafa22fac4126fc8842df6b0119aadc0e9 (diff) | |
download | tdegames-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/kpoker.h')
-rw-r--r-- | kpoker/kpoker.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/kpoker/kpoker.h b/kpoker/kpoker.h index bb33773d..379ac26c 100644 --- a/kpoker/kpoker.h +++ b/kpoker/kpoker.h @@ -116,7 +116,7 @@ public: PokerPlayer * getActivePlayer(unsigned int nr) { return m_activePlayers.at(nr); } void activatePlayer(PokerPlayer *player); void inactivatePlayer(PokerPlayer *player); - bool isActivePlayer(PokerPlayer *player) const { return m_activePlayers.contains(player); } + bool isActivePlayer(PokerPlayer *player) const { return m_activePlayers.tqcontains(player); } // Misc // FIXME: clearDirty should only be called by a save method @@ -167,12 +167,13 @@ public: // Poker Game View -class kpok : public QWidget +class kpok : public TQWidget { Q_OBJECT + TQ_OBJECT public: - kpok(TQWidget * parent = 0, const char *name = 0); + kpok(TQWidget * tqparent = 0, const char *name = 0); virtual ~kpok(); TQString getName (int playerNr); @@ -324,7 +325,7 @@ class kpok : public QWidget int drawDelay; - // Graphical layout. + // Graphical tqlayout. TQVBoxLayout *topLayout; TQHBoxLayout *inputLayout; TQLabel *potLabel; |