diff options
Diffstat (limited to 'atlantikdesigner/designer/boardinfo.cpp')
-rw-r--r-- | atlantikdesigner/designer/boardinfo.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/atlantikdesigner/designer/boardinfo.cpp b/atlantikdesigner/designer/boardinfo.cpp index 77b00a8..56b561a 100644 --- a/atlantikdesigner/designer/boardinfo.cpp +++ b/atlantikdesigner/designer/boardinfo.cpp @@ -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(); } |