diff options
Diffstat (limited to 'lilo-config/qt/InputBox.cpp')
-rw-r--r-- | lilo-config/qt/InputBox.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lilo-config/qt/InputBox.cpp b/lilo-config/qt/InputBox.cpp index ca1c557..9836a91 100644 --- a/lilo-config/qt/InputBox.cpp +++ b/lilo-config/qt/InputBox.cpp @@ -33,24 +33,24 @@ InputBox::InputBox(entries e, TQWidget *parent, const char *name, bool hasCancel, WFlags f):TQDialog(parent, name, true, f) { - 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); for(entries::iterator it=e.begin(); it!=e.end(); it++) { EditWidget *ed=new EditWidget((*it).label, (*it).dflt, (*it).isFile, this); TQWhatsThis::add(ed, (*it).help); - tqlayout->addWidget(ed); + layout->addWidget(ed); edit.insert(edit.end(), ed); } if(hasCancel) { 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())); } else { ok=new TQPushButton(_("&OK"), this); - tqlayout->addWidget(ok); + layout->addWidget(ok); } connect(ok, TQT_SIGNAL(clicked()), TQT_SLOT(accept())); } |