summaryrefslogtreecommitdiffstats
path: root/kreversi
diff options
context:
space:
mode:
Diffstat (limited to 'kreversi')
-rw-r--r--kreversi/board.cpp4
-rw-r--r--kreversi/board.h2
-rw-r--r--kreversi/qreversigame.cpp4
-rw-r--r--kreversi/qreversigame.h2
-rw-r--r--kreversi/qreversigameview.cpp8
-rw-r--r--kreversi/qreversigameview.h4
6 files changed, 12 insertions, 12 deletions
diff --git a/kreversi/board.cpp b/kreversi/board.cpp
index 727d8d2d..d24dccd1 100644
--- a/kreversi/board.cpp
+++ b/kreversi/board.cpp
@@ -71,8 +71,8 @@ const uint CHIP_SIZE = 36;
// class KReversiBoardView
-QReversiBoardView::QReversiBoardView(TQWidget *tqparent, QReversiGame *krgame)
- : TQWidget(tqparent, "board"),
+QReversiBoardView::QReversiBoardView(TQWidget *parent, QReversiGame *krgame)
+ : TQWidget(parent, "board"),
chiptype(Unloaded)
{
m_krgame = krgame;
diff --git a/kreversi/board.h b/kreversi/board.h
index 68f211d4..0b217d8c 100644
--- a/kreversi/board.h
+++ b/kreversi/board.h
@@ -60,7 +60,7 @@ class QReversiBoardView : public TQWidget {
public:
- QReversiBoardView(TQWidget *tqparent, QReversiGame *game);
+ QReversiBoardView(TQWidget *parent, QReversiGame *game);
~QReversiBoardView();
// starts all: emits some signal, so it can't be called from
diff --git a/kreversi/qreversigame.cpp b/kreversi/qreversigame.cpp
index 361adbd8..3e940ca2 100644
--- a/kreversi/qreversigame.cpp
+++ b/kreversi/qreversigame.cpp
@@ -44,8 +44,8 @@
// class QReversiGame
-QReversiGame::QReversiGame(TQObject *tqparent)
- : TQObject(tqparent), Game()
+QReversiGame::QReversiGame(TQObject *parent)
+ : TQObject(parent), Game()
{
}
diff --git a/kreversi/qreversigame.h b/kreversi/qreversigame.h
index e3b8893a..d10c5650 100644
--- a/kreversi/qreversigame.h
+++ b/kreversi/qreversigame.h
@@ -67,7 +67,7 @@ class QReversiGame : public TQObject, public Game {
TQ_OBJECT
public:
- QReversiGame(TQObject *tqparent = 0);
+ QReversiGame(TQObject *parent = 0);
~QReversiGame();
// Methods dealing with the game
diff --git a/kreversi/qreversigameview.cpp b/kreversi/qreversigameview.cpp
index 87b29a60..f661d62c 100644
--- a/kreversi/qreversigameview.cpp
+++ b/kreversi/qreversigameview.cpp
@@ -71,8 +71,8 @@
// class StatusWidget
-StatusWidget::StatusWidget(const TQString &text, TQWidget *tqparent)
- : TQWidget(tqparent, "status_widget")
+StatusWidget::StatusWidget(const TQString &text, TQWidget *parent)
+ : TQWidget(parent, "status_widget")
{
TQHBoxLayout *hbox = new TQHBoxLayout(this, 0, KDialog::spacingHint());
TQLabel *label;
@@ -122,8 +122,8 @@ void StatusWidget::setScore(uint s)
// class QReversiGameView
-QReversiGameView::QReversiGameView(TQWidget *tqparent, QReversiGame *game)
- : TQWidget(tqparent, "gameview")
+QReversiGameView::QReversiGameView(TQWidget *parent, QReversiGame *game)
+ : TQWidget(parent, "gameview")
{
// Store a pointer to the game.
m_game = game;
diff --git a/kreversi/qreversigameview.h b/kreversi/qreversigameview.h
index 4f7696b6..53d258d7 100644
--- a/kreversi/qreversigameview.h
+++ b/kreversi/qreversigameview.h
@@ -61,7 +61,7 @@ class StatusWidget : public TQWidget
TQ_OBJECT
public:
- StatusWidget(const TQString &text, TQWidget *tqparent);
+ StatusWidget(const TQString &text, TQWidget *parent);
void setText(const TQString &string);
void setPixmap(const TQPixmap &pixmap);
@@ -82,7 +82,7 @@ class QReversiGameView : public TQWidget {
public:
- QReversiGameView(TQWidget *tqparent, QReversiGame *game);
+ QReversiGameView(TQWidget *parent, QReversiGame *game);
~QReversiGameView();
// Proxy methods for the board view