summaryrefslogtreecommitdiffstats
path: root/kmines
diff options
context:
space:
mode:
Diffstat (limited to 'kmines')
-rw-r--r--kmines/dialogs.cpp2
-rw-r--r--kmines/solver/solver.cpp10
-rw-r--r--kmines/status.cpp2
3 files changed, 7 insertions, 7 deletions
diff --git a/kmines/dialogs.cpp b/kmines/dialogs.cpp
index 7fb5dec9..581c2ecd 100644
--- a/kmines/dialogs.cpp
+++ b/kmines/dialogs.cpp
@@ -165,7 +165,7 @@ void CustomConfig::updateNbMines()
Level l(_width->value(), _height->value(), _mines->value());
_mines->setRange(1, Level::maxNbMines(l.width(), l.height()));
_mines->setLabel(i18n("Mines (%1%):")
- .tqarg( (100*l.nbMines()) / (l.width() * l.height()) ));
+ .arg( (100*l.nbMines()) / (l.width() * l.height()) ));
_gameType->setCurrentItem(l.type());
_block = false;
}
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()));
}
diff --git a/kmines/status.cpp b/kmines/status.cpp
index 2d081628..7940a388 100644
--- a/kmines/status.cpp
+++ b/kmines/status.cpp
@@ -368,7 +368,7 @@ void Status::loadLog()
bool ok = doc.setContent(&file, 0, &errorLine);
if ( !ok ) {
KMessageBox::sorry(this, i18n("Cannot read XML file on line %1")
- .tqarg(errorLine));
+ .arg(errorLine));
return;
}
success = true;