diff options
Diffstat (limited to 'klickety')
-rw-r--r-- | klickety/board.cpp | 4 | ||||
-rw-r--r-- | klickety/board.h | 2 | ||||
-rw-r--r-- | klickety/field.cpp | 6 | ||||
-rw-r--r-- | klickety/field.h | 2 | ||||
-rw-r--r-- | klickety/main.h | 8 |
5 files changed, 11 insertions, 11 deletions
diff --git a/klickety/board.cpp b/klickety/board.cpp index 4b531b5b..a251687c 100644 --- a/klickety/board.cpp +++ b/klickety/board.cpp @@ -26,8 +26,8 @@ void KLBoard::contentsMouseReleaseEvent(TQMouseEvent *e) } } -KLBoard::KLBoard(TQWidget *tqparent) - : BaseBoard(true, tqparent), +KLBoard::KLBoard(TQWidget *parent) + : BaseBoard(true, parent), field(matrix().width(), matrix().height()), empty(matrix().width()), blocked(false) diff --git a/klickety/board.h b/klickety/board.h index f67e4926..8b7edf7e 100644 --- a/klickety/board.h +++ b/klickety/board.h @@ -9,7 +9,7 @@ class KLBoard : public BaseBoard Q_OBJECT TQ_OBJECT public: - KLBoard(TQWidget *tqparent); + KLBoard(TQWidget *parent); void start(const GTInitData &data); diff --git a/klickety/field.cpp b/klickety/field.cpp index 1c497eb2..19d7d6ff 100644 --- a/klickety/field.cpp +++ b/klickety/field.cpp @@ -11,8 +11,8 @@ #include "base/board.h" -Field::Field(TQWidget *tqparent) - : TQWidget(tqparent, "field"), BaseField(this) +Field::Field(TQWidget *parent) + : TQWidget(parent, "field"), BaseField(this) { KGameLCDList *sc = new KGameLCDList(i18n("Remaining blocks"), this); showScore = new KGameLCD(3, sc); @@ -37,7 +37,7 @@ Field::Field(TQWidget *tqparent) connect(board, TQT_SIGNAL(gameOverSignal()), TQT_SLOT(gameOver())); settingsChanged(); - connect(tqparent, TQT_SIGNAL(settingsChanged()), TQT_SLOT(settingsChanged())); + connect(parent, TQT_SIGNAL(settingsChanged()), TQT_SLOT(settingsChanged())); TQTimer::singleShot(0, this, TQT_SLOT(start())); } diff --git a/klickety/field.h b/klickety/field.h index 64951006..50484e4b 100644 --- a/klickety/field.h +++ b/klickety/field.h @@ -13,7 +13,7 @@ class Field : public TQWidget, public BaseField, public BaseInterface Q_OBJECT TQ_OBJECT public: - Field(TQWidget *tqparent); + Field(TQWidget *parent); private slots: void scoreUpdatedSlot() { scoreUpdated(); } diff --git a/klickety/main.h b/klickety/main.h index 6ff71a4c..a15252eb 100644 --- a/klickety/main.h +++ b/klickety/main.h @@ -13,10 +13,10 @@ class KLFactory : public BaseFactory KLFactory(); protected: - virtual BaseBoard *createBoard(bool, TQWidget *tqparent) - { return new KLBoard(tqparent); } - virtual BaseInterface *createInterface(TQWidget *tqparent) - { return new Field(tqparent); } + virtual BaseBoard *createBoard(bool, TQWidget *parent) + { return new KLBoard(parent); } + virtual BaseInterface *createInterface(TQWidget *parent) + { return new Field(parent); } }; class KLMainWindow : public BaseMainWindow |