diff options
Diffstat (limited to 'lilo-config/qt/Details.cpp')
-rw-r--r-- | lilo-config/qt/Details.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lilo-config/qt/Details.cpp b/lilo-config/qt/Details.cpp index 5abce8a..944ba0d 100644 --- a/lilo-config/qt/Details.cpp +++ b/lilo-config/qt/Details.cpp @@ -36,9 +36,9 @@ Details::Details(liloimage *lilo, TQWidget *parent, const char *name, WFlags f): { l=lilo; - TQVBoxLayout *tqlayout=new TQVBoxLayout(this); - tqlayout->setMargin(SPACE_MARGIN); - tqlayout->setSpacing(SPACE_INSIDE); + TQVBoxLayout *layout=new TQVBoxLayout(this); + layout->setMargin(SPACE_MARGIN); + layout->setSpacing(SPACE_INSIDE); TQHBox *vgab=new TQHBox(this); TQLabel *vlbl=new TQLabel(_("&Graphics mode on text console:"), vgab); @@ -71,15 +71,15 @@ Details::Details(liloimage *lilo, TQWidget *parent, const char *name, WFlags f): vga->insertItem(_("VGA 1280x1024, 32767 colors (793)")); vga->insertItem(_("VGA 1280x1024, 65536 colors (794)")); vga->insertItem(_("VGA 1280x1024, 16.7M colors (795)")); - tqlayout->addWidget(vgab); + layout->addWidget(vgab); readonly=new TQCheckBox(_("Mount root filesystem &read-only"), this); TQWhatsThis::add(readonly, _("Mount the root filesystem for this kernel read-only. Since the init scripts normally take care of remounting the root filesystem in read-write mode after running some checks, this should always be turned on.<br>Don't turn this off unless you know what you're doing.")); - tqlayout->addWidget(readonly); + layout->addWidget(readonly); unsafe=new TQCheckBox(_("Do not check &partition table"), this); TQWhatsThis::add(unsafe, _("This turns off some sanity checks while writing the configuration. This shouldn't be used under \"normal\" circumstances, but it's useful, for example, for installing the possibility to boot from a floppy disk without having a floppy in the drive every time you run lilo.<br>This sets the <i>unsafe</i> keyword in lilo.conf.")); - tqlayout->addWidget(unsafe); + layout->addWidget(unsafe); TQHBox *opts=new TQHBox(this); lock=new TQCheckBox(_("&Record boot command lines for defaults"), opts); @@ -87,7 +87,7 @@ Details::Details(liloimage *lilo, TQWidget *parent, const char *name, WFlags f): restricted=new TQCheckBox(_("R&estrict parameters"), opts); connect(restricted, TQT_SIGNAL(clicked()), TQT_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.")); - tqlayout->addWidget(opts); + layout->addWidget(opts); TQHBox *pw=new TQHBox(this); use_password=new TQCheckBox(_("Require &password:"), pw); @@ -96,12 +96,12 @@ Details::Details(liloimage *lilo, TQWidget *parent, const char *name, WFlags f): password->setMaxLength(15); password->setEchoMode(TQLineEdit::Password); TQWhatsThis::add(pw, _("Enter the password required for bootup (if any) here. If <i>restricted</i> above is checked, the password is required for additional parameters only.<br><b>WARNING:</b> The password is stored in clear text in /etc/lilo.conf. You'll want to make sure nobody untrusted can read this file. Also, you probably don't want to use your normal/root password here.")); - tqlayout->addWidget(pw); + layout->addWidget(pw); TQHBox *btns=new TQHBox(this); ok=new TQPushButton(_("&OK"), btns); cancel=new TQPushButton(_("&Cancel"), btns); - tqlayout->addWidget(btns); + layout->addWidget(btns); connect(cancel, TQT_SIGNAL(clicked()), TQT_SLOT(reject())); connect(ok, TQT_SIGNAL(clicked()), TQT_SLOT(accept())); |