summaryrefslogtreecommitdiffstats
path: root/kfouleggs
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commita13e26c2f1eb3c5be81acf4f571dd4bafac10199 (patch)
tree1f1d3e407ae668b1448847970b2f1b626083faf6 /kfouleggs
parent24c5cdc2737fe0044b11a12359606973eb93fc0b (diff)
downloadtdegames-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 'kfouleggs')
-rw-r--r--kfouleggs/board.cpp4
-rw-r--r--kfouleggs/board.h2
-rw-r--r--kfouleggs/field.cpp4
-rw-r--r--kfouleggs/field.h2
-rw-r--r--kfouleggs/main.cpp4
-rw-r--r--kfouleggs/main.h10
6 files changed, 13 insertions, 13 deletions
diff --git a/kfouleggs/board.cpp b/kfouleggs/board.cpp
index e719ce2f..5383c619 100644
--- a/kfouleggs/board.cpp
+++ b/kfouleggs/board.cpp
@@ -9,8 +9,8 @@
using namespace KGrid2D;
-FEBoard::FEBoard(bool graphic, TQWidget *tqparent)
-: Board(graphic, new GiftPool(tqparent), tqparent),
+FEBoard::FEBoard(bool graphic, TQWidget *parent)
+: Board(graphic, new GiftPool(parent), parent),
_field(matrix().width(), matrix().height()), _chainedPuyos(4)
{
init();
diff --git a/kfouleggs/board.h b/kfouleggs/board.h
index e3b4229e..174d1dd7 100644
--- a/kfouleggs/board.h
+++ b/kfouleggs/board.h
@@ -9,7 +9,7 @@ class FEBoard : public Board
Q_OBJECT
TQ_OBJECT
public:
- FEBoard(bool graphic, TQWidget *tqparent);
+ FEBoard(bool graphic, TQWidget *parent);
void copy(const GenericTetris &);
void start(const GTInitData &);
diff --git a/kfouleggs/field.cpp b/kfouleggs/field.cpp
index 997e4f48..ae9bcdce 100644
--- a/kfouleggs/field.cpp
+++ b/kfouleggs/field.cpp
@@ -10,8 +10,8 @@
#include "board.h"
-FEField::FEField(TQWidget *tqparent)
- : Field(tqparent)
+FEField::FEField(TQWidget *parent)
+ : Field(parent)
{
Board *b = static_cast<Board *>(board);
TQWhatsThis::add(b->giftPool(), i18n("Display the amount of foul eggs sent by your opponent."));
diff --git a/kfouleggs/field.h b/kfouleggs/field.h
index 59cdcee8..9eed0ebd 100644
--- a/kfouleggs/field.h
+++ b/kfouleggs/field.h
@@ -10,7 +10,7 @@ class FEField : public Field
Q_OBJECT
TQ_OBJECT
public:
- FEField(TQWidget *tqparent);
+ FEField(TQWidget *parent);
private slots:
virtual void removedUpdated();
diff --git a/kfouleggs/main.cpp b/kfouleggs/main.cpp
index ce083c7c..89295d08 100644
--- a/kfouleggs/main.cpp
+++ b/kfouleggs/main.cpp
@@ -65,9 +65,9 @@ FEFactory::FEFactory()
: CommonFactory(MAIN_DATA, BASE_BOARD_INFO, COMMON_BOARD_INFO)
{}
-BaseInterface *FEFactory::createInterface(TQWidget *tqparent)
+BaseInterface *FEFactory::createInterface(TQWidget *parent)
{
- return new Interface(MP_GAME_INFO, tqparent);
+ return new Interface(MP_GAME_INFO, parent);
}
diff --git a/kfouleggs/main.h b/kfouleggs/main.h
index 12aca31f..b38f3fb9 100644
--- a/kfouleggs/main.h
+++ b/kfouleggs/main.h
@@ -15,11 +15,11 @@ class FEFactory : public CommonFactory
FEFactory();
protected:
- virtual BaseBoard *createBoard(bool graphic, TQWidget *tqparent)
- { return new FEBoard(graphic, tqparent); }
- virtual BaseField *createField(TQWidget *tqparent)
- { return new FEField(tqparent); }
- virtual BaseInterface *createInterface(TQWidget *tqparent);
+ virtual BaseBoard *createBoard(bool graphic, TQWidget *parent)
+ { return new FEBoard(graphic, parent); }
+ virtual BaseField *createField(TQWidget *parent)
+ { return new FEField(parent); }
+ virtual BaseInterface *createInterface(TQWidget *parent);
virtual AI *createAI() { return new FEAI; }
};