summaryrefslogtreecommitdiffstats
path: root/kpoker
diff options
context:
space:
mode:
Diffstat (limited to 'kpoker')
-rw-r--r--kpoker/betbox.cpp4
-rw-r--r--kpoker/betbox.h2
-rw-r--r--kpoker/kpaint.cpp12
-rw-r--r--kpoker/kpaint.h4
-rw-r--r--kpoker/kpoker.cpp4
-rw-r--r--kpoker/kpoker.h2
-rw-r--r--kpoker/newgamedlg.cpp4
-rw-r--r--kpoker/newgamedlg.h2
-rw-r--r--kpoker/optionsdlg.cpp4
-rw-r--r--kpoker/optionsdlg.h2
-rw-r--r--kpoker/playerbox.cpp4
-rw-r--r--kpoker/playerbox.h2
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);