summaryrefslogtreecommitdiffstats
path: root/atlantikdesigner/designer/boardinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'atlantikdesigner/designer/boardinfo.cpp')
-rw-r--r--atlantikdesigner/designer/boardinfo.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/atlantikdesigner/designer/boardinfo.cpp b/atlantikdesigner/designer/boardinfo.cpp
index 77b00a8..f7d2e48 100644
--- a/atlantikdesigner/designer/boardinfo.cpp
+++ b/atlantikdesigner/designer/boardinfo.cpp
@@ -1,5 +1,5 @@
#include <tqstring.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqstringlist.h>
#include <tqframe.h>
#include <tqptrlist.h>
@@ -115,21 +115,21 @@ LotsaEdits::LotsaEdits(bool editable, TQStringList defaults, TQWidget *parent, c
list.setAutoDelete(true);
this->editable = editable;
- tqlayout = new TQVBoxLayout(this, KDialogBase::spacingHint());
- TQHBoxLayout *htqlayout = new TQHBoxLayout(tqlayout, KDialogBase::spacingHint());
+ layout = new TQVBoxLayout(this, KDialogBase::spacingHint());
+ TQHBoxLayout *hlayout = new TQHBoxLayout(layout, KDialogBase::spacingHint());
if (editable)
{
KPushButton *more = new KPushButton(i18n("&Add Name"), this);
- htqlayout->addWidget(more);
+ hlayout->addWidget(more);
connect(more, TQT_SIGNAL(clicked()), this, TQT_SLOT(more()));
- htqlayout->addStretch();
+ hlayout->addStretch();
KPushButton *less= new KPushButton(i18n("&Delete Name"), this);
- htqlayout->addWidget(less);
+ hlayout->addWidget(less);
connect(less, TQT_SIGNAL(clicked()), this, TQT_SLOT(less()));
}
- tqlayout->addStretch();
+ layout->addStretch();
for (TQStringList::Iterator it = defaults.begin(); it != defaults.end(); ++it)
{
@@ -148,7 +148,7 @@ void LotsaEdits::more()
edit = new KLineEdit(this);
else
edit = new TQLabel(this);
- tqlayout->addWidget(edit);
+ layout->addWidget(edit);
list.append(edit);
edit->show();
}