diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | a13e26c2f1eb3c5be81acf4f571dd4bafac10199 (patch) | |
tree | 1f1d3e407ae668b1448847970b2f1b626083faf6 /ksirtet | |
parent | 24c5cdc2737fe0044b11a12359606973eb93fc0b (diff) | |
download | tdegames-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 'ksirtet')
-rw-r--r-- | ksirtet/ksirtet/board.cpp | 4 | ||||
-rw-r--r-- | ksirtet/ksirtet/board.h | 2 | ||||
-rw-r--r-- | ksirtet/ksirtet/field.cpp | 4 | ||||
-rw-r--r-- | ksirtet/ksirtet/field.h | 2 | ||||
-rw-r--r-- | ksirtet/ksirtet/main.cpp | 4 | ||||
-rw-r--r-- | ksirtet/ksirtet/main.h | 10 |
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; } }; |