diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:55:35 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:55:35 -0600 |
commit | c0f375feba0103bed2bac1b1f05e76e9ae28fa89 (patch) | |
tree | 9c30a9097d650343df41d867f0e008769529eb08 /kmines/solver | |
parent | 0e2b76239f354a9eead0b4e37d86d390ec57ffa9 (diff) | |
download | tdegames-c0f375feba0103bed2bac1b1f05e76e9ae28fa89.tar.gz tdegames-c0f375feba0103bed2bac1b1f05e76e9ae28fa89.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kmines/solver')
-rw-r--r-- | kmines/solver/solver.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kmines/solver/solver.cpp b/kmines/solver/solver.cpp index 0c90b747..f8607b79 100644 --- a/kmines/solver/solver.cpp +++ b/kmines/solver/solver.cpp @@ -198,13 +198,13 @@ SolvingRateDialog::SolvingRateDialog(const BaseField &field, TQWidget *parent) setButtonOK(item); TQVBoxLayout *top = new TQVBoxLayout(plainPage(), 0, spacingHint()); - TQLabel *label = new TQLabel(i18n("Width: %1").tqarg(field.width()), + TQLabel *label = new TQLabel(i18n("Width: %1").arg(field.width()), plainPage()); top->addWidget(label); - label = new TQLabel(i18n("Height: %1").tqarg(field.height()), plainPage()); + label = new TQLabel(i18n("Height: %1").arg(field.height()), plainPage()); top->addWidget(label); - label = new TQLabel(i18n("Mines: %1 (%2%)").tqarg(field.nbMines()) - .tqarg( field.nbMines() * 100.0 / field.size()), + label = new TQLabel(i18n("Mines: %1 (%2%)").arg(field.nbMines()) + .arg( field.nbMines() * 100.0 / field.size()), plainPage()); top->addWidget(label); @@ -243,7 +243,7 @@ void SolvingRateDialog::solvingDone(bool success) { if (success) _success++; _label->setText(i18n("Success rate: %1%") - .tqarg(_success * 100.0 / _i, 0, 'f', 3)); + .arg(_success * 100.0 / _i, 0, 'f', 3)); _progress->advance(1); TQTimer::singleShot(0, this, TQT_SLOT(step())); } |