diff options
Diffstat (limited to 'lilo-config/qt/InputBox.cpp')
-rw-r--r-- | lilo-config/qt/InputBox.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lilo-config/qt/InputBox.cpp b/lilo-config/qt/InputBox.cpp index 231334f..ca1c557 100644 --- a/lilo-config/qt/InputBox.cpp +++ b/lilo-config/qt/InputBox.cpp @@ -26,31 +26,31 @@ */ #include "InputBox.moc" -#include <layout.h> +#include <tqlayout.h> #include <tqhbox.h> #include <tqwhatsthis.h> #include <ui.h> InputBox::InputBox(entries e, TQWidget *parent, const char *name, bool hasCancel, WFlags f):TQDialog(parent, name, true, f) { - TQVBoxLayout *layout=new TQVBoxLayout(this); - layout->setMargin(SPACE_MARGIN); - layout->setSpacing(SPACE_INSIDE); + TQVBoxLayout *tqlayout=new TQVBoxLayout(this); + tqlayout->setMargin(SPACE_MARGIN); + tqlayout->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); - layout->addWidget(ed); + tqlayout->addWidget(ed); edit.insert(edit.end(), ed); } if(hasCancel) { TQHBox *btns=new TQHBox(this); ok=new TQPushButton(_("&OK"), btns); cancel=new TQPushButton(_("&Cancel"), btns); - layout->addWidget(btns); + tqlayout->addWidget(btns); connect(cancel, TQT_SIGNAL(clicked()), TQT_SLOT(reject())); } else { ok=new TQPushButton(_("&OK"), this); - layout->addWidget(ok); + tqlayout->addWidget(ok); } connect(ok, TQT_SIGNAL(clicked()), TQT_SLOT(accept())); } |