diff options
Diffstat (limited to 'lilo-config/qt/InputBox.cpp')
| -rw-r--r-- | lilo-config/qt/InputBox.cpp | 24 | 
1 files changed, 12 insertions, 12 deletions
diff --git a/lilo-config/qt/InputBox.cpp b/lilo-config/qt/InputBox.cpp index f95989b..9836a91 100644 --- a/lilo-config/qt/InputBox.cpp +++ b/lilo-config/qt/InputBox.cpp @@ -26,31 +26,31 @@  */  #include "InputBox.moc" -#include <qlayout.h> -#include <qhbox.h> -#include <qwhatsthis.h> +#include <tqlayout.h> +#include <tqhbox.h> +#include <tqwhatsthis.h>  #include <ui.h> -InputBox::InputBox(entries e, QWidget *parent, const char *name, bool hasCancel, WFlags f):QDialog(parent, name, true, f) +InputBox::InputBox(entries e, TQWidget *parent, const char *name, bool hasCancel, WFlags f):TQDialog(parent, name, true, f)  { -	QVBoxLayout *layout=new QVBoxLayout(this); +	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); -		QWhatsThis::add(ed, (*it).help); +		TQWhatsThis::add(ed, (*it).help);  		layout->addWidget(ed);  		edit.insert(edit.end(), ed);  	}  	if(hasCancel) { -		QHBox *btns=new QHBox(this); -		ok=new QPushButton(_("&OK"), btns); -		cancel=new QPushButton(_("&Cancel"), btns); +		TQHBox *btns=new TQHBox(this); +		ok=new TQPushButton(_("&OK"), btns); +		cancel=new TQPushButton(_("&Cancel"), btns);  		layout->addWidget(btns); -		connect(cancel, SIGNAL(clicked()), SLOT(reject())); +		connect(cancel, TQT_SIGNAL(clicked()), TQT_SLOT(reject()));  	} else { -		ok=new QPushButton(_("&OK"), this); +		ok=new TQPushButton(_("&OK"), this);  		layout->addWidget(ok);  	} -	connect(ok, SIGNAL(clicked()), SLOT(accept())); +	connect(ok, TQT_SIGNAL(clicked()), TQT_SLOT(accept()));  }  | 
