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 /kenolaba | |
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 'kenolaba')
-rw-r--r-- | kenolaba/Ball.cpp | 8 | ||||
-rw-r--r-- | kenolaba/Ball.h | 4 | ||||
-rw-r--r-- | kenolaba/BoardWidget.cpp | 4 | ||||
-rw-r--r-- | kenolaba/BoardWidget.h | 2 | ||||
-rw-r--r-- | kenolaba/EvalDlgImpl.cpp | 4 | ||||
-rw-r--r-- | kenolaba/EvalDlgImpl.h | 2 |
6 files changed, 12 insertions, 12 deletions
diff --git a/kenolaba/Ball.cpp b/kenolaba/Ball.cpp index b0584287..39448305 100644 --- a/kenolaba/Ball.cpp +++ b/kenolaba/Ball.cpp @@ -213,8 +213,8 @@ BallPosition::BallPosition(int xp,int yp, Ball* d) /* Class BallWidget */ -BallWidget::BallWidget( int _freq, int bFr, TQWidget *tqparent, const char *name ) - : TQWidget(tqparent,name), positions(MAX_POSITION), animations(MAX_ANIMATION) +BallWidget::BallWidget( int _freq, int bFr, TQWidget *parent, const char *name ) + : TQWidget(parent,name), positions(MAX_POSITION), animations(MAX_ANIMATION) { int i; @@ -421,8 +421,8 @@ void BallWidget::animate() /* Ball Test */ -BallTest::BallTest( TQWidget *tqparent, const char *name ) - : BallWidget(10,2,tqparent,name) +BallTest::BallTest( TQWidget *parent, const char *name ) + : BallWidget(10,2,parent,name) { int w,h; diff --git a/kenolaba/Ball.h b/kenolaba/Ball.h index 25fd13eb..9cdfe344 100644 --- a/kenolaba/Ball.h +++ b/kenolaba/Ball.h @@ -100,7 +100,7 @@ class BallWidget : public TQWidget TQ_OBJECT public: - BallWidget(int _freq, int bFr, TQWidget *tqparent = 0, const char *name = 0); + BallWidget(int _freq, int bFr, TQWidget *parent = 0, const char *name = 0); ~BallWidget(); void createBlending(int, int, Ball* , Ball* ); @@ -143,7 +143,7 @@ class BallTest: public BallWidget Q_OBJECT TQ_OBJECT public: - BallTest(TQWidget *tqparent=0, const char *name=0 ); + BallTest(TQWidget *parent=0, const char *name=0 ); protected: void mousePressEvent( TQMouseEvent * ); void mouseReleaseEvent( TQMouseEvent * ); diff --git a/kenolaba/BoardWidget.cpp b/kenolaba/BoardWidget.cpp index af4a103a..9462b8d5 100644 --- a/kenolaba/BoardWidget.cpp +++ b/kenolaba/BoardWidget.cpp @@ -34,8 +34,8 @@ #include "bitmaps/Arrow6" #include "bitmaps/Arrow6Mask" -BoardWidget::BoardWidget(Board& b, TQWidget *tqparent, const char *name) - : BallWidget(10,9,tqparent, name), board(b) +BoardWidget::BoardWidget(Board& b, TQWidget *parent, const char *name) + : BallWidget(10,9,parent, name), board(b) { pList =0; gettingMove = false; diff --git a/kenolaba/BoardWidget.h b/kenolaba/BoardWidget.h index 2f123fc9..bc323aa8 100644 --- a/kenolaba/BoardWidget.h +++ b/kenolaba/BoardWidget.h @@ -18,7 +18,7 @@ class BoardWidget : public BallWidget TQ_OBJECT public: - BoardWidget(Board&, TQWidget *tqparent = 0, const char *name = 0); + BoardWidget(Board&, TQWidget *parent = 0, const char *name = 0); ~BoardWidget(); void createPos(int , int , int , Ball*); diff --git a/kenolaba/EvalDlgImpl.cpp b/kenolaba/EvalDlgImpl.cpp index 14d0d0ac..9efc5bea 100644 --- a/kenolaba/EvalDlgImpl.cpp +++ b/kenolaba/EvalDlgImpl.cpp @@ -19,8 +19,8 @@ #include "Board.h" #include "EvalScheme.h" -EvalDlgImpl::EvalDlgImpl(TQWidget* tqparent, Board* board) - :EvalDlg(tqparent) +EvalDlgImpl::EvalDlgImpl(TQWidget* parent, Board* board) + :EvalDlg(parent) { _board = board; _origScheme = board->evalScheme(); diff --git a/kenolaba/EvalDlgImpl.h b/kenolaba/EvalDlgImpl.h index 07cb57a9..a34205e4 100644 --- a/kenolaba/EvalDlgImpl.h +++ b/kenolaba/EvalDlgImpl.h @@ -17,7 +17,7 @@ class EvalDlgImpl: public EvalDlg TQ_OBJECT public: - EvalDlgImpl(TQWidget* tqparent, Board* board); + EvalDlgImpl(TQWidget* parent, Board* board); ~EvalDlgImpl(); EvalScheme* evalScheme() { return _scheme; } |