summaryrefslogtreecommitdiffstats
path: root/kmines/status.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmines/status.cpp')
-rw-r--r--kmines/status.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kmines/status.cpp b/kmines/status.cpp
index 5272e68b..1e0d005b 100644
--- a/kmines/status.cpp
+++ b/kmines/status.cpp
@@ -49,10 +49,10 @@ Status::Status(TQWidget *parent)
: TQWidget(parent, "status"), _oldLevel(Level::Easy)
{
_timer = new TQTimer(this);
- connect(_timer, TQT_SIGNAL(timeout()), TQT_SLOT(replayStep()));
+ connect(_timer, TQ_SIGNAL(timeout()), TQ_SLOT(replayStep()));
_solver = new Solver(this);
- connect(_solver, TQT_SIGNAL(solvingDone(bool)), TQT_SLOT(solvingDone(bool)));
+ connect(_solver, TQ_SIGNAL(solvingDone(bool)), TQ_SLOT(solvingDone(bool)));
// top layout
TQGridLayout *top = new TQGridLayout(this, 2, 5, 10, 10);
@@ -73,7 +73,7 @@ Status::Status(TQWidget *parent)
// smiley
smiley = new Smiley(this);
- connect(smiley, TQT_SIGNAL(clicked()), TQT_SLOT(smileyClicked()));
+ connect(smiley, TQ_SIGNAL(clicked()), TQ_SLOT(smileyClicked()));
smiley->setFocusPolicy(TQWidget::NoFocus);
TQWhatsThis::add(smiley, i18n("Press to start a new game"));
top->addWidget(smiley, 0, 2);
@@ -93,13 +93,13 @@ Status::Status(TQWidget *parent)
_field = new Field(_fieldContainer);
_field->readSettings();
g->addWidget(_field, 0, 0, AlignCenter);
- connect( _field, TQT_SIGNAL(updateStatus(bool)), TQT_SLOT(updateStatus(bool)) );
- connect(_field, TQT_SIGNAL(gameStateChanged(GameState)),
- TQT_SLOT(gameStateChangedSlot(GameState)) );
- connect(_field, TQT_SIGNAL(setMood(Mood)), smiley, TQT_SLOT(setMood(Mood)));
- connect(_field, TQT_SIGNAL(setCheating()), dg, TQT_SLOT(setCheating()));
- connect(_field,TQT_SIGNAL(addAction(const KGrid2D::Coord &, Field::ActionType)),
- TQT_SLOT(addAction(const KGrid2D::Coord &, Field::ActionType)));
+ connect( _field, TQ_SIGNAL(updateStatus(bool)), TQ_SLOT(updateStatus(bool)) );
+ connect(_field, TQ_SIGNAL(gameStateChanged(GameState)),
+ TQ_SLOT(gameStateChangedSlot(GameState)) );
+ connect(_field, TQ_SIGNAL(setMood(Mood)), smiley, TQ_SLOT(setMood(Mood)));
+ connect(_field, TQ_SIGNAL(setCheating()), dg, TQ_SLOT(setCheating()));
+ connect(_field,TQ_SIGNAL(addAction(const KGrid2D::Coord &, Field::ActionType)),
+ TQ_SLOT(addAction(const KGrid2D::Coord &, Field::ActionType)));
TQWhatsThis::add(_field, i18n("Mines field."));
// resume button
@@ -110,7 +110,7 @@ Status::Status(TQWidget *parent)
TQPushButton *pb
= new TQPushButton(i18n("Press to Resume"), _resumeContainer);
pb->setFont(f);
- connect(pb, TQT_SIGNAL(clicked()), TQT_SIGNAL(pause()));
+ connect(pb, TQ_SIGNAL(clicked()), TQ_SIGNAL(pause()));
g->addWidget(pb, 0, 0, AlignCenter);
_stack = new TQWidgetStack(this);