summaryrefslogtreecommitdiffstats
path: root/atlantikdesigner/designer/boardinfo.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:45:00 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:45:00 -0600
commitca82971624269719d487c6f7980d7237f9420036 (patch)
treecac461d765c50b2709a9ef6324940e70fe056ba2 /atlantikdesigner/designer/boardinfo.cpp
parent0e4ea21f450acbb4ea3c5a1293341668494d7dd4 (diff)
downloadtdeaddons-ca82971624269719d487c6f7980d7237f9420036.tar.gz
tdeaddons-ca82971624269719d487c6f7980d7237f9420036.zip
Rename a number of old tq methods that are no longer tq specific
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();
}