diff options
Diffstat (limited to 'atlantikdesigner/designer/boardinfo.cpp')
-rw-r--r-- | atlantikdesigner/designer/boardinfo.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/atlantikdesigner/designer/boardinfo.cpp b/atlantikdesigner/designer/boardinfo.cpp index f7d2e48..77b00a8 100644 --- a/atlantikdesigner/designer/boardinfo.cpp +++ b/atlantikdesigner/designer/boardinfo.cpp @@ -1,5 +1,5 @@ #include <tqstring.h> -#include <layout.h> +#include <tqlayout.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; - layout = new TQVBoxLayout(this, KDialogBase::spacingHint()); - TQHBoxLayout *hlayout = new TQHBoxLayout(layout, KDialogBase::spacingHint()); + tqlayout = new TQVBoxLayout(this, KDialogBase::spacingHint()); + TQHBoxLayout *htqlayout = new TQHBoxLayout(tqlayout, KDialogBase::spacingHint()); if (editable) { KPushButton *more = new KPushButton(i18n("&Add Name"), this); - hlayout->addWidget(more); + htqlayout->addWidget(more); connect(more, TQT_SIGNAL(clicked()), this, TQT_SLOT(more())); - hlayout->addStretch(); + htqlayout->addStretch(); KPushButton *less= new KPushButton(i18n("&Delete Name"), this); - hlayout->addWidget(less); + htqlayout->addWidget(less); connect(less, TQT_SIGNAL(clicked()), this, TQT_SLOT(less())); } - layout->addStretch(); + tqlayout->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); - layout->addWidget(edit); + tqlayout->addWidget(edit); list.append(edit); edit->show(); } |