diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | a13e26c2f1eb3c5be81acf4f571dd4bafac10199 (patch) | |
tree | 1f1d3e407ae668b1448847970b2f1b626083faf6 /kpoker | |
parent | 24c5cdc2737fe0044b11a12359606973eb93fc0b (diff) | |
download | tdegames-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 'kpoker')
-rw-r--r-- | kpoker/betbox.cpp | 4 | ||||
-rw-r--r-- | kpoker/betbox.h | 2 | ||||
-rw-r--r-- | kpoker/kpaint.cpp | 12 | ||||
-rw-r--r-- | kpoker/kpaint.h | 4 | ||||
-rw-r--r-- | kpoker/kpoker.cpp | 4 | ||||
-rw-r--r-- | kpoker/kpoker.h | 2 | ||||
-rw-r--r-- | kpoker/newgamedlg.cpp | 4 | ||||
-rw-r--r-- | kpoker/newgamedlg.h | 2 | ||||
-rw-r--r-- | kpoker/optionsdlg.cpp | 4 | ||||
-rw-r--r-- | kpoker/optionsdlg.h | 2 | ||||
-rw-r--r-- | kpoker/playerbox.cpp | 4 | ||||
-rw-r--r-- | kpoker/playerbox.h | 2 |
12 files changed, 23 insertions, 23 deletions
diff --git a/kpoker/betbox.cpp b/kpoker/betbox.cpp index 304c4543..cbdcad12 100644 --- a/kpoker/betbox.cpp +++ b/kpoker/betbox.cpp @@ -24,8 +24,8 @@ #include "betbox.h" -BetBox::BetBox(TQWidget* tqparent, const char* name) - : TQGroupBox(tqparent, name) +BetBox::BetBox(TQWidget* parent, const char* name) + : TQGroupBox(parent, name) { TQVBoxLayout* topLayout = new TQVBoxLayout(this, 1, 1); TQGridLayout* g = new TQGridLayout(topLayout, 2, 2, 1); diff --git a/kpoker/betbox.h b/kpoker/betbox.h index e3c52ce9..8b335e03 100644 --- a/kpoker/betbox.h +++ b/kpoker/betbox.h @@ -36,7 +36,7 @@ class BetBox : public TQGroupBox TQ_OBJECT public: - BetBox(TQWidget* tqparent = 0, const char* name = 0); + BetBox(TQWidget* parent = 0, const char* name = 0); ~BetBox(); diff --git a/kpoker/kpaint.cpp b/kpoker/kpaint.cpp index 67029656..2dcc5dbf 100644 --- a/kpoker/kpaint.cpp +++ b/kpoker/kpaint.cpp @@ -38,8 +38,8 @@ TQPixmap *CardImages::m_cardPixmaps; TQPixmap *CardImages::m_deck; -CardImages::CardImages(TQWidget* tqparent, const char* name) - : TQWidget(tqparent, name) +CardImages::CardImages(TQWidget* parent, const char* name) + : TQWidget(parent, name) { m_cardPixmaps = new TQPixmap[numCards]; m_deck = new TQPixmap; @@ -109,8 +109,8 @@ CardImages::loadDeck(TQString path) extern CardImages *cardImages; -CardWidget::CardWidget( TQWidget *tqparent, const char *name ) - : TQPushButton( tqparent, name ) +CardWidget::CardWidget( TQWidget *parent, const char *name ) + : TQPushButton( parent, name ) { m_held = false; @@ -173,8 +173,8 @@ void CardWidget::repaintDeck() setPixmap(*m_pm); setFixedSize(cardImages->getWidth(), cardImages->getHeight()); - ((TQWidget*) tqparent())->tqlayout()->tqinvalidate(); - ((TQWidget*) tqparent())->setFixedSize( ((TQWidget*) tqparent())->tqsizeHint()); + ((TQWidget*) parent())->tqlayout()->tqinvalidate(); + ((TQWidget*) parent())->setFixedSize( ((TQWidget*) parent())->tqsizeHint()); } diff --git a/kpoker/kpaint.h b/kpoker/kpaint.h index 512ce776..fe1440ee 100644 --- a/kpoker/kpaint.h +++ b/kpoker/kpaint.h @@ -39,7 +39,7 @@ class CardImages : public TQWidget TQ_OBJECT public: - CardImages( TQWidget *tqparent = 0, const char *name = 0 ); + CardImages( TQWidget *parent = 0, const char *name = 0 ); ~CardImages(); // FIXME: Use CardValue instead of int when the cards are in their @@ -70,7 +70,7 @@ class CardWidget : public TQPushButton TQ_OBJECT public: - CardWidget( TQWidget *tqparent=0, const char *name=0 ); + CardWidget( TQWidget *parent=0, const char *name=0 ); /** * Paints the deck if cardType = 0 or the card specified in cardType diff --git a/kpoker/kpoker.cpp b/kpoker/kpoker.cpp index 295a3c06..92a7df5c 100644 --- a/kpoker/kpoker.cpp +++ b/kpoker/kpoker.cpp @@ -159,8 +159,8 @@ CardImages *cardImages; // Class kpok -kpok::kpok(TQWidget *tqparent, const char *name) - : TQWidget(tqparent, name), +kpok::kpok(TQWidget *parent, const char *name) + : TQWidget(parent, name), m_game(&m_random) { TQString version; diff --git a/kpoker/kpoker.h b/kpoker/kpoker.h index 94b82db2..7eec697a 100644 --- a/kpoker/kpoker.h +++ b/kpoker/kpoker.h @@ -173,7 +173,7 @@ class kpok : public TQWidget TQ_OBJECT public: - kpok(TQWidget * tqparent = 0, const char *name = 0); + kpok(TQWidget * parent = 0, const char *name = 0); virtual ~kpok(); TQString getName (int playerNr); diff --git a/kpoker/newgamedlg.cpp b/kpoker/newgamedlg.cpp index 7237567a..ef2bfe0a 100644 --- a/kpoker/newgamedlg.cpp +++ b/kpoker/newgamedlg.cpp @@ -34,9 +34,9 @@ #include "newgamedlg.h" -NewGameDlg::NewGameDlg(TQWidget* tqparent) +NewGameDlg::NewGameDlg(TQWidget* parent) : KDialogBase(Plain, i18n("New Game"), - Ok|Cancel, Ok, tqparent, 0, true, true) + Ok|Cancel, Ok, parent, 0, true, true) { TQVBoxLayout *topLayout = new TQVBoxLayout(plainPage(), spacingHint()); TQHBoxLayout *l = new TQHBoxLayout(topLayout); diff --git a/kpoker/newgamedlg.h b/kpoker/newgamedlg.h index 09b9460d..22662b55 100644 --- a/kpoker/newgamedlg.h +++ b/kpoker/newgamedlg.h @@ -42,7 +42,7 @@ class NewGameDlg : public KDialogBase TQ_OBJECT public: - NewGameDlg(TQWidget* tqparent = 0); + NewGameDlg(TQWidget* parent = 0); ~NewGameDlg(); /** diff --git a/kpoker/optionsdlg.cpp b/kpoker/optionsdlg.cpp index 85c00b2c..5fdfbfcf 100644 --- a/kpoker/optionsdlg.cpp +++ b/kpoker/optionsdlg.cpp @@ -28,9 +28,9 @@ #include "defines.h" -OptionsDlg::OptionsDlg(TQWidget* tqparent, const char* name, int _players) +OptionsDlg::OptionsDlg(TQWidget* parent, const char* name, int _players) : KDialogBase(Plain, i18n("Options")/*?*/, Ok|Cancel, Ok, - tqparent, name, true, true) + parent, name, true, true) { TQVBoxLayout* topLayout = new TQVBoxLayout(plainPage(), spacingHint()); maxBet = 0; diff --git a/kpoker/optionsdlg.h b/kpoker/optionsdlg.h index 8aa6b8ff..5c62ef19 100644 --- a/kpoker/optionsdlg.h +++ b/kpoker/optionsdlg.h @@ -42,7 +42,7 @@ class OptionsDlg : public KDialogBase TQ_OBJECT public: - OptionsDlg(TQWidget* tqparent = 0, const char* name = 0, int _players = 1); + OptionsDlg(TQWidget* parent = 0, const char* name = 0, int _players = 1); ~OptionsDlg(); void init(int _drawDelay, int _maxBetOrCashPerRound, int minBet = -1); diff --git a/kpoker/playerbox.cpp b/kpoker/playerbox.cpp index 3c60c9bb..530ebd81 100644 --- a/kpoker/playerbox.cpp +++ b/kpoker/playerbox.cpp @@ -30,8 +30,8 @@ #include "kpaint.h" -PlayerBox::PlayerBox(bool playerOne, TQWidget* tqparent, const char* name) - : TQGroupBox(tqparent, name) +PlayerBox::PlayerBox(bool playerOne, TQWidget* parent, const char* name) + : TQGroupBox(parent, name) { TQHBoxLayout* l = new TQHBoxLayout(this, PLAYERBOX_BORDERS, PLAYERBOX_HDISTANCEOFWIDGETS); diff --git a/kpoker/playerbox.h b/kpoker/playerbox.h index bd4c7d75..a0205ed0 100644 --- a/kpoker/playerbox.h +++ b/kpoker/playerbox.h @@ -35,7 +35,7 @@ class PlayerBox : public TQGroupBox TQ_OBJECT public: - PlayerBox(bool playerOne, TQWidget* tqparent = 0, const char* name = 0); + PlayerBox(bool playerOne, TQWidget* parent = 0, const char* name = 0); ~PlayerBox(); void cardClicked(int no); |