summaryrefslogtreecommitdiffstats
path: root/ksirtet
diff options
context:
space:
mode:
Diffstat (limited to 'ksirtet')
-rw-r--r--ksirtet/ksirtet/board.cpp4
-rw-r--r--ksirtet/ksirtet/board.h2
-rw-r--r--ksirtet/ksirtet/field.cpp4
-rw-r--r--ksirtet/ksirtet/field.h2
-rw-r--r--ksirtet/ksirtet/main.cpp4
-rw-r--r--ksirtet/ksirtet/main.h10
6 files changed, 13 insertions, 13 deletions
diff --git a/ksirtet/ksirtet/board.cpp b/ksirtet/ksirtet/board.cpp
index 00126e68..f50aa1a4 100644
--- a/ksirtet/ksirtet/board.cpp
+++ b/ksirtet/ksirtet/board.cpp
@@ -8,8 +8,8 @@
using namespace KGrid2D;
-KSBoard::KSBoard(bool graphic, TQWidget *tqparent)
- : Board(graphic, new GiftPool(tqparent), tqparent),
+KSBoard::KSBoard(bool graphic, TQWidget *parent)
+ : Board(graphic, new GiftPool(parent), parent),
filled(matrix().height()), linesRemoved(4)
{
init();
diff --git a/ksirtet/ksirtet/board.h b/ksirtet/ksirtet/board.h
index a1ac1612..3c3e712d 100644
--- a/ksirtet/ksirtet/board.h
+++ b/ksirtet/ksirtet/board.h
@@ -9,7 +9,7 @@ class KSBoard : public Board
Q_OBJECT
TQ_OBJECT
public:
- KSBoard(bool graphic, TQWidget *tqparent);
+ KSBoard(bool graphic, TQWidget *parent);
void copy(const GenericTetris &);
void start(const GTInitData &);
diff --git a/ksirtet/ksirtet/field.cpp b/ksirtet/ksirtet/field.cpp
index 1f7cbbc4..918fa8f1 100644
--- a/ksirtet/ksirtet/field.cpp
+++ b/ksirtet/ksirtet/field.cpp
@@ -11,8 +11,8 @@
#include "piece.h"
//-----------------------------------------------------------------------------
-KSField::KSField(TQWidget *tqparent)
- : Field(tqparent)
+KSField::KSField(TQWidget *parent)
+ : Field(parent)
{
const Board *b = static_cast<Board *>(board);
TQWhatsThis::add(b->giftPool(), i18n("Indicate the number of garbage lines you received from your opponent."));
diff --git a/ksirtet/ksirtet/field.h b/ksirtet/ksirtet/field.h
index adbe31cd..55a4152a 100644
--- a/ksirtet/ksirtet/field.h
+++ b/ksirtet/ksirtet/field.h
@@ -10,7 +10,7 @@ class KSField : public Field
Q_OBJECT
TQ_OBJECT
public:
- KSField(TQWidget *tqparent);
+ KSField(TQWidget *parent);
private slots:
virtual void removedUpdated();
diff --git a/ksirtet/ksirtet/main.cpp b/ksirtet/ksirtet/main.cpp
index 09d02461..4c66c22f 100644
--- a/ksirtet/ksirtet/main.cpp
+++ b/ksirtet/ksirtet/main.cpp
@@ -64,9 +64,9 @@ KSFactory::KSFactory()
: CommonFactory(MAIN_DATA, BASE_BOARD_INFO, COMMON_BOARD_INFO)
{}
-BaseInterface *KSFactory::createInterface(TQWidget *tqparent)
+BaseInterface *KSFactory::createInterface(TQWidget *parent)
{
- return new Interface(MP_GAME_INFO, tqparent);
+ return new Interface(MP_GAME_INFO, parent);
}
//-----------------------------------------------------------------------------
diff --git a/ksirtet/ksirtet/main.h b/ksirtet/ksirtet/main.h
index c01bcfae..bb22e259 100644
--- a/ksirtet/ksirtet/main.h
+++ b/ksirtet/ksirtet/main.h
@@ -16,11 +16,11 @@ class KSFactory : public CommonFactory
KSFactory();
protected:
- virtual BaseBoard *createBoard(bool graphic, TQWidget *tqparent)
- { return new KSBoard(graphic, tqparent); }
- virtual BaseField *createField(TQWidget *tqparent)
- { return new KSField(tqparent); }
- virtual BaseInterface *createInterface(TQWidget *tqparent);
+ virtual BaseBoard *createBoard(bool graphic, TQWidget *parent)
+ { return new KSBoard(graphic, parent); }
+ virtual BaseField *createField(TQWidget *parent)
+ { return new KSField(parent); }
+ virtual BaseInterface *createInterface(TQWidget *parent);
virtual AI *createAI() { return new KSAI; }
virtual TQWidget *createGameConfig() { return new KSGameConfig; }
};