summaryrefslogtreecommitdiffstats
path: root/libksirtet/base/field.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 12:28:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-19 10:10:52 +0900
commit6374e2e62eef25945347ce2c9ae9f88e61765d11 (patch)
tree707d84dbca20d20dee68626dda0d35568d7dcb34 /libksirtet/base/field.cpp
parentc26a225408c4759743b754453b07d0dca97aa749 (diff)
downloadtdegames-6374e2e62eef25945347ce2c9ae9f88e61765d11.tar.gz
tdegames-6374e2e62eef25945347ce2c9ae9f88e61765d11.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610)
Diffstat (limited to 'libksirtet/base/field.cpp')
-rw-r--r--libksirtet/base/field.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libksirtet/base/field.cpp b/libksirtet/base/field.cpp
index f443c96c..e750b67f 100644
--- a/libksirtet/base/field.cpp
+++ b/libksirtet/base/field.cpp
@@ -90,9 +90,9 @@ void BaseField::setMessage(const TQString &label, ButtonType type)
if ( type!=NoButton ) {
_button = new TQPushButton(i18n(BUTTON_TEXTS[type]), board);
_button->setFocus();
- const char *slot = (type==ResumeButton ? TQT_SLOT(pause())
- : TQT_SLOT(start()));
- _button->connect(_button, TQT_SIGNAL(clicked()),
+ const char *slot = (type==ResumeButton ? TQ_SLOT(pause())
+ : TQ_SLOT(start()));
+ _button->connect(_button, TQ_SIGNAL(clicked()),
_widget->parent(), slot);
_boardLayout->addWidget(_button, 0, TQt::AlignCenter);
_button->show();