summaryrefslogtreecommitdiffstats
path: root/klickety/field.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'klickety/field.cpp')
-rw-r--r--klickety/field.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/klickety/field.cpp b/klickety/field.cpp
index 67533acc..1c497eb2 100644
--- a/klickety/field.cpp
+++ b/klickety/field.cpp
@@ -11,8 +11,8 @@
#include "base/board.h"
-Field::Field(TQWidget *parent)
- : TQWidget(parent, "field"), BaseField(this)
+Field::Field(TQWidget *tqparent)
+ : TQWidget(tqparent, "field"), BaseField(this)
{
KGameLCDList *sc = new KGameLCDList(i18n("Remaining blocks"), this);
showScore = new KGameLCD(3, sc);
@@ -37,7 +37,7 @@ Field::Field(TQWidget *parent)
connect(board, TQT_SIGNAL(gameOverSignal()), TQT_SLOT(gameOver()));
settingsChanged();
- connect(parent, TQT_SIGNAL(settingsChanged()), TQT_SLOT(settingsChanged()));
+ connect(tqparent, TQT_SIGNAL(settingsChanged()), TQT_SLOT(settingsChanged()));
TQTimer::singleShot(0, this, TQT_SLOT(start()));
}
@@ -52,7 +52,7 @@ void Field::pause()
void Field::start()
{
- init(false, false, true, true, TQString::null);
+ init(false, false, true, true, TQString());
GTInitData data;
data.seed = kapp->random();
BaseField::start(data);