diff options
Diffstat (limited to 'kfouleggs')
-rw-r--r-- | kfouleggs/board.cpp | 4 | ||||
-rw-r--r-- | kfouleggs/board.h | 2 | ||||
-rw-r--r-- | kfouleggs/field.cpp | 4 | ||||
-rw-r--r-- | kfouleggs/field.h | 2 | ||||
-rw-r--r-- | kfouleggs/main.cpp | 4 | ||||
-rw-r--r-- | kfouleggs/main.h | 10 |
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; } }; |