summaryrefslogtreecommitdiffstats
path: root/klickety/field.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /klickety/field.cpp
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klickety/field.cpp')
-rw-r--r--klickety/field.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/klickety/field.cpp b/klickety/field.cpp
index 4b85a3fe..67533acc 100644
--- a/klickety/field.cpp
+++ b/klickety/field.cpp
@@ -1,8 +1,8 @@
#include "field.h"
#include "field.moc"
-#include <qwhatsthis.h>
-#include <qlayout.h>
+#include <tqwhatsthis.h>
+#include <tqlayout.h>
#include <kapplication.h>
#include <klocale.h>
@@ -11,13 +11,13 @@
#include "base/board.h"
-Field::Field(QWidget *parent)
- : QWidget(parent, "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);
sc->append(showScore);
- QWhatsThis::add(sc, i18n("<qt>Display the number of remaining "
+ TQWhatsThis::add(sc, i18n("<qt>Display the number of remaining "
"blocks.<br/>"
"It turns <font color=\"blue\">blue"
"</font> if it is a highscore "
@@ -28,17 +28,17 @@ Field::Field(QWidget *parent)
KGameLCDList *et = new KGameLCDList(i18n("Elapsed time"), this);
elapsedTime = new KGameLCDClock(et);
- connect(board, SIGNAL(firstBlockClicked()), elapsedTime, SLOT(start()));
+ connect(board, TQT_SIGNAL(firstBlockClicked()), elapsedTime, TQT_SLOT(start()));
et->append(elapsedTime);
lcds->addWidget(et, 5, 0);
lcds->setRowStretch(6, 1);
- connect(board, SIGNAL(scoreUpdated()), SLOT(scoreUpdatedSlot()));
- connect(board, SIGNAL(gameOverSignal()), SLOT(gameOver()));
+ connect(board, TQT_SIGNAL(scoreUpdated()), TQT_SLOT(scoreUpdatedSlot()));
+ connect(board, TQT_SIGNAL(gameOverSignal()), TQT_SLOT(gameOver()));
settingsChanged();
- connect(parent, SIGNAL(settingsChanged()), SLOT(settingsChanged()));
- QTimer::singleShot(0, this, SLOT(start()));
+ connect(parent, TQT_SIGNAL(settingsChanged()), TQT_SLOT(settingsChanged()));
+ TQTimer::singleShot(0, this, TQT_SLOT(start()));
}
void Field::pause()
@@ -52,7 +52,7 @@ void Field::pause()
void Field::start()
{
- init(false, false, true, true, QString::null);
+ init(false, false, true, true, TQString::null);
GTInitData data;
data.seed = kapp->random();
BaseField::start(data);