From a13e26c2f1eb3c5be81acf4f571dd4bafac10199 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: 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 --- kreversi/board.cpp | 4 ++-- kreversi/board.h | 2 +- kreversi/qreversigame.cpp | 4 ++-- kreversi/qreversigame.h | 2 +- kreversi/qreversigameview.cpp | 8 ++++---- kreversi/qreversigameview.h | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) (limited to 'kreversi') 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 -- cgit v1.2.1