diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 12:28:49 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 12:28:49 +0900 |
commit | c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610 (patch) | |
tree | 50b08262da538c5b91f77e83e4b80d7fd6dbe0de /kmines/solver | |
parent | 51f65427771c47f6d34cda56b07d9d82bd0bfd33 (diff) | |
download | tdegames-c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610.tar.gz tdegames-c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmines/solver')
-rw-r--r-- | kmines/solver/solver.cpp | 8 |
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())); } |