diff options
Diffstat (limited to 'lilo-config/qt')
-rw-r--r-- | lilo-config/qt/Details.cpp | 8 | ||||
-rw-r--r-- | lilo-config/qt/InputBox.cpp | 4 | ||||
-rw-r--r-- | lilo-config/qt/standalone.cpp | 18 |
3 files changed, 15 insertions, 15 deletions
diff --git a/lilo-config/qt/Details.cpp b/lilo-config/qt/Details.cpp index 944ba0d..5bebba9 100644 --- a/lilo-config/qt/Details.cpp +++ b/lilo-config/qt/Details.cpp @@ -85,13 +85,13 @@ Details::Details(liloimage *lilo, TQWidget *parent, const char *name, WFlags f): lock=new TQCheckBox(_("&Record boot command lines for defaults"), opts); TQWhatsThis::add(lock, "<qt>"+_("Checking this box enables automatic recording of boot command lines as the default for the following bootups. This way, lilo \"locks\" on a choice until it is manually overridden.<br>This sets the <b>lock</b> option in lilo.conf")); restricted=new TQCheckBox(_("R&estrict parameters"), opts); - connect(restricted, TQT_SIGNAL(clicked()), TQT_SLOT(check_pw())); + connect(restricted, TQ_SIGNAL(clicked()), TQ_SLOT(check_pw())); TQWhatsThis::add(restricted, _("If this box is checked, a password (entered below) is required only if any parameters are changed (i.e. the user can boot <i>linux</i>, but not <i>linux single</i> or <i>linux init=/bin/sh</i>).\nThis sets the <b>restricted</b> option in lilo.conf.")); layout->addWidget(opts); TQHBox *pw=new TQHBox(this); use_password=new TQCheckBox(_("Require &password:"), pw); - connect(use_password, TQT_SIGNAL(clicked()), TQT_SLOT(check_pw())); + connect(use_password, TQ_SIGNAL(clicked()), TQ_SLOT(check_pw())); password=new TQLineEdit(pw); password->setMaxLength(15); password->setEchoMode(TQLineEdit::Password); @@ -102,8 +102,8 @@ Details::Details(liloimage *lilo, TQWidget *parent, const char *name, WFlags f): ok=new TQPushButton(_("&OK"), btns); cancel=new TQPushButton(_("&Cancel"), btns); layout->addWidget(btns); - connect(cancel, TQT_SIGNAL(clicked()), TQT_SLOT(reject())); - connect(ok, TQT_SIGNAL(clicked()), TQT_SLOT(accept())); + connect(cancel, TQ_SIGNAL(clicked()), TQ_SLOT(reject())); + connect(ok, TQ_SIGNAL(clicked()), TQ_SLOT(accept())); if(l) { TQString mode=l->get("vga", "").cstr(); diff --git a/lilo-config/qt/InputBox.cpp b/lilo-config/qt/InputBox.cpp index 9836a91..9c40569 100644 --- a/lilo-config/qt/InputBox.cpp +++ b/lilo-config/qt/InputBox.cpp @@ -47,10 +47,10 @@ InputBox::InputBox(entries e, TQWidget *parent, const char *name, bool hasCancel ok=new TQPushButton(_("&OK"), btns); cancel=new TQPushButton(_("&Cancel"), btns); layout->addWidget(btns); - connect(cancel, TQT_SIGNAL(clicked()), TQT_SLOT(reject())); + connect(cancel, TQ_SIGNAL(clicked()), TQ_SLOT(reject())); } else { ok=new TQPushButton(_("&OK"), this); layout->addWidget(ok); } - connect(ok, TQT_SIGNAL(clicked()), TQT_SLOT(accept())); + connect(ok, TQ_SIGNAL(clicked()), TQ_SLOT(accept())); } 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 <i>What's This?</i> 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 <i>What's This</i> 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; |