diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:25:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:25:18 +0000 |
commit | aa3a1ca934bc541bddd3fa136a85f106f7da266e (patch) | |
tree | 9ad0b795aed8fa4ac30c2fe0fd1aacb8175714c0 /lilo-config/qt/InputBox.cpp | |
parent | b10cf7066791a2f362495890cd50c984e8025412 (diff) | |
download | tdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.tar.gz tdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1157635 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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())); } |