summaryrefslogtreecommitdiffstats
path: root/kmines/dialogs.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-13 12:28:49 +0900
committerMichele Calgaro <[email protected]>2024-01-19 10:10:52 +0900
commit6374e2e62eef25945347ce2c9ae9f88e61765d11 (patch)
tree707d84dbca20d20dee68626dda0d35568d7dcb34 /kmines/dialogs.cpp
parentc26a225408c4759743b754453b07d0dca97aa749 (diff)
downloadtdegames-6374e2e62eef25945347ce2c9ae9f88e61765d11.tar.gz
tdegames-6374e2e62eef25945347ce2c9ae9f88e61765d11.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610)
Diffstat (limited to 'kmines/dialogs.cpp')
-rw-r--r--kmines/dialogs.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmines/dialogs.cpp b/kmines/dialogs.cpp
index 21120478..88656b1a 100644
--- a/kmines/dialogs.cpp
+++ b/kmines/dialogs.cpp
@@ -127,19 +127,19 @@ CustomConfig::CustomConfig()
_width = new KIntNumInput(this, "kcfg_CustomWidth");
_width->setLabel(i18n("Width:"));
_width->setRange(minWidth, maxWidth);
- connect(_width, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(updateNbMines()));
+ connect(_width, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(updateNbMines()));
top->addWidget(_width);
_height = new KIntNumInput(this, "kcfg_CustomHeight");
_height->setLabel(i18n("Height:"));
_height->setRange(minWidth, maxWidth);
- connect(_height, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(updateNbMines()));
+ connect(_height, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(updateNbMines()));
top->addWidget(_height);
_mines = new KIntNumInput(this, "kcfg_CustomMines");
_mines->setLabel(i18n("No. of mines:"));
_mines->setRange(1, Level::maxNbMines(maxWidth, maxHeight));
- connect(_mines, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(updateNbMines()));
+ connect(_mines, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(updateNbMines()));
top->addWidget(_mines);
top->addSpacing(2 * KDialog::spacingHint());
@@ -149,7 +149,7 @@ CustomConfig::CustomConfig()
TQLabel *label = new TQLabel(i18n("Choose level:"), this);
hbox->addWidget(label);
_gameType = new KComboBox(false, this);
- connect(_gameType, TQT_SIGNAL(activated(int)), TQT_SLOT(typeChosen(int)));
+ connect(_gameType, TQ_SIGNAL(activated(int)), TQ_SLOT(typeChosen(int)));
for (uint i=0; i<=Level::NB_TYPES; i++)
_gameType->insertItem(i18n(Level::LABELS[i]));
hbox->addWidget(_gameType);
@@ -224,7 +224,7 @@ GameConfig::GameConfig()
cb = new TQCheckBox(i18n("\"Magic\" reveal"), this, "kcfg_MagicReveal");
TQWhatsThis::add(cb, i18n("Set flags and reveal squares where they are trivial."));
- connect(cb, TQT_SIGNAL(toggled(bool)), TQT_SLOT(magicModified(bool)));
+ connect(cb, TQ_SIGNAL(toggled(bool)), TQ_SLOT(magicModified(bool)));
top->addWidget(cb);
top->addSpacing(2 * KDialog::spacingHint());