summaryrefslogtreecommitdiffstats
path: root/lilo-config/qt/InputBox.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:17:29 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:17:29 -0600
commit38a31bafc0c0c68b4cb7c0606bac55bbef7c8b69 (patch)
tree8abdf61ff3720b7056a0cf1bc3bbbcf334252c31 /lilo-config/qt/InputBox.cpp
parent6b7a8ff33a6383be4a9dea3c4225d142aab79b78 (diff)
downloadtdeadmin-38a31bafc0c0c68b4cb7c0606bac55bbef7c8b69.tar.gz
tdeadmin-38a31bafc0c0c68b4cb7c0606bac55bbef7c8b69.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'lilo-config/qt/InputBox.cpp')
-rw-r--r--lilo-config/qt/InputBox.cpp12
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()));
}