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 /kreversi | |
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 'kreversi')
-rw-r--r-- | kreversi/board.cpp | 4 | ||||
-rw-r--r-- | kreversi/board.h | 2 | ||||
-rw-r--r-- | kreversi/qreversigame.cpp | 4 | ||||
-rw-r--r-- | kreversi/qreversigame.h | 2 | ||||
-rw-r--r-- | kreversi/qreversigameview.cpp | 8 | ||||
-rw-r--r-- | kreversi/qreversigameview.h | 4 |
6 files changed, 12 insertions, 12 deletions
diff --git a/kreversi/board.cpp b/kreversi/board.cpp index 727d8d2d..d24dccd1 100644 --- a/kreversi/board.cpp +++ b/kreversi/board.cpp @@ -71,8 +71,8 @@ const uint CHIP_SIZE = 36; // class KReversiBoardView -QReversiBoardView::QReversiBoardView(TQWidget *tqparent, QReversiGame *krgame) - : TQWidget(tqparent, "board"), +QReversiBoardView::QReversiBoardView(TQWidget *parent, QReversiGame *krgame) + : TQWidget(parent, "board"), chiptype(Unloaded) { m_krgame = krgame; diff --git a/kreversi/board.h b/kreversi/board.h index 68f211d4..0b217d8c 100644 --- a/kreversi/board.h +++ b/kreversi/board.h @@ -60,7 +60,7 @@ class QReversiBoardView : public TQWidget { public: - QReversiBoardView(TQWidget *tqparent, QReversiGame *game); + QReversiBoardView(TQWidget *parent, QReversiGame *game); ~QReversiBoardView(); // starts all: emits some signal, so it can't be called from diff --git a/kreversi/qreversigame.cpp b/kreversi/qreversigame.cpp index 361adbd8..3e940ca2 100644 --- a/kreversi/qreversigame.cpp +++ b/kreversi/qreversigame.cpp @@ -44,8 +44,8 @@ // class QReversiGame -QReversiGame::QReversiGame(TQObject *tqparent) - : TQObject(tqparent), Game() +QReversiGame::QReversiGame(TQObject *parent) + : TQObject(parent), Game() { } diff --git a/kreversi/qreversigame.h b/kreversi/qreversigame.h index e3b8893a..d10c5650 100644 --- a/kreversi/qreversigame.h +++ b/kreversi/qreversigame.h @@ -67,7 +67,7 @@ class QReversiGame : public TQObject, public Game { TQ_OBJECT public: - QReversiGame(TQObject *tqparent = 0); + QReversiGame(TQObject *parent = 0); ~QReversiGame(); // Methods dealing with the game diff --git a/kreversi/qreversigameview.cpp b/kreversi/qreversigameview.cpp index 87b29a60..f661d62c 100644 --- a/kreversi/qreversigameview.cpp +++ b/kreversi/qreversigameview.cpp @@ -71,8 +71,8 @@ // class StatusWidget -StatusWidget::StatusWidget(const TQString &text, TQWidget *tqparent) - : TQWidget(tqparent, "status_widget") +StatusWidget::StatusWidget(const TQString &text, TQWidget *parent) + : TQWidget(parent, "status_widget") { TQHBoxLayout *hbox = new TQHBoxLayout(this, 0, KDialog::spacingHint()); TQLabel *label; @@ -122,8 +122,8 @@ void StatusWidget::setScore(uint s) // class QReversiGameView -QReversiGameView::QReversiGameView(TQWidget *tqparent, QReversiGame *game) - : TQWidget(tqparent, "gameview") +QReversiGameView::QReversiGameView(TQWidget *parent, QReversiGame *game) + : TQWidget(parent, "gameview") { // Store a pointer to the game. m_game = game; diff --git a/kreversi/qreversigameview.h b/kreversi/qreversigameview.h index 4f7696b6..53d258d7 100644 --- a/kreversi/qreversigameview.h +++ b/kreversi/qreversigameview.h @@ -61,7 +61,7 @@ class StatusWidget : public TQWidget TQ_OBJECT public: - StatusWidget(const TQString &text, TQWidget *tqparent); + StatusWidget(const TQString &text, TQWidget *parent); void setText(const TQString &string); void setPixmap(const TQPixmap &pixmap); @@ -82,7 +82,7 @@ class QReversiGameView : public TQWidget { public: - QReversiGameView(TQWidget *tqparent, QReversiGame *game); + QReversiGameView(TQWidget *parent, QReversiGame *game); ~QReversiGameView(); // Proxy methods for the board view |