From ed7858de3a395180d6ec0c03d8358610b36938ea Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 11 Jan 2024 10:40:32 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- lilo-config/qt/standalone.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'lilo-config/qt/standalone.cpp') diff --git a/lilo-config/qt/standalone.cpp b/lilo-config/qt/standalone.cpp index 4dc73e2..d6bca94 100644 --- a/lilo-config/qt/standalone.cpp +++ b/lilo-config/qt/standalone.cpp @@ -36,31 +36,31 @@ Standalone::Standalone(TQWidget *parent, const char *name):TQWidget(parent,name) { m=new MainWidget(this); - connect(m, TQT_SIGNAL(configChanged()), TQT_SLOT(configChanged())); + connect(m, TQ_SIGNAL(configChanged()), TQ_SLOT(configChanged())); actions=new TQHButtonGroup(this); _whatsthis=new TQPushButton(_("&What's This?"), actions); _whatsthis->setAccel(SHIFT+Key_F1); TQWhatsThis::add(_whatsthis, _("The What's This? button is part of this program's help system. Click on the What's This? button then on any widget in the window to get information (like this) on it.")); - connect(_whatsthis, TQT_SIGNAL(clicked()), TQT_SLOT(whatsthis())); + connect(_whatsthis, TQ_SIGNAL(clicked()), TQ_SLOT(whatsthis())); _help=new TQPushButton(_("&Help"), actions); _help->setAccel(Key_F1); TQWhatsThis::add(_help, _("This button calls up the program's online help system. If it does nothing, no help file has been written (yet); in that case, use the What's This button on the left.")); - connect(_help, TQT_SIGNAL(clicked()), this, TQT_SLOT(help())); + connect(_help, TQ_SIGNAL(clicked()), this, TQ_SLOT(help())); _deflt=new TQPushButton(_("&Default"), actions); TQWhatsThis::add(_deflt, _("This button resets all parameters to some (hopefully sane) default values.")); - connect(_deflt, TQT_SIGNAL(clicked()), this, TQT_SLOT(defaults())); + connect(_deflt, TQ_SIGNAL(clicked()), this, TQ_SLOT(defaults())); _reset=new TQPushButton(_("&Reset"), actions); TQWhatsThis::add(_reset, _("This button resets all parameters to what they were before you started the program.")); - connect(_reset, TQT_SIGNAL(clicked()), this, TQT_SLOT(reset())); + connect(_reset, TQ_SIGNAL(clicked()), this, TQ_SLOT(reset())); _apply=new TQPushButton(_("&Apply"), actions); TQWhatsThis::add(_apply, _("This button saves all your changes without exiting.")); - connect(_apply, TQT_SIGNAL(clicked()), this, TQT_SLOT(apply())); + connect(_apply, TQ_SIGNAL(clicked()), this, TQ_SLOT(apply())); _ok=new TQPushButton(_("&OK"), actions); TQWhatsThis::add(_ok, _("This button saves all your changes and exits the program.")); - connect(_ok, TQT_SIGNAL(clicked()), this, TQT_SLOT(ok())); + connect(_ok, TQ_SIGNAL(clicked()), this, TQ_SLOT(ok())); _cancel=new TQPushButton(_("&Cancel"), actions); TQWhatsThis::add(_cancel, _("This button exits the program without saving your changes.")); - connect(_cancel, TQT_SIGNAL(clicked()), this, TQT_SLOT(cancel())); + connect(_cancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(cancel())); _apply->setEnabled(false); setMinimumWidth(actions->sizeHint().width()+10); arrangeWidgets(); @@ -118,7 +118,7 @@ int main(int argc, char **argv) { int ret; a.setStyle(new TQWindowsStyle()); a.setMainWidget(s); - TQObject::connect(s, TQT_SIGNAL(done()), &a, TQT_SLOT(quit())); + TQObject::connect(s, TQ_SIGNAL(done()), &a, TQ_SLOT(quit())); s->show(); ret=a.exec(); delete s; -- cgit v1.2.3