diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-11 10:40:32 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-12 18:41:24 +0900 |
commit | 7ad2f154f24ac01a33118779950bcdfe0d16ca94 (patch) | |
tree | b9925df5e2fc01026c3ef866224704086ab32da5 /lilo-config/qt/Details.cpp | |
parent | 6360698f4f1660c36e1874dc496fb057f28e7b86 (diff) | |
download | tdeadmin-7ad2f154f24ac01a33118779950bcdfe0d16ca94.tar.gz tdeadmin-7ad2f154f24ac01a33118779950bcdfe0d16ca94.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ed7858de3a395180d6ec0c03d8358610b36938ea)
Diffstat (limited to 'lilo-config/qt/Details.cpp')
-rw-r--r-- | lilo-config/qt/Details.cpp | 8 |
1 files changed, 4 insertions, 4 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(); |