summaryrefslogtreecommitdiffstats
path: root/klickety/field.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
commit838baf3f99ec5ab81b063eb5449a3381d860f377 (patch)
treedd31abcfde08ca92e4623b8f50b3d762a87c997a /klickety/field.cpp
parent2bf598bafa22fac4126fc8842df6b0119aadc0e9 (diff)
downloadtdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.tar.gz
tdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.zip
TQt4 port kdegames
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1236074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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);