summaryrefslogtreecommitdiffstats
path: root/klickety
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commita13e26c2f1eb3c5be81acf4f571dd4bafac10199 (patch)
tree1f1d3e407ae668b1448847970b2f1b626083faf6 /klickety
parent24c5cdc2737fe0044b11a12359606973eb93fc0b (diff)
downloadtdegames-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 'klickety')
-rw-r--r--klickety/board.cpp4
-rw-r--r--klickety/board.h2
-rw-r--r--klickety/field.cpp6
-rw-r--r--klickety/field.h2
-rw-r--r--klickety/main.h8
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