summaryrefslogtreecommitdiffstats
path: root/kmines/solver/solver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmines/solver/solver.cpp')
-rw-r--r--kmines/solver/solver.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmines/solver/solver.cpp b/kmines/solver/solver.cpp
index 99070cad..9a416d28 100644
--- a/kmines/solver/solver.cpp
+++ b/kmines/solver/solver.cpp
@@ -174,7 +174,7 @@ bool Solver::solveStep()
}
if (_inOneStep) return solveStep();
- else TQTimer::singleShot(0, this, TQT_SLOT(solveStep()));
+ else TQTimer::singleShot(0, this, TQ_SLOT(solveStep()));
return false;
}
@@ -191,7 +191,7 @@ SolvingRateDialog::SolvingRateDialog(const BaseField &field, TQWidget *parent)
Close, parent, "compute_solving_rate", true, true),
_refField(field)
{
- connect(&_solver, TQT_SIGNAL(solvingDone(bool)), TQT_SLOT(solvingDone(bool)));
+ connect(&_solver, TQ_SIGNAL(solvingDone(bool)), TQ_SLOT(solvingDone(bool)));
KGuiItem item = KStdGuiItem::ok();
item.setText(i18n("Start"));
@@ -225,7 +225,7 @@ void SolvingRateDialog::slotOk()
_i = 0;
_success = 0;
_progress->setValue(0);
- TQTimer::singleShot(0, this, TQT_SLOT(step()));
+ TQTimer::singleShot(0, this, TQ_SLOT(step()));
}
void SolvingRateDialog::step()
@@ -245,5 +245,5 @@ void SolvingRateDialog::solvingDone(bool success)
_label->setText(i18n("Success rate: %1%")
.arg(_success * 100.0 / _i, 0, 'f', 3));
_progress->advance(1);
- TQTimer::singleShot(0, this, TQT_SLOT(step()));
+ TQTimer::singleShot(0, this, TQ_SLOT(step()));
}